lkml.org 
[lkml]   [2003]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] O10int for interactivity
Wiktor Wodecki <wodecki@gmx.de> wrote:
>
> On Mon, Jul 28, 2003 at 11:40:41AM -0700, Andrew Morton wrote:
> > Valdis.Kletnieks@vt.edu wrote:
> > >
> > > I am, however, able to get 'xmms' to skip. The reason is that the CPU is being
> > > scheduled quite adequately, but I/O is *NOT*.
> > >
> > > ...
> > > I'm guessing that the anticipatory scheduler is the culprit here. Soon as I figure
> > > out the incantations to use the deadline scheduler, I'll report back....
> >
> > Try decreasing the expiry times in /sys/block/hda/queue/iosched:
> >
> > read_batch_expire
> > read_expire
> > write_batch_expire
> > write_expire
>
> I noticed that when bringing a huge application out of swap (mozilla,
> openoffice, also tested the gimp with 50 images open) that dividing
> everything by 2 in those 4 files I get a decent process fork. Without
> this tuning the fork (xterm) waits till the application is back up.

Interesting. What we have there is pretty much a straight tradeoff between
latency and throughput. It could be that the defaults are not centered in
the right spot.

It will need some careful characterisation. Maybe we can persuade Nick to
generate the mystical Documentation/as-iosched.txt?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.089 / U:4.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site