The cache will not take immediately into effect. It is designed to save your cache disk
and to load only repetitive data.
Try to run your benchmark 20 times and you will notice slight improvement over reading
the same object.
Of course , you can use lvm cache in writethrough mode, but then it is recommended to use
2 cache disks (raid1 or lvm mirroring) .
Best Regards,
Strahil NikolovOn Jun 26, 2019 17:44, Robert Crawford
<robert.crawford4.14.10(a)gmail.com> wrote:
So i created the brick without the cache an add the cache doing the commands below; but
it appers it's not working because I see no improvement in the benchmarks.
pvcreate /dev/md/VMStorageHot
vgextend RHGS_vg_VMStorage /dev/md/VMStorageHot
lvcreate -L 1500G -n lv_cache RHGS_vg_VMStorage /dev/md/VMStorageHot
lvcreate -L 100M -n lv_cache_meta RHGS_vg_VMStorage /dev/md/VMStorageHot
lvconvert --type cache-pool --cachemode writeback --poolmetadata
RHGS_vg_VMStorage/lv_cache_meta RHGS_vg_VMStorage/lv_cache
lvconvert --type cache --cachepool HGS_vg_VMStorage/lv_cache
RHGS_vg_VMStorage/VMStorage_lv_pool
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BQ4ZS245WZD...