Este contenido no está disponible en el idioma seleccionado.
Chapter 5. Configure performance improvements
Some deployments benefit from additional configuration to achieve optimal performance. This section covers recommended additional configuration for certain deployments.
5.1. Configuring a logical volume cache (lvmcache) for improved performance Copiar enlaceEnlace copiado en el portapapeles!
If your main storage devices are not Solid State Disks (SSDs), Red Hat recommends configuring a logical volume cache (lvmcache) to achieve the required performance for Red Hat Hyperconverged Infrastructure for Virtualization deployments.
Create the gdeploy configuration file
Create a gdeploy configuration file named
lvmcache.confthat contains at least the following information. Note that the ssd value should be the device name, not the device path (for example, use sdb not/dev/sdb).Example lvmcache.conf file
Copy to Clipboard Copied! Toggle word wrap Toggle overflow ImportantEnsure that disks specified as part of this deployment process do not have any partitions or labels.
ImportantThe default cache mode is
writethrough, butwritebackmode is also supported. To avoid the potential for data loss when implementing lvmcache inwritebackmode, two separate SSD/NVMe devices are highly recommended. By configuring the two devices in a RAID-1 configuration (via software or hardware), the potential of data loss from lost writes is reduced significantly.Run gdeploy
Run the following command to apply the configuration specified in
lvmcache.conf.gdeploy -c lvmcache.conf
# gdeploy -c lvmcache.confCopy to Clipboard Copied! Toggle word wrap Toggle overflow
For further information about lvmcache configuration, see Red Hat Enterprise Linux 7 LVM Administration: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Logical_Volume_Manager_Administration/LV.html#lvm_cache_volume_creation.