3.2. Optimizing Virtual Machines On Red Hat Gluster Storage Volumes


The readahead mechanism is essential for guest sequential read performance on virtual machines. The virtual machine-tuned profile provides insufficient readahead. You can optimize the virtual machine performance by changing the multiply_disk_readahead 4 to multiply_disk_readahead 16. If you are running a Red Hat Enterprise Linux host, run the following commands to enable read-ahead.
  1. Install the Tune daemon

    Install the tuned daemon that tunes the system settings dynamically.
    # yum install tuned
    Copy to Clipboard Toggle word wrap
  2. Edit the virtual-guest profile

    Edit the /etc/tune-profiles/virtual-guest/ktune.sh file.
    Identify the line multiply_disk_readahead 4 and replace it with multiply_disk_readahead 16
  3. Apply the virtual-guest profile on the virtual machines

    Activate the updated profile with the command:
    # tuned-adm profile virtual-guest
    Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat