All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@inktank.com>
To: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: recommanded cache setting for rbd image
Date: Mon, 05 Nov 2012 15:57:11 -0800	[thread overview]
Message-ID: <50985257.3040304@inktank.com> (raw)
In-Reply-To: <5097D2DD.2000006@profihost.ag>

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.


  reply	other threads:[~2012-11-05 23:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-05 14:53 recommanded cache setting for rbd image Stefan Priebe - Profihost AG
2012-11-05 23:57 ` Josh Durgin [this message]
2012-11-06  7:34   ` Stefan Priebe - Profihost AG

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50985257.3040304@inktank.com \
    --to=josh.durgin@inktank.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=s.priebe@profihost.ag \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.