All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
To: Josh Durgin <josh.durgin@inktank.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: recommanded cache setting for rbd image
Date: Tue, 06 Nov 2012 08:34:15 +0100	[thread overview]
Message-ID: <5098BD77.1050202@profihost.ag> (raw)
In-Reply-To: <50985257.3040304@inktank.com>

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

      reply	other threads:[~2012-11-06  7:34 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
2012-11-06  7:34   ` Stefan Priebe - Profihost AG [this message]

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=5098BD77.1050202@profihost.ag \
    --to=s.priebe@profihost.ag \
    --cc=ceph-devel@vger.kernel.org \
    --cc=josh.durgin@inktank.com \
    /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.