linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brad Walker <bwalker-WlSugiYO8JFBDgjK7y7TUQ@public.gmane.org>
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: problem w/ read caching..
Date: Thu, 27 Sep 2012 23:28:20 +0000 (UTC)	[thread overview]
Message-ID: <loom.20120928T010314-562@post.gmane.org> (raw)
In-Reply-To: CAH+dOxLKJKRLU2+0hD0LVmTC68SnFpFrTE63+QegaGPs5BOSMg@mail.gmail.com

Kent Overstreet <koverstreet@...> writes:

> 
> Sounds like a good portion of your IO is bypassing the cache. That
> will happen if some of it's sequential, or if the SSD latency goes
> over a threshold - sequential_cutoff, congested_read_threshold_us and
> congest_write_threshold_us (if I'm remembering the names correctly)
> are the settings that control all that. 0 disables all of them.
> 

So I set the sequential_cutoff and congested_read_threshold_us to both be 0.
Since I was only doing reads, I figured there was no need to mess with the write
option.

But, I'm still seeing a problem. 

My hardware is:
1 - Dell PowerEdge R710 w/ 24 x Xeon processors, 96GB of ram
2 - Micron P320H SSD
3 - LSI storage device connected by a SAS interface

What I see is that when I do random reads over a 10GB region, the cache warms up
but hits a read response plateau at about 7ms. I still see a LOT (i.e. 32000
IOPS) of I/O to the disk. 

Yes, if I run the same test over a 1GB region, runs really fast. Pretty close to
the max IOPS rate of the SSD.

So I'm thinking there is a problem here or I have a bcache config issue.

I'm willing to try things but I need some guidance on what to look for as it
seems like a bcache issue.

Thanks for the help.

-brad w.

  reply	other threads:[~2012-09-27 23:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 20:01 problem w/ read caching Brad Walker
     [not found] ` <CAPKZHbV3n7O+VRVNS-C2oDVSpO_VdirMDUOuwwWKaA5ZOUEG_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-13 18:43   ` Kent Overstreet
2012-09-27 23:28     ` Brad Walker [this message]
     [not found]       ` <loom.20120928T010314-562-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2012-09-28 18:59         ` Kent Overstreet
2012-10-01 19:18           ` Brad Walker
     [not found]             ` <loom.20121001T211315-779-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2012-10-01 19:38               ` Kent Overstreet
2012-10-01 20:05                 ` Brad Walker
     [not found]                   ` <loom.20121001T220412-225-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2012-10-01 20:37                     ` Kent Overstreet
2012-10-01 20:56                       ` Brad Walker
     [not found]                         ` <loom.20121001T223817-249-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2012-10-01 21:14                           ` Kent Overstreet
2012-10-01 22:26                             ` Brad Walker
     [not found]                               ` <loom.20121002T001556-394-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2012-10-01 23:00                                 ` Kent Overstreet
     [not found]                                   ` <20121001230023.GG26488-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-10-03  4:44                                     ` Kent Overstreet
2012-10-08 16:39                                       ` Brad Walker
     [not found] <50651c68.a8e1440a.1165.67c8SMTPIN_ADDED@mx.google.com>
     [not found] ` <50651c68.a8e1440a.1165.67c8SMTPIN_ADDED-ATjtLOhZ0NVl57MIdRCFDg@public.gmane.org>
2012-09-28 16:31   ` Brad Walker

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=loom.20120928T010314-562@post.gmane.org \
    --to=bwalker-wlsugiyo8jfbdgjk7y7tuq@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).