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 
<[email protected]> 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 -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]/message/BQ4ZS245WZDDEUJTFYTJUFMOPL7ECCDQ/
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/7YKPGJQTDGNQD6QZ7MKHQXM7AY77ZZOP/

Reply via email to