All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gabriel de Perthuis <g2p.code-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Poor performance with bcache write-back mode
Date: Fri, 17 May 2013 20:50:08 +0000 (UTC)	[thread overview]
Message-ID: <kn6560$o7q$1@ger.gmane.org> (raw)
In-Reply-To: 1368821584.52750.YahooMailNeo@web162405.mail.bf1.yahoo.com

On Fri, 17 May 2013 13:13:04 -0700, Patrick Ng wrote:
> Hi Robert,
> 
> I have checked that the cache partition (/dev/sdc1) starts at 2048, it should be properly aligned.
> Similarly for the backing store partition (/dev/sdb1), it starts at 2048 at well.

The bcache superblock shifts the start of your partition by 8k though.
I don't know if the upper layers compensate for that, but just in case,
you may want to add `--data_offset 2048` to the make-bcache command line
(1M alignment).

  reply	other threads:[~2013-05-17 20:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-16 21:51 Poor performance with bcache write-back mode Patrick Ng
     [not found] ` <CA+gjuN7E2B+71BiCexm7HjDGzJMBuCdbGxhvD8YHU6-u6TyKkg@mail.gmail.com>
     [not found]   ` <CA+gjuN7E2B+71BiCexm7HjDGzJMBuCdbGxhvD8YHU6-u6TyKkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-17 20:13     ` Patrick Ng
2013-05-17 20:50       ` Gabriel de Perthuis [this message]
     [not found] ` <1368741106.62060.YahooMailNeo-QseONlJJzSFal3a5i+KC+JEhsgyP+Z75VpNB7YpNyf8@public.gmane.org>
2013-05-17  6:28   ` Robert Frånlund
2013-05-29  0:40   ` Kent Overstreet
2013-06-03 21:44     ` Patrick Ng

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='kn6560$o7q$1@ger.gmane.org' \
    --to=g2p.code-re5jqeeqqe8avxtiumwx3w@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 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.