From: Benjamin LaHaise <bcrl@kvack.org>
To: Chris Mason <mason@suse.com>
Cc: suparna@in.ibm.com, linux-aio@kvack.org,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: aio-stress throughput regressions from 2.6.11 to 2.6.12
Date: Tue, 5 Jul 2005 12:12:59 -0400 [thread overview]
Message-ID: <20050705161259.GC19683@kvack.org> (raw)
In-Reply-To: <200507051000.25591.mason@suse.com>
On Tue, Jul 05, 2005 at 10:00:24AM -0400, Chris Mason wrote:
> If it doesn't regress, I would suspect something in the aio core. My first
> attempts at the context switch reduction patches caused this kind of
> regression. There was too much latency in sending the events up to userland.
AIO will by its very nature have a higher rate of context switches unless
the subsystem in question does its completion from the interrupt handler.
There are a few optimizations in this area that we can do to improve things
for some of the common usage models: when sleeping in read_events() we can
do iocb runs in the sleeping task instead of switching to the aio helper
daemon. That might help for Oracle's usage model of aio, and it should
also help aio-stress.
There are also other ways of reducing the overhead of the context switches.
O_DIRECT operations could take note of the mm they are operating on and
do its get_user_pages() on the mm without the tlb being flushed.
-ben
--
"Time is what keeps everything from happening all at once." -- John Wheeler
next prev parent reply other threads:[~2005-07-05 16:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-01 7:56 aio-stress throughput regressions from 2.6.11 to 2.6.12 Suparna Bhattacharya
2005-07-01 14:25 ` Benjamin LaHaise
2005-07-06 4:30 ` Suparna Bhattacharya
2005-07-08 17:58 ` Benjamin LaHaise
2005-07-05 14:00 ` Chris Mason
2005-07-05 16:12 ` Benjamin LaHaise [this message]
2005-07-06 10:37 ` Suparna Bhattacharya
2005-07-06 12:10 ` aio-stress regressions in 2.6.12 narrowed down to AIC7xxx Suparna Bhattacharya
2005-07-11 7:43 ` aio-stress throughput regressions from 2.6.11 to 2.6.12 Sébastien Dugué
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=20050705161259.GC19683@kvack.org \
--to=bcrl@kvack.org \
--cc=linux-aio@kvack.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mason@suse.com \
--cc=suparna@in.ibm.com \
/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