Performance tuning for GFS2 filesystems on hosts with large memory

Solution Verified - Updated -

Issue

  • My cluster has large spikes in I/O activity when it comes to flushing data back to storage.
  • GFS2 journal log flushing causes long pauses and or stalls for my application’s ability to write to filesystem as dirty data is written back to the underlying disk.
  • How can I change the default values for vm.dirty_ratio and vm.dirty_background_ratio in the page cache to smooth out page cache flushing during heavy writing to the filesystem?

Environment

  • Red Hat Enterprise Linux 7 (with the High Availability Add-on)
  • Red Hat Enterprise Linux 8 (with the High Availability Add-on)
  • Red Hat Enterprise Linux 9 (with the High Availability Add-on)

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