From: Jens Axboe <axboe@kernel.dk>
To: Jens Rosenboom <j.rosenboom@x-ion.de>, fio@vger.kernel.org
Subject: Re: RBD client cache
Date: Thu, 19 Nov 2015 13:31:08 -0700 [thread overview]
Message-ID: <564E318C.3060602@kernel.dk> (raw)
In-Reply-To: <CADr68WZZqpVAeS-EuUgc5eOz=XoyrcCWCTymx58WBEAger442A@mail.gmail.com>
On 11/19/2015 08:37 AM, Jens Rosenboom wrote:
> A couple of releases ago, ceph has changed the default value for
>
> rbd cache writethrough until flush
>
> from false to true. As the fio rbd backend currently does not emit the
> necessary fsync to trigger writeback mode, this implies that tests
> will run in writethrough, possibly giving a significantly reduced
> performance when compared to other clients, e.g. when running fio
> within a qemu-based instance accessing the same RBD volume.
>
> Would it make sense for fio to simply issue a rbd_flush after each
> rbd_open at https://github.com/axboe/fio/blob/master/engines/rbd.c#L138
> ? Or do you think that this would need a dedicated flag to be enabled?
I'd probably make that an rbd engine option, ala flush_on_open or
something like that.
--
Jens Axboe
next prev parent reply other threads:[~2015-11-19 20:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-19 15:37 RBD client cache Jens Rosenboom
2015-11-19 20:31 ` Jens Axboe [this message]
2015-11-26 15:51 ` Jens Rosenboom
2015-11-27 16:06 ` Jens Axboe
2015-12-08 13:41 ` Jens Rosenboom
2015-12-08 15:06 ` Jens Axboe
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=564E318C.3060602@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=j.rosenboom@x-ion.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox