
How to Improve Performance 5-19
How Is Tuning Done?
How Is Tuning Done?
If the cached-read percentage is lower than 95 percent, you might be able to
improve performance by lowering the values of LRU_MAX_DIRTY and
LRU_MIN_DIRTY to increase the number of free and/or unmodified pages
that are available in the shared-memory LRU queues.
If the cached-writepercentageis lowerthan 82percent, you might be able to
improve performance by increasing the LRU_MAX_DIRTY and
LRU_MIN_DIRTY values. This increases the number of modified buffers that
are able to accumulate in the MLRU queue and increases the likelihood that
pages will be reused before they are written to disk.
To change the value of either of these parameters, edit the configuration file
using an operating system editor.
The optimal value of CLEANERS depends on your specific hardware config-
uration. The maximum value of CLEANERS is 32. The minimum value is 0.
When CLEANERS is set to 0, thetbinit daemon assumesall responsibility for
page cleaning.
Youmightwanttoconfigureapagecleanerforeachseparatephysicaldevice.
However, if more than one disk shares a controller channel, you might find
that more than threepage cleaners percontrolleroverburdens the controller.
In most cases, the additional cleaners do not improve performance unless
you separate successive chunks from a blobspace or dbspace on the disk.
Ideally, you should try to assign successive chunks to separate disk devices.
(Referto page 1-43 formoredetails about disklayout. Refer topage 3-115 for
more details about how to change the number of page cleaners.)
The default value of LRUS is the larger of USERS/2 or 8, where USERS is the
specified configuration file parameter. Theminimum valueof LRUS is3 and
themaximumvalueis8.Theoptimal valueofLRUSdependsonyour specific
hardware configuration. Your best guide for selecting a value for LRUS is to
experiment with differentvalues and monitorthe performance benefits. You
might find thata largervalue increases performance onmachines withmore
thantwo CPUs. Tochange the valueofLRUS, edit theconfigurationfile using
an operating system editor.
Kommentare zu diesen Handbüchern