출처 : http://www.cyrius.com/debian/nslu2/linux-on-flash.html
centiseconds는 1/100
- /proc/sys/vm/laptop_mode: How many seconds after a read should a writeout of changed files start (this is based on the assumption that a read will cause an otherwise spun down disk to spin up again).
- /proc/sys/vm/dirty_writeback_centisecs: How often the kernel should check if there is "dirty" (changed) data to write out to disk (in centiseconds).
- /proc/sys/vm/dirty_expire_centisecs: How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is in general a good idea to set this to the same value as dirty_writeback_centisecs above.
- /proc/sys/vm/dirty_ratio: The maximum amount of memory (in percent) to be used to store dirty data before the process that generates the data will be forced to write it out. Setting this to a high value should not be a problem as writeouts will also occur if the system is low on memory.
- /proc/sys/vm/dirty_background_ratio: The lower amount of memory (in percent) where a writeout of dirty data to disk is allowed to stop. This should be quite a bit lower than the above dirty_ratio to allow the kernel to write out chunks of dirty data in one go.
'c or linux' 카테고리의 다른 글
wireshark를 ubuntu에 사용하기 (0) | 2011.10.21 |
---|---|
openssl 통신 (0) | 2011.10.21 |
Apache 2.2.21 패치 (mod_proxy_ajp 패치와 apache killer 보완) (9월 13일) (0) | 2011.09.16 |
내가 사용하는 리눅스의 네트웍(네트워크) 카드가 zero copy를 지원하는지 확인 (1) | 2011.09.09 |
OSCON 2011, Jim Zemlin, "2011: The Bizarro World of Computing" (0) | 2011.07.29 |