public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Dirk Geschke <dirk-WMiem5eIfR0n5izryJqWLw@public.gmane.org>
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: bcache not working on large files?
Date: Tue, 22 Oct 2013 09:08:30 +0200	[thread overview]
Message-ID: <20131022070830.GA20286@euve30603.vserver.de> (raw)

Hi all,

I was just playing a little bit with bcache and it works fine. But
if I try random IOPS writes (writeback) on a file larger than the
cache, it seems not to work? At least I get a performance as without
bcache.

I used a RAID-6 of 8 SSDs (each 238 GiB) as a cache and a RAID-6 of
10 HDDs (2794 Gib). For my test I did random writes of 4k blocks.
With 8 threads writing on one 1000 GB file, I get IOPS in the range
of 20000, but with a file of 10000 GB I end up with about 400 IOPS.
That is the same as without cache. 

Did I miss something? Is caching disabled in such cases?

I would expect, that even in this case (writeback and random writes)
it should work as well. Even after a few minutes I get these results,
so it is not a problem of a full cache.

Has anyone a hint for me, what is going wrong?

Best regards

Dirk

-- 
+----------------------------------------------------------------------+
| Dr. Dirk Geschke       / Plankensteinweg 61    / 85435 Erding        |
| Telefon: 08122-559448  / Mobil: 0176-96906350 / Fax: 08122-9818106   |
| dirk-tpR6ahGJfjwEZ6m2XrtfILNAH6kLmebB@public.gmane.org / dirk-WMiem5eIfR0n5izryJqWLw@public.gmane.org  / kontakt-WMiem5eIfR0n5izryJqWLw@public.gmane.org |
+----------------------------------------------------------------------+

             reply	other threads:[~2013-10-22  7:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22  7:08 Dirk Geschke [this message]
     [not found] ` <20131022070830.GA20286-TGNR7510c4H9eX/OD4jYIkzuTB+3w3uf@public.gmane.org>
2013-10-22 17:35   ` bcache not working on large files? Rolf Fokkens
     [not found]     ` <5266B774.6040202-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-10-22 18:03       ` Dirk Geschke
     [not found]         ` <20131022180316.GA24473-TGNR7510c4H9eX/OD4jYIkzuTB+3w3uf@public.gmane.org>
2013-10-22 21:11           ` matthew patton
     [not found]             ` <1382476284.36900.YahooMailNeo-XYahOdtEMNlRBbKmAC7my5OW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
2013-10-22 21:45               ` Dirk Geschke
     [not found]                 ` <20131022214553.GC26186-TGNR7510c4H9eX/OD4jYIkzuTB+3w3uf@public.gmane.org>
2013-10-22 22:27                   ` matthew patton
     [not found]                     ` <1382480829.46079.YahooMailNeo-XYahOdtEMNkbWpotXP+qY5OW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
2013-10-23  2:06                       ` Paul B. Henson
2013-10-23 14:47                   ` Dirk Geschke
2013-10-22 22:16               ` matthew patton

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=20131022070830.GA20286@euve30603.vserver.de \
    --to=dirk-wmiem5eifr0n5izryjqwlw@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