| Description |
"flushes" to disk all memory-resident buffers that are tagged as "write-required".
All write-required buffers are periodically flushed to disk in the normal sequence of events, but this command is provided to ensure data integrity at a given moment. In case of an emergency reboot or problems with the system, "flush" is a safety measure.
The flushing algorithm varies between implementations of D3. On D3/Unix implementations, the flush interval is set by the "set-flush" command. Roughly ten percent of the write-required frames are flushed at each activation. On AP/Native and AP/DOS implementations, the flusher awakens when there has been no CPU or disk I/O activity, then proceeds to flush all of memory until the next interrupt occurs (such as someone hitting a key on a keyboard).
|