linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problem w/ read caching..
@ 2012-09-12 20:01 Brad Walker
       [not found] ` <CAPKZHbV3n7O+VRVNS-C2oDVSpO_VdirMDUOuwwWKaA5ZOUEG_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Brad Walker @ 2012-09-12 20:01 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA

I am having a problem with BCache.

I’ve followed the documentation and have my cache attached. Here is
what dmesg tells me:

[  372.622905] bcache: invalidating existing data
[  372.637517] bcache: registered cache device rssda1
[  400.704672] bcache: Caching dm-2 as bcache0 on set
16fd7139-f018-461c-9d9e-daa

I warmed up the cache by using an application (vdbench) to do random
reads over a 10GB region.

Everything looks good as the response time comes down as the cache
warms up. But, for some reason the cache_hit_rate is showing 90% and
yet I’m still seeing heavy activity to the disk device.

bwalker@nellis:~> cat
/sys/fs/bcache/16fd7139-f018-461c-9d9e-daa7666c7f1e/stats_total/cache_hit_ratio
94
bwalker@nellis:~>

Any ideas on why this might be happening are appreciated.

-brad w.

^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <50651c68.a8e1440a.1165.67c8SMTPIN_ADDED@mx.google.com>]

end of thread, other threads:[~2012-10-08 16:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

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).