queue.cfg file
You can use the queue.cfg file to set a permanent value for the maximum number of concurrent queue jobs. (If you use qcontrol to set the maximum number of jobs, the setting is only for the current session.)
The default for the number of compiling programs is two. It is suggested that you initially set the number of compiling programs to no more than two compile programs per processor. File contention is reduced by setting the number as low as possible. (One per processor generally gives you a good balance between compile performance and performance for other applications.) You can try setting the number of compiling programs at a higher number for a higher compile throughput, but if your system experiences performances issues then you should revise the number downwards.
Use the following steps to set the maximum number of concurrent jobs for the Compile Queue Server.
To set the maximum number of concurrent compile jobs for the Compile Queue Server in queue.cfg
-
With a text editor, open the %LAWDIR%\system\queue.cfg file. If the file does not exist, create it in %LAWDIR%\system.
-
Add the following line:
local nn
where nn is the maximum number of concurrent compile jobs for the Compile Queue Server.
-
Save and close the file.
-
Stop and start the compile queue. At the Qshell command line, specify this information:
stopqueue
queue