Este contenido no está disponible en el idioma seleccionado.
2.2. Optimizing Virtual Machines On Red Hat 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 daemonInstall the tuned daemon that tunes the system settings dynamically.
yum install tuned
# yum install tunedCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Edit the virtual-guest profile provided by the Tune daemon.Edit the
/etc/tune-profiles/virtual-guest/ktune.shIdentify the linemultiply_disk_readahead 4and replace it withmultiply_disk_readahead 16 - Apply the virtual-guest profile on the virtual machinesActivate the updated profile with the command:
tuned-adm profile virtual-guest
# tuned-adm profile virtual-guestCopy to Clipboard Copied! Toggle word wrap Toggle overflow