This adds a new /proc/sys/vm/pagebuf interface which lets you
tune a number of pagebuf parameters at runtime. The format is
as follows:
# cat /proc/sys/vm/pagebuf
100 1500 100 128 2048
The numbers are, in order:
o sleep interval for the delayed write pagebuf thread - writes out
dirty metadata, value in HZ
o age of delayed write metadata buffers before they are written,
value in HZ
o sleep interval for page cleaner thread, value in HZ
o maximum cluster size of I/O for delayed allocation conversions,
value in pages.
o maximum delayed allocate pages allowed before page cleaner thread
woken up.
The default numbers need tuning.
Date: Wed Aug 9 11:10:45 PDT 2000
Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4.0-test5
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs
Modid: 2.4.0-test1-xfs:slinx:71691a
linux/include/linux/sysctl.h - 1.24
linux/include/linux/page_buf.h - 1.57
- Added /proc/sys/vm/pagebuf configuration interface for pagebuf
linux/fs/pagebuf/page_buf.c - 1.19
- Added /proc/sys/vm/pagebuf configuration interface for pagebuf
linux/fs/pagebuf/page_buf_io.c - 1.20
- Added /proc/sys/vm/pagebuf configuration interface for pagebuf
|