このコンテンツは選択した言語では利用できません。
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.
Install the Tune daemon
Install the tuned daemon that tunes the system settings dynamically.yum install tuned
# yum install tuned
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Edit the virtual-guest profile
Edit the/etc/tune-profiles/virtual-guest/ktune.sh
file.Identify the linemultiply_disk_readahead 4
and replace it withmultiply_disk_readahead 16
Apply the virtual-guest profile on the virtual machines
Activate the updated profile with the command:tuned-adm profile virtual-guest
# tuned-adm profile virtual-guest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow