--- linux/Documentation/filesystems/proc.txt Wed Nov 7 23:39:36 2001 +++ Projekte/SupendDisk/proc.txt Thu Jun 20 07:01:57 2002 @@ -962,15 +962,14 @@ Table 2-2: Parameters in /proc/sys/vm/bdflush .............................................................................. Value Meaning - nfract Percentage of buffer cache dirty to activate bdflush + nfract Percentage of buffer cache dirty to activate bdflush ndirty Maximum number of dirty blocks to write out per wake-cycle - nrefill Number of clean buffers to try to obtain each time we call refill - nref_dirt buffer threshold for activating bdflush when trying to refill - buffers. dummy Unused - age_buffer Time for normal buffer to age before we flush it - age_super Time for superblock to age before we flush it dummy Unused + interval jiffies delay between kupdate flushes + age_buffer Time for normal buffer to age before we flush it + nfract_sync Percentage of buffer cache dirty to activate bdflush synchronously + nfract_stop_bdflush Percetange of buffer cache dirty to stop bdflush dummy Unused .............................................................................. @@ -984,6 +983,12 @@ long time, but it also means that it will have to do a lot of I/O at once when memory becomes short. A lower value will spread out disk I/O more evenly. +interval +-------- + +The interval between two kupdate runs. The value is expressed in +jiffies (clockticks), the number of jiffies per second is 100. + ndirty ------ @@ -991,29 +996,18 @@ disk at one time. A high value will mean delayed, bursty I/O, while a small value can lead to memory shortage when bdflush isn't woken up often enough. -nrefill -------- - -This is the number of buffers that bdflush will add to the list of free -buffers when refill_freelist() is called. It is necessary to allocate free -buffers beforehand, since the buffers are often different sizes than the -memory pages and some bookkeeping needs to be done beforehand. The higher the -number, the more memory will be wasted and the less often refill_freelist() -will need to run. +age_buffer +---------- -nref_dirt ---------- - -When refill_freelist() comes across more than nref_dirt dirty buffers, it will -wake up bdflush. +Finally, the age_buffer parameter govern the maximum time Linux +waits before writing out a dirty buffer to disk. The value is expressed in +jiffies (clockticks), the number of jiffies per second is 100. -age_buffer and age_super ------------------------- +nfract_sync +----------- -Finally, the age_buffer and age_super parameters govern the maximum time Linux -waits before writing out a dirty buffer to disk. The value is expressed in -jiffies (clockticks), the number of jiffies per second is 100. Age_buffer is -the maximum age for data blocks, while age_super is for filesystems meta data. +nfract_stop_bdflush +------------------- buffermem ---------