Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 34630 Details for
Bug 45593
laptop mode init script for Gentoo Linux
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
laptop-mode.conf
laptop-mode.conf (text/plain), 1.38 KB, created by
Dennis Nienhüser (RETIRED)
on 2004-07-02 05:54:13 UTC
(
hide
)
Description:
laptop-mode.conf
Filename:
MIME Type:
Creator:
Dennis Nienhüser (RETIRED)
Created:
2004-07-02 05:54:13 UTC
Size:
1.38 KB
patch
obsolete
># /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 > ># And shall we add the "noatime" option to that as well? (1=yes) >DO_REMOUNT_NOATIME=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 >DEF_XFS_BUFD_INTERVAL=1 > ># This must be adjusted manually to the value of HZ in the running kernel ># on 2.4, until the XFS people change their 2.4 external interfaces to work in ># centisecs. This can be automated, but it's a work in progress that still needs ># some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for external ># interfaces, and that is currently always set to 100. So you don't need to ># change this on 2.6. >XFS_HZ=100
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45593
:
27911
|
27912
|
32076
|
32077
|
32078
|
34630
|
34631
|
39036
|
39037
|
39477
|
41295
|
41296
|
48913
|
51525
|
51527