# /etc/conf.d/laptop_mode # $Header: # Disc standby (see hdparm -S) # 2 = 10 seconds, 4 = 20 seconds, 6 = 30 seconds HD_STANDBY=6 # Shall we remount journaled fs. with appropiate commit interval? (1=yes) DO_REMOUNTS=1 # age time, in seconds MAX_AGE=600 # Dirty synchronous ratio. At this percentage of dirty pages the process which # calls write() does its own writeback DIRTY_RATIO=40 # # Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been # exceeded, the kernel will wake pdflush which will then reduce the amount # of dirty memory to dirty_background_ratio. Set this nice and low, so once # some writeout has commenced, we do a lot of it. # DIRTY_BACKGROUND_RATIO=5 READAHEAD=4096 # kilobytes # kernel default dirty buffer age DEF_AGE=30 DEF_UPDATE=5 DEF_DIRTY_BACKGROUND_RATIO=10 DEF_DIRTY_RATIO=40 DEF_XFS_AGE_BUFFER=15 DEF_XFS_SYNC_INTERVAL=30 # This must be adjusted manually to the value of HZ in the running kernel, # until the XFS people change their external interfaces to work in centisecs # like the rest of the external world. Unfortunately this cannot be automated. :( XFS_HZ=1000