Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Dell XPS 13 laptop-mode.conf
- # (EXPERIMENTAL)
- ENABLE_LAPTOP_MODE_TOOLS=1
- VERBOSE_OUTPUT=0
- LOG_TO_SYSLOG=1
- DEBUG=0
- # Enable laptop mode when on battery power.
- ENABLE_LAPTOP_MODE_ON_BATTERY=1
- # Enable laptop mode when on AC power.
- ENABLE_LAPTOP_MODE_ON_AC=0
- # Enable laptop mode when the laptop's lid is closed, even when we're on AC
- # power? (ACPI-ONLY)
- ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0
- # Enable all simple zero-configuration auto modules
- ENABLE_AUTO_MODULES=1
- # Disable all data loss sensitive features when the battery level (in % of the
- # battery capacity) reaches this value.
- MINIMUM_BATTERY_CHARGE_PERCENT=3
- # Disable data loss sensitive features when the battery reports its state
- # as "critical".
- DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1
- ###
- # Hard-disk
- #
- # Should laptop mode tools control readahead?
- CONTROL_READAHEAD=0
- # Should laptop mode tools add the "noatime" option to the mount options when
- # laptop mode is enabled?
- CONTROL_NOATIME=0
- # Should laptop use relatime instead of noatime? The "relatime" mount option has
- # more standards-compliant semantics, and allows more applications to work,
- # while retaining a low level of atime updates (i.e., disk writes).
- USE_RELATIME=1
- # Should laptop mode tools control the hard drive idle timeout settings?
- CONTROL_HD_IDLE_TIMEOUT=0
- # Should laptop mode tools control the hard drive power management settings?
- # Set to 0 to disable
- CONTROL_HD_POWERMGMT=0
- # Should laptop mode tools control the hard drive write cache settings?
- CONTROL_HD_WRITECACHE=0
- ###
- # Advanced
- #
- # Change mount options on partitions in PARTITIONS? You don't really want to
- # disable this. If you do, then your hard drives will probably not spin down
- # anymore.
- CONTROL_MOUNT_OPTIONS=0
- # Dirty synchronous ratio. At this percentage of dirty pages the process
- # which calls write() does its own writeback.
- LM_DIRTY_RATIO=60
- NOLM_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.
- LM_DIRTY_BACKGROUND_RATIO=1
- NOLM_DIRTY_BACKGROUND_RATIO=10
- # kernel default settings -- don't touch these unless you know what you're
- # doing.
- DEF_UPDATE=5
- DEF_XFS_AGE_BUFFER=15
- DEF_XFS_SYNC_INTERVAL=30
- DEF_XFS_BUFD_INTERVAL=1
- DEF_MAX_AGE=30
- # 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
- # Seconds laptop mode has to to wait after the disk goes idle before doing
- # a sync.
- LM_SECONDS_BEFORE_SYNC=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement