recommanded cache setting for rbd image
Hello list,
right now i'm testing rbd block devices with kvm using Default cache (no cache).
Is there any recommanded value for RBD? (i don't wanna loose data)
Stefan
Quoted 6 lines · Stefan Priebe - Profihost AG
Hello list,
right now i'm testing rbd block devices with kvm using Default cache (no cache).
Is there any recommanded value for RBD? (i don't wanna loose data)
It acts like a well-behaved disk cache (i.e. it respects flushes/barriers from the guest), so it's no more likely to cause data loss than a local hard disk in the event of an unexpected shutdown.
I recommend running it in writeback mode (the default when rbd cache = true). The best cache size will depend on your workload and hardware.
Am 06.11.2012 00:57, schrieb Josh Durgin:
Quoted 6 lines · Stefan Priebe - Profihost AG
Quoted 5 lines
Hello list,
right now i'm testing rbd block devices with kvm using Default cache (no cache).
Quoted 8 lines
Quoted 1 line
Is there any recommanded value for RBD? (i don't wanna loose data)
It acts like a well-behaved disk cache (i.e. it respects flushes/barriers from the guest), so it's no more likely to cause data loss than a local hard disk in the event of an unexpected shutdown.
I recommend running it in writeback mode (the default when rbd cache = true). The best cache size will depend on your workload and hardware.
Thanks i'll check how this influence my disks and storage.
Thanks!
Stefan