[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120726214333.GF17633@lenny.home.zabbo.net>
Date: Thu, 26 Jul 2012 14:43:33 -0700
From: Zach Brown <zab@...bo.net>
To: Ankit Jain <jankit@...e.de>
Cc: Christoph Hellwig <hch@...radead.org>,
Dave Chinner <david@...morbit.com>,
Al Viro <viro@...iv.linux.org.uk>, bcrl@...ck.org,
linux-fsdevel@...r.kernel.org, linux-aio@...ck.org,
linux-kernel@...r.kernel.org, Jan Kara <jack@...e.cz>
Subject: Re: [RFC][PATCH] Make io_submit non-blocking
On Fri, Jul 27, 2012 at 01:22:10AM +0530, Ankit Jain wrote:
> I should probably be doing better tests, any suggestions on what or
> how I can test?
Well, is the test actually *doing* anything with these IOs?
Calling io_submit() and then immediately waiting for completion is the
best case for offloading work to threads inside io_submit(). It's
likely that the kernel thread will then get a chance to run and submit
the IO and you won't have lost much time since the io_submit() queued
the work.
So try saturating the cpus while the tests are running. Give the kernel
aio submission threads some competition for run time on the cpus.
Maybe with the cpuio bits of fio? I haven't used that myself but the
description of it in its README/HOWTO files are using all the right
words :).
- z
--
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