public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Rolf Fokkens <rolf-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
To: Dirk Geschke <dirk-WMiem5eIfR0n5izryJqWLw@public.gmane.org>,
	linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: bcache not working on large files?
Date: Tue, 22 Oct 2013 19:35:48 +0200	[thread overview]
Message-ID: <5266B774.6040202@rolffokkens.nl> (raw)
In-Reply-To: <20131022070830.GA20286-TGNR7510c4H9eX/OD4jYIkzuTB+3w3uf@public.gmane.org>

Hi Dirk,

On 10/22/2013 09:08 AM, Dirk Geschke wrote:
> 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.
>
> Did I miss something? Is caching disabled in such cases?
>
> Has anyone a hint for me, what is going wrong?
Bcache has some specific handling of sequential I/O:

http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt

Could this explain what you're seeing?

Rolf

  parent reply	other threads:[~2013-10-22 17:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22  7:08 bcache not working on large files? Dirk Geschke
     [not found] ` <20131022070830.GA20286-TGNR7510c4H9eX/OD4jYIkzuTB+3w3uf@public.gmane.org>
2013-10-22 17:35   ` Rolf Fokkens [this message]
     [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=5266B774.6040202@rolffokkens.nl \
    --to=rolf-6w2rdlbueqtpmfipwq+h6g@public.gmane.org \
    --cc=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