public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
* Very poor performances with the bcache-for-upstream branch
@ 2013-04-29 15:43 Leslie Basmid
       [not found] ` <CA+XuAnJO4BCE0yj0i_CZ_iQvDj56FHwFZH302XrisD45P5R3Tw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2013-05-02  5:50 ` Gabriel de Perthuis
  0 siblings, 2 replies; 12+ messages in thread
From: Leslie Basmid @ 2013-04-29 15:43 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hi all,

I have chosen to install bcache using the bcache-for-upstream branch
(recompiled this morning for the latest patches). Even though
everything is running smoothly, I am surprised by the very poor
performance I'm obtaining from my setup.

1. Everything is setup on my laptop which has a 500GB HD (sda) and a
16 GB SSD (sdb).
2. I have setup an LVM above bcache, and /dev/sda4 is the only cache
partition. The whole thing was setup with:

make-bcache -B /dev/sda4 -C /dev/sdb

the LVM is "inside" /dev/sda4
3. I am using fio as a benchmark, have setup writeback
# cat /sys/block/bcache0/bcache/writeback_running
1
and I think I have followed every hints I could found about performance tuning.
Yet, when running the ssd fio test suite on a file on partition that
is not "cached", I am obtaining the following figures:
seq-read: iops=29156
rand-read: iops=291
seq-write: iops=22355
rand-write: iops=260

Running it on a cached file system I'm obtaining:
seq-read: iops=22196
rand-read: iops=330
seq-write: iops=15864
rand-write: iops=387

What am I missing ?
The benchmark parameters are:
bs=4k
ioengine=libaio
iodepth=64
size=1g
direct=1

Thanks in advance for your answers,
Leslie.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-05-02 16:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-29 15:43 Very poor performances with the bcache-for-upstream branch Leslie Basmid
     [not found] ` <CA+XuAnJO4BCE0yj0i_CZ_iQvDj56FHwFZH302XrisD45P5R3Tw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-29 17:52   ` Kent Overstreet
     [not found]     ` <CAC7rs0t4uKx37i7pxMoMQgVeUT6spDeridfdC+R6mqLbf1dwug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-30  3:46       ` block activity stats matthew patton
     [not found]         ` <1367293610.13617.YahooMailClassic-XYahOdtEMNn35Xbc4wGBzZOW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
2013-04-30 20:31           ` Kent Overstreet
     [not found]             ` <20130430203134.GI9931-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2013-05-01  1:10               ` Jason Warr
2013-05-01 13:30       ` Very poor performances with the bcache-for-upstream branch Leslie Basmid
     [not found]         ` <CA+XuAnK4nNOG_tSuuteDThbj5L+5xmDsxQLfrHj314z1fr+bUA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-01 15:36           ` matthew patton
     [not found]             ` <1367422594.24900.YahooMailClassic-XYahOdtEMNm2Y7dhQGSVAJOW+3bF1jUfVpNB7YpNyf8@public.gmane.org>
2013-05-01 16:56               ` Leslie Basmid
     [not found]                 ` <CA+XuAn+Z-gxkfeE8D-A1-EJ4_QEBUqPJYfc40jevkJFbMzQ+Rw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-01 18:56                   ` Kent Overstreet
     [not found]                     ` <20130501185638.GB4057-jC9Py7bek1znysI04z7BkA@public.gmane.org>
2013-05-01 19:50                       ` Leslie Basmid
2013-05-02  5:50 ` Gabriel de Perthuis
2013-05-02 16:13   ` Leslie Basmid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox