* recommanded cache setting for rbd image
@ 2012-11-05 14:53 Stefan Priebe - Profihost AG
2012-11-05 23:57 ` Josh Durgin
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Priebe - Profihost AG @ 2012-11-05 14:53 UTC (permalink / raw)
To: ceph-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: recommanded cache setting for rbd image
2012-11-05 14:53 recommanded cache setting for rbd image Stefan Priebe - Profihost AG
@ 2012-11-05 23:57 ` Josh Durgin
2012-11-06 7:34 ` Stefan Priebe - Profihost AG
0 siblings, 1 reply; 3+ messages in thread
From: Josh Durgin @ 2012-11-05 23:57 UTC (permalink / raw)
To: Stefan Priebe - Profihost AG; +Cc: ceph-devel
On 11/05/2012 06:53 AM, Stefan Priebe - Profihost AG wrote:
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: recommanded cache setting for rbd image
2012-11-05 23:57 ` Josh Durgin
@ 2012-11-06 7:34 ` Stefan Priebe - Profihost AG
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Priebe - Profihost AG @ 2012-11-06 7:34 UTC (permalink / raw)
To: Josh Durgin; +Cc: ceph-devel
Am 06.11.2012 00:57, schrieb Josh Durgin:
> On 11/05/2012 06:53 AM, Stefan Priebe - Profihost AG wrote:
>> 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.
Thanks i'll check how this influence my disks and storage.
Thanks!
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-06 7:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-05 14:53 recommanded cache setting for rbd image Stefan Priebe - Profihost AG
2012-11-05 23:57 ` Josh Durgin
2012-11-06 7:34 ` Stefan Priebe - Profihost AG
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.