HPOS 3.5 - Tuning Windows to Improve Stability
4 Technical Note
Tuning Windows Parameters to Improve Stability in HP Output Server 3.5
Deciding the optimal number of WorkerThreads
Once the WorkerThreads are set, the system is tuned and the desired results are achieved.
For example, for the given setup, the following result is achieved:
Registry modifications made
Increased the number of the following threads:
AdditionalDelayedWorkerThreads
AdditionalCriticalWorkerThreads
The problem of errors and job failures is resolved. The use of threads makes submitting jobs easier and helps in
concurrent processing. By tuning WorkerThreads, job failures are reduced and HP Output Server stability
improves.
Deciding the optimal number of WorkerThreads
To decide the optimal number of WorkerThreads, take the following factors into account:
• Determine the number of processors in your system. Allocate one thread per CPU to fully utilize the available
resources.
• Determine whether the HP Output Server client request session or SQL extensions are to be used. Using either of
these extensions involves database access, which can block a thread. Depending on the level of database activity,
increase the number of threads.
• Decide an optimal trade-off between the average response time and the thread switching overhead. Note that if
only one thread per CPU is allocated, requests are processed sequentially. This is the optimal setting for the
minimal overall CPU load because the switching overhead is the least. However, this means that clients are being
queued, so single requests might have to wait for other requests to be completed first.
Conclusion
In general, if jobs fail and the job submissions rate is slow, then tuning the WorkerThread parameters in the
registry helps improve stability.
Table 1-2. Scenario on Windows Operating System after WorkerThreads are introduced
Scenario Configuration Operating
System
Servers Clients Destination Results Errors
6 Hardware:
HP DL560
model
5GB RAM
Four-2.2 GHz
Xeon processors
Windows
2003
Enterprise
Edition
10 DLM
16 JQM
150 DSM
7
(remote)
10000 ps 289 jobs
per
minute,
546139
jobs
delivered,
0 failed
jobs
0 errors