Documentation: fix the VM knobs descritpion WRT pdflush
The pdflush thread is long gone, however we still mention it incorrectly in the kernel documentation. This patch fixes the situation. Cc: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
34e5053fbe
commit
6601fac822
2 changed files with 13 additions and 13 deletions
|
@ -262,9 +262,9 @@ MINIMUM_BATTERY_MINUTES=10
|
||||||
|
|
||||||
#
|
#
|
||||||
# Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been
|
# Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been
|
||||||
# exceeded, the kernel will wake pdflush which will then reduce the amount
|
# exceeded, the kernel will wake flusher threads which will then reduce the
|
||||||
# of dirty memory to dirty_background_ratio. Set this nice and low, so once
|
# amount of dirty memory to dirty_background_ratio. Set this nice and low,
|
||||||
# some writeout has commenced, we do a lot of it.
|
# so once some writeout has commenced, we do a lot of it.
|
||||||
#
|
#
|
||||||
#DIRTY_BACKGROUND_RATIO=5
|
#DIRTY_BACKGROUND_RATIO=5
|
||||||
|
|
||||||
|
@ -384,9 +384,9 @@ CPU_MAXFREQ=${CPU_MAXFREQ:-'slowest'}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been
|
# Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been
|
||||||
# exceeded, the kernel will wake pdflush which will then reduce the amount
|
# exceeded, the kernel will wake flusher threads which will then reduce the
|
||||||
# of dirty memory to dirty_background_ratio. Set this nice and low, so once
|
# amount of dirty memory to dirty_background_ratio. Set this nice and low,
|
||||||
# some writeout has commenced, we do a lot of it.
|
# so once some writeout has commenced, we do a lot of it.
|
||||||
#
|
#
|
||||||
DIRTY_BACKGROUND_RATIO=${DIRTY_BACKGROUND_RATIO:-'5'}
|
DIRTY_BACKGROUND_RATIO=${DIRTY_BACKGROUND_RATIO:-'5'}
|
||||||
|
|
||||||
|
|
|
@ -76,8 +76,8 @@ huge pages although processes will also directly compact memory as required.
|
||||||
|
|
||||||
dirty_background_bytes
|
dirty_background_bytes
|
||||||
|
|
||||||
Contains the amount of dirty memory at which the pdflush background writeback
|
Contains the amount of dirty memory at which the background kernel
|
||||||
daemon will start writeback.
|
flusher threads will start writeback.
|
||||||
|
|
||||||
Note: dirty_background_bytes is the counterpart of dirty_background_ratio. Only
|
Note: dirty_background_bytes is the counterpart of dirty_background_ratio. Only
|
||||||
one of them may be specified at a time. When one sysctl is written it is
|
one of them may be specified at a time. When one sysctl is written it is
|
||||||
|
@ -89,7 +89,7 @@ other appears as 0 when read.
|
||||||
dirty_background_ratio
|
dirty_background_ratio
|
||||||
|
|
||||||
Contains, as a percentage of total system memory, the number of pages at which
|
Contains, as a percentage of total system memory, the number of pages at which
|
||||||
the pdflush background writeback daemon will start writing out dirty data.
|
the background kernel flusher threads will start writing out dirty data.
|
||||||
|
|
||||||
==============================================================
|
==============================================================
|
||||||
|
|
||||||
|
@ -112,9 +112,9 @@ retained.
|
||||||
dirty_expire_centisecs
|
dirty_expire_centisecs
|
||||||
|
|
||||||
This tunable is used to define when dirty data is old enough to be eligible
|
This tunable is used to define when dirty data is old enough to be eligible
|
||||||
for writeout by the pdflush daemons. It is expressed in 100'ths of a second.
|
for writeout by the kernel flusher threads. It is expressed in 100'ths
|
||||||
Data which has been dirty in-memory for longer than this interval will be
|
of a second. Data which has been dirty in-memory for longer than this
|
||||||
written out next time a pdflush daemon wakes up.
|
interval will be written out next time a flusher thread wakes up.
|
||||||
|
|
||||||
==============================================================
|
==============================================================
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ data.
|
||||||
|
|
||||||
dirty_writeback_centisecs
|
dirty_writeback_centisecs
|
||||||
|
|
||||||
The pdflush writeback daemons will periodically wake up and write `old' data
|
The kernel flusher threads will periodically wake up and write `old' data
|
||||||
out to disk. This tunable expresses the interval between those wakeups, in
|
out to disk. This tunable expresses the interval between those wakeups, in
|
||||||
100'ths of a second.
|
100'ths of a second.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue