* ioscheduler and 2.6 kernels
@ 2005-11-22 11:52 Lukas Hejtmanek
2005-11-22 11:56 ` Michal Schmidt
0 siblings, 1 reply; 4+ messages in thread
From: Lukas Hejtmanek @ 2005-11-22 11:52 UTC (permalink / raw)
To: linux-kernel
Hello,
I have a question about ioschedulers in current 2.6 kernels. Is there an option
to build iorequest queues per process? I would like to have the queue for each
process and pick up request in round robin manner, which results in more
interactive environment.
--
Lukáš Hejtmánek
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ioscheduler and 2.6 kernels
2005-11-22 11:52 ioscheduler and 2.6 kernels Lukas Hejtmanek
@ 2005-11-22 11:56 ` Michal Schmidt
2005-11-22 12:18 ` Lukas Hejtmanek
0 siblings, 1 reply; 4+ messages in thread
From: Michal Schmidt @ 2005-11-22 11:56 UTC (permalink / raw)
To: Lukas Hejtmanek; +Cc: linux-kernel
Lukas Hejtmanek wrote:
> Hello,
>
> I have a question about ioschedulers in current 2.6 kernels. Is there an option
> to build iorequest queues per process? I would like to have the queue for each
> process and pick up request in round robin manner, which results in more
> interactive environment.
Isn't this exactly what the CFQ scheduler does?
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ioscheduler and 2.6 kernels
2005-11-22 11:56 ` Michal Schmidt
@ 2005-11-22 12:18 ` Lukas Hejtmanek
2005-11-22 12:44 ` Jens Axboe
0 siblings, 1 reply; 4+ messages in thread
From: Lukas Hejtmanek @ 2005-11-22 12:18 UTC (permalink / raw)
To: Michal Schmidt; +Cc: linux-kernel
On Tue, Nov 22, 2005 at 12:56:58PM +0100, Michal Schmidt wrote:
> >I have a question about ioschedulers in current 2.6 kernels. Is there an
> >option
> >to build iorequest queues per process? I would like to have the queue for
> >each
> >process and pick up request in round robin manner, which results in more
> >interactive environment.
>
> Isn't this exactly what the CFQ scheduler does?
Friend of me tried all the schedulers and he thinks, that all behave basicaly
the same. His testbed is to extract tar archive with lots small files and in
parallel to run xterm, which takes serious time. He wonder why.
For me it seems to be ok. Thanks.
--
Lukáš Hejtmánek
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ioscheduler and 2.6 kernels
2005-11-22 12:18 ` Lukas Hejtmanek
@ 2005-11-22 12:44 ` Jens Axboe
0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2005-11-22 12:44 UTC (permalink / raw)
To: Lukas Hejtmanek; +Cc: Michal Schmidt, linux-kernel
On Tue, Nov 22 2005, Lukas Hejtmanek wrote:
> On Tue, Nov 22, 2005 at 12:56:58PM +0100, Michal Schmidt wrote:
> > >I have a question about ioschedulers in current 2.6 kernels. Is there an
> > >option
> > >to build iorequest queues per process? I would like to have the queue for
> > >each
> > >process and pick up request in round robin manner, which results in more
> > >interactive environment.
> >
> > Isn't this exactly what the CFQ scheduler does?
>
> Friend of me tried all the schedulers and he thinks, that all behave basicaly
> the same. His testbed is to extract tar archive with lots small files and in
> parallel to run xterm, which takes serious time. He wonder why.
Your friend has to realize that writeout doesn't typically happen in the
context of the process dirtying the data. CFQ will set aside a special
queue(s) for async writeout, though.
But another major interactivity problem he may see is that if you are
dirtying a lot of memory, other processes doing reads may get stuck in
page reclaim when allocating memory (eg getting a new page cache page,
either directly or perhaps through readahead). Then processes X has to
wait for async queue Z to flush out memory, thus becoming dependent on
each other for interactiveness. The io scheduler knows nothing about
this, so it can't really prevent it from happening.
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-22 12:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22 11:52 ioscheduler and 2.6 kernels Lukas Hejtmanek
2005-11-22 11:56 ` Michal Schmidt
2005-11-22 12:18 ` Lukas Hejtmanek
2005-11-22 12:44 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox