config flush

config flush


config disk Index Level config options
Syntax config flush {vmname}
Category TCL
Type Menu
Description enters the Update processor to show the flush parameters.
The flusher is a background process ("daemon") which is in charge of copying modified memory back to disk. This process is normally sleeping, until either the number of pages requiring to be copied back to disk reaches a predetermined level, or after a fixed time.

Activity of the flusher can be monitored by the "buffers" TCL command.

"Flush period (s)"
 This is the period in seconds after which the flush process wakes up to see if any pages in memory needs to be written back to disk. If the system is busy at that time, the flush process goes back to sleep almost immediately, since writing data to disk would load the disk when the application might need to do some useful reads. If the system is quiescent, the flush process starts writing data back to disk until a user process needs the disk again. The lower the flush period, the more often the memory will be copied back to disk. An absolute minimum should be a few seconds and the maximum around 30 to 60 seconds. This number can be changed dynamically by the TCL command "set-flush".

"Size of write queue"
 This number determines the threshold at which the flusher wakes up to copy modified pages back to disk. For most systems, a value of 256 to 512 is suitable. If the memory is really low (less than a few megabytes), this number can be reduced to around 32, which should be a minimum.
Options
See Also flusher config
Example
Warnings Tampering with these parameters may have serious impact on performance. If it is felt that performance are not suitable, and if it appears that the disk channel might be a bottleneck, these arguments should be changed by small numbers, rather than going to extremes, and the effect monitored over a relatively long period.
Compatibility
config disk Index Level config options