Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32077 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]
files/laptop-mode.conf
laptop-mode.conf (text/plain), 1.11 KB, created by
Dennis Nienhüser (RETIRED)
on 2004-05-26 08:41:09 UTC
(
hide
)
Description:
files/laptop-mode.conf
Filename:
MIME Type:
Creator:
Dennis Nienhüser (RETIRED)
Created:
2004-05-26 08:41:09 UTC
Size:
1.11 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 > ># 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
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