Why does setting some value to vm.dirty_bytes reset vm.dirty_ratio to 0?

Solution Verified - Updated -

Issue

  • Why does setting some value to vm.dirty_bytes reset vm.dirty_ratio to 0? (or vice versa)
  • Why does setting some value to vm.dirty_background_bytes reset vm.dirty_background_ratio to 0? (or vice versa)
  • Why does setting vm.dirty_ratio and vm.dirty_bytes in sysctl.conf set only one of the values? (same for respective background parameters)
  • Why does setting vm.dirty_background_ratio to 0 after vm.dirty_background_bytes in sysctl.conf reset the value of vm.dirty_background_bytes to 0?

Environment

  • Red Hat Enterprise Linux 7 (and older)
  • sysctl setting for vm.dirty_bytes/ratio
  • sysctl setting for vm.dirty_background_bytes/ratio

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content