[Bug 1407818] Re: pm-utils reset the vm.dirty_ratio and vm.dirty_background_ratio variables

Jean-Philippe Guérard 1407818 at bugs.launchpad.net
Sun Jan 11 17:54:53 UTC 2015


** Description changed:

  On a desktop system, on AC power, pm-utils reset the vm.dirty_ratio and
  vm.dirty_background_ratio at boot time (which also reset the
  vm.dirty_bytes and vm.dirty_background_bytes variables).
  
  When setting these variables using sysctl.conf, they are silently reset
  by the /usr/lib/pm-utils/power.d/laptop-mode script shipped with pm-
  utils.
  
  The only way to give specific values to these variables using sysctl is
  to remove this script.
+ 
+ The default values applied by pm-utils are vm.dirty_background_ratio=5
+ and vm.dirty_ratio=10. On my 64-bits system with 16 GB RAM, this amounts
+ to 1.6 GB for vm.dirty_bytes and 800 MB for vm.dirty_background_bytes
+ (see http://lwn.net/Articles/572911/). These values are not reasonable
+ for my system and pm-utils prevents me to change them.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: pm-utils 1.4.1-13ubuntu0.1 [modified: usr/lib/pm-utils/power.d/laptop-mode]
  ProcVersionSignature: Ubuntu 3.13.0-44.73-generic 3.13.11-ckt12
  Uname: Linux 3.13.0-44-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Mon Jan  5 23:00:09 2015
  PackageArchitecture: all
  SourcePackage: pm-utils
  UpgradeStatus: Upgraded to trusty on 2014-04-21 (259 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1407818

Title:
  pm-utils reset the vm.dirty_ratio and vm.dirty_background_ratio
  variables

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1407818/+subscriptions



More information about the Ubuntu-server-bugs mailing list