From: Mike Snitzer <snitzer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Darrick J. Wong" <darrick.wong-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
device-mapper development
<dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Kent Overstreet
<koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
Amit Kale <akale-FZ1t8LVTR2ZWk0Htik3J/w@public.gmane.org>,
ejt-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Subject: Re: bcache/dmcache/enhanceio bake-off
Date: Mon, 15 Apr 2013 09:55:39 -0400 [thread overview]
Message-ID: <20130415135539.GA19977@redhat.com> (raw)
In-Reply-To: <20130413193319.GD8156-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
On Sat, Apr 13 2013 at 3:33pm -0400,
Mike Snitzer <snitzer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> On Sat, Apr 13 2013 at 12:09pm -0400,
> Joe Thornber <thornber-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>
> > Hi Darrick,
> >
> > On Thu, Apr 11, 2013 at 12:22:39AM -0700, Darrick J. Wong wrote:
> > > Hi all,
> > >
> > > Lately I've been having some fun playing with bcache, dmcache, and enhanceio.
> >
> > I pushed some tweaks to the mq policy today to my thin-dev tree. They
> > show some improvements to these fio based tests.
> >
> > In addition I've written a blog post trying to explain what's going on in dm-cache:
> > http://device-mapper.org/blog/2013/04/13/benchmarking-dm-cache-with-fio/
>
> Darrick,
>
> Joe has a few other dm-cache-target.c changes in his thin-dev branch
> that are required in order to realize the gains from his mq changes. I
> haven't yet isolated which changes are important but if I just use the
> 3.9-rc6's dm-cache-tagret.c with thin-dev's mq changes I cannot
> reproduce the improved performance Joe mentions in his blog post.
I've now isolated the dm-cache-target.c commit in Joe's thin-dev that is
important to have in conjunction with the mq changes (from commit 7362f43a):
commit f134e6382a534dd3622c3850e4824ae5929885d9
Author: Joe Thornber <ejt-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date: Wed Mar 27 14:46:57 2013 +0000
[dm-cache] Change the default migration_threshold to something more suitable.
diff --git a/drivers/md/dm-cache-target.c b/drivers/md/dm-cache-target.c
index 8a4bcf3..f215307 100644
--- a/drivers/md/dm-cache-target.c
+++ b/drivers/md/dm-cache-target.c
@@ -1948,7 +1948,7 @@ static sector_t calculate_discard_block_size(sector_t cache_block_size,
return discard_block_size;
}
-#define DEFAULT_MIGRATION_THRESHOLD (2048 * 100)
+#define DEFAULT_MIGRATION_THRESHOLD 2048
static int cache_create(struct cache_args *ca, struct cache **result)
{
next prev parent reply other threads:[~2013-04-15 13:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 7:22 bcache/dmcache/enhanceio bake-off Darrick J. Wong
[not found] ` <20130411072239.GD8910-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
2013-04-13 16:09 ` [dm-devel] " Joe Thornber
2013-04-13 19:33 ` Mike Snitzer
[not found] ` <20130413193319.GD8156-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-04-15 13:55 ` Mike Snitzer [this message]
2013-04-16 8:23 ` Joe Thornber
-- strict thread matches above, loose matches on Subject: below --
2013-04-16 15:33 Mike Snitzer
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=20130415135539.GA19977@redhat.com \
--to=snitzer-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=akale-FZ1t8LVTR2ZWk0Htik3J/w@public.gmane.org \
--cc=darrick.wong-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
--cc=dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=ejt-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-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