From: "Luis Pabón" <lpabon@redhat.com>
To: Sage Weil <sweil@redhat.com>, Mark Nelson <mnelson@redhat.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: Cache tier READ_FORWARD transition
Date: Mon, 07 Jul 2014 17:31:51 -0400 [thread overview]
Message-ID: <53BB11C7.4050802@redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1407070934120.23451@cobra.newdream.net>
What about the following usecase (please forgive some of my ceph
architecture ignorance):
If it was possible to setup OSD caching tier at the host (if the host
had a dedicated SSD for accelerating I/O), then caching pools could be
created to cache VM rbds, since they are inherently exclusive to a
single host. Using a write through (or a readonly, depending on the
workload) policy would have a major increase in VM IOPs. Using
writethrough or readonly policy would also ensure any writes are first
written to the back end storage tier. Enabling hosts to service most of
their VM I/O reads would also increases the overall IOPs of the back end
storage tier.
Does this make sense?
- Luis
On 07/07/2014 03:29 PM, Sage Weil wrote:
> On Mon, 7 Jul 2014, Luis Pabon wrote:
>> Hi all,
>> I am working on OSDMonitor.cc:5325 and wanted to confirm the following
>> read_forward cache tier transition:
>>
>> readforward -> forward || writeback || (any && num_objects_dirty == 0)
>> forward -> writeback || readforward || (any && num_objects_dirty == 0)
>> writeback -> readforward || forward
>>
>> Is this the correct cache tier state transition?
> That looks right to me.
>
> By the way, I had a thought after we spoke that we probably want something
> that is somewhere inbetween the current writeback behavior (promote on
> first read) and the read_forward behavior (never promote on read). I
> suspect a good all-around policy is something like promote on second read?
> This should probably be rolled into the writeback mode as a tunable...
>
> sage
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-07-07 21:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-07 16:29 Cache tier READ_FORWARD transition Luis Pabon
2014-07-07 19:29 ` Sage Weil
2014-07-07 19:38 ` Mark Nelson
2014-07-07 19:43 ` Sage Weil
2014-07-07 21:02 ` Mark Nelson
2014-07-07 19:45 ` Sage Weil
2014-07-07 21:03 ` Luis Pabón
2014-07-07 21:31 ` Luis Pabón [this message]
2014-07-08 16:01 ` Sage Weil
2014-07-09 17:46 ` Luis Pabon
2014-07-10 4:34 ` Alexandre DERUMIER
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=53BB11C7.4050802@redhat.com \
--to=lpabon@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=mnelson@redhat.com \
--cc=sweil@redhat.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.