[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150528003627.GD32216@agk-dp.fab.redhat.com>
Date: Thu, 28 May 2015 01:36:27 +0100
From: Alasdair G Kergon <agk@...hat.com>
To: Ming Lin <mlin@...nel.org>
Cc: Mike Snitzer <snitzer@...hat.com>,
lkml <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@....de>,
Kent Overstreet <kent.overstreet@...il.com>,
Jens Axboe <axboe@...nel.dk>, Dongsu Park <dpark@...teo.net>,
Christoph Hellwig <hch@...radead.org>,
Al Viro <viro@...iv.linux.org.uk>,
Ming Lei <ming.lei@...onical.com>, Neil Brown <neilb@...e.de>,
Alasdair Kergon <agk@...hat.com>, dm-devel@...hat.com,
Lars Ellenberg <drbd-dev@...ts.linbit.com>,
drbd-user@...ts.linbit.com, Jiri Kosina <jkosina@...e.cz>,
Geoff Levand <geoff@...radead.org>, Jim Paris <jim@...n.com>,
Joshua Morris <josh.h.morris@...ibm.com>,
Philip Kelleher <pjk1939@...ux.vnet.ibm.com>,
Minchan Kim <minchan@...nel.org>,
Nitin Gupta <ngupta@...are.org>,
Oleg Drokin <oleg.drokin@...el.com>,
Andreas Dilger <andreas.dilger@...el.com>
Subject: Re: [PATCH v4 01/11] block: make generic_make_request handle
arbitrarily sized bios
On Wed, May 27, 2015 at 04:42:44PM -0700, Ming Lin wrote:
> Here are fio results of XFS on a DM stripped target with 2 SSDs + 1 HDD.
> Does it make sense?
To stripe across devices with different characteristics?
Some suggestions.
Prepare 3 kernels.
O - Old kernel.
M - Old kernel with merge_bvec_fn disabled.
N - New kernel.
You're trying to search for counter-examples to the hypothesis that
"Kernel N always outperforms Kernel O". Then if you find any, trying
to show either that the performance impediment is small enough that
it doesn't matter or that the cases are sufficiently rare or obscure
that they may be ignored because of the greater benefits of N in much more
common cases.
(1) You're looking to set up configurations where kernel O performs noticeably
better than M. Then you're comparing the performance of O and N in those
situations.
(2) You're looking at other sensible configurations where O and M have
similar performance, and comparing that with the performance of N.
In each case you find, you expect to be able to vary some parameter (such as
stripe size) to show a progression of the effect.
When running tests you've to take care the system is reset into the same
initial state before each test, so you'll normally also try to include some
baseline test between tests that should give the same results each time
and also take the average of a number of runs (while also reporting some
measure of the variation within each set to make sure that remains low,
typically a low single digit percentage).
Since we're mostly concerned about splitting, you'll want to monitor
iostat to see if that gives you enough information to home in on
suitable configurations for (1). Failing that, you might need to
instrument the kernels to tell you the sizes of the bios being
created and the amount of splitting actually happening.
Striping was mentioned because it forces splitting. So show the progression
from tiny stripes to huge stripes. (Ensure all the devices providing the
stripes have identical characteristics, but you can test with slow and
fast underlying devices.)
You may also want to test systems with a restricted amount of available
memory to show how the splitting via worker thread performs. (Again,
instrument to prove the extent to which the new code is being exercised.)
Alasdair
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists