From: Andrew Morton <akpm@digeo.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: rml@tech9.net, linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: Re: [patch] "interactivity changes", sched-2.5.64-A4
Date: Thu, 6 Mar 2003 02:00:44 -0800 [thread overview]
Message-ID: <20030306020044.549df2a4.akpm@digeo.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0303060723050.2114-100000@localhost.localdomain>
Ingo Molnar <mingo@elte.hu> wrote:
>
>
> well, i took out the interactivity improvements from the 2.5.59-E6
> scheduler patch, to keep the pure HT-scheduler bits only, and havent added
> them back since. The two patch-sets (interactivity, and HT scheduler)
> interact heavily, so i did not post the patch separately, but here it goes
> as-is, against 2.5.64 - does it help your interactivity problems on UP
> setups?
Ah, this is the patch I thought I was testing last time ;) A bit more careful
this time:
- The tbench-starves-everything-on-uniprocessor problem (well, I'd have to
say it is a bug) is fixed.
When running a compilation against a `tbench 4' one would expect the
compilation to be slowed down by maybe 4x. It seems a little slower than
that, but it is in that ballpark. At least the compilation makes _some_
progress now.
- The large performance shift with `contest io_load' is still there.
This test times how long it takes to compile a kernel in the presence of
massive streaming writeout to the same filesystem.
2.5.64, UP, !preempt, ext3:
Finished compiling kernel: elapsed: 409 user: 107 system: 11
Finished io_load: elapsed: 409 user: 2 system: 37 loads: 16810
Finished compiling kernel: elapsed: 283 user: 107 system: 10
Finished io_load: elapsed: 286 user: 1 system: 17 loads: 7990
2.5.66+sched-2.5.64-A4, UP, !preempt, ext3:
Finished compiling kernel: elapsed: 910 user: 108 system: 12
Finished io_load: elapsed: 912 user: 4 system: 75 loads: 35210
Finished compiling kernel: elapsed: 940 user: 108 system: 12
Finished io_load: elapsed: 940 user: 4 system: 78 loads: 36510
The compilation took twice as long, and the streaming write made much
more progress.
Given that a monster `dd if=/dev/zero' takes only a few percent CPU
anyway, it is quite odd that this is happening.
Regardless of the fairness issue we want to maximise CPU utilisaton in
this workload. The above figures show that the total CPU utilisation has
fallen from
409 / (107+11+4+75) = 48% CPU
and 283 / (107+10+1+17) = 48% CPU
down to
910 / (108+12+4+75) = 22% CPU
and 940 / (108+12+4+78) = 21% CPU
which is quite bad.
I cannot explain this - why so much idle time? It seems to happen with
ext2 as well, so it may not be the weird interaction between kjournald, the
CPU scheduler and the IO scheduler which I initially suspected. Poor me.
- On the X server problem: The patch pretty much fixes it up. I have to
work pretty hard to make the UI flip into sucky mode, and it is much less
severe. I'd say it it acceptable.
Renicing X to -10 makes it significantly better. Text under moved
windows gets redrawn promptly. But renicing X is not a very adequate
solution in my experience - I've found that when the email client goes off
to parse a 1000-message folder the scheduler can decide to penalise it, and
the application freezes up for some time.
Overall, yep, good patch and we should run with it. I need to work out what
on earth has happened to the IO load balancing. We only got that working
properly a few days back.
next prev parent reply other threads:[~2003-03-06 9:50 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-28 9:50 [patch] "HT scheduler", sched-2.5.63-B3 Ingo Molnar
2003-02-28 21:12 ` Andrew Morton
2003-02-28 21:23 ` Robert Love
2003-03-01 4:25 ` Andrew Morton
2003-03-06 3:20 ` Linus Torvalds
2003-03-06 7:45 ` Andrew Morton
2003-03-06 7:47 ` Ingo Molnar
2003-03-06 15:07 ` Linus Torvalds
2003-03-06 16:54 ` Ingo Molnar
2003-03-06 17:03 ` Linus Torvalds
2003-03-06 17:24 ` Ingo Molnar
2003-03-06 17:42 ` Linus Torvalds
2003-03-06 17:54 ` Ingo Molnar
2003-03-06 18:02 ` Linus Torvalds
2003-03-06 18:11 ` Ingo Molnar
2003-03-06 17:55 ` John Levon
2003-03-06 18:07 ` Linus Torvalds
2003-03-06 18:11 ` John Levon
2003-03-06 18:16 ` Linus Torvalds
2003-03-06 18:15 ` Ingo Molnar
2003-03-06 18:20 ` Linus Torvalds
2003-03-06 18:10 ` David S. Miller
2003-03-06 18:18 ` Ingo Molnar
2003-03-07 5:57 ` Ingo Molnar
2003-03-07 5:54 ` Shawn
2003-03-07 6:04 ` Ingo Molnar
2003-03-07 14:28 ` jlnance
2003-03-07 6:45 ` Aaron Lehmann
2003-03-07 6:50 ` Ingo Molnar
2003-03-07 7:00 ` Aaron Lehmann
2003-03-07 7:36 ` Ingo Molnar
2003-03-08 18:28 ` Aaron Lehmann
2003-03-07 7:00 ` Andrew Morton
2003-03-07 3:19 ` Horst von Brand
2003-03-06 15:37 ` Linus Torvalds
2003-03-06 16:01 ` Jeff Garzik
2003-03-06 16:51 ` Linus Torvalds
2003-03-06 17:11 ` Ingo Molnar
2003-03-06 17:52 ` jvlists
2003-03-06 18:27 ` Ingo Molnar
2003-03-07 8:15 ` Xavier Bestel
2003-03-06 23:18 ` Robert Love
2003-03-06 18:49 ` Alan Cox
2003-03-06 17:55 ` Linus Torvalds
2003-03-06 18:04 ` Ingo Molnar
2003-03-06 18:13 ` Martin J. Bligh
2003-03-06 18:26 ` Linus Torvalds
2003-03-08 0:05 ` Daniel Phillips
2003-03-06 17:58 ` Ingo Molnar
2003-03-06 17:17 ` Ingo Molnar
2003-03-06 18:06 ` Dimitrie O. Paun
2003-03-06 22:14 ` Martin J. Bligh
2003-03-06 22:31 ` Dimitrie O. Paun
2003-03-06 23:05 ` Robert Love
2003-03-06 23:33 ` Martin J. Bligh
2003-03-06 18:25 ` Alan Cox
2003-03-06 17:35 ` Linus Torvalds
2003-03-06 22:30 ` Eric Northup
2003-03-06 23:40 ` Martin J. Bligh
2003-03-07 0:02 ` Linus Torvalds
2003-03-07 0:09 ` Dimitrie O. Paun
2003-03-06 22:00 ` Bill Davidsen
2003-03-06 17:13 ` Ingo Molnar
2003-03-06 17:30 ` Linus Torvalds
2003-03-06 17:33 ` Ingo Molnar
2003-03-06 17:50 ` Ingo Molnar
2003-03-06 18:00 ` Linus Torvalds
2003-03-06 20:42 ` Andrew Morton
2003-03-06 22:18 ` Robert Love
2003-03-07 5:52 ` Ingo Molnar
2003-03-07 5:51 ` Shawn
2003-03-07 6:01 ` Ingo Molnar
2003-03-07 6:07 ` Andrew Morton
2003-03-07 6:15 ` Ingo Molnar
2003-03-07 10:19 ` Helge Hafting
2003-03-07 11:06 ` Ingo Molnar
2003-03-07 7:45 ` Mike Galbraith
2003-03-07 7:45 ` Ingo Molnar
[not found] ` <Pine.LNX.4.44.0303070842420.4572-100000@localhost.localdom ain>
2003-03-07 8:09 ` Mike Galbraith
2003-03-07 8:10 ` Andrew Morton
2003-03-07 8:26 ` Mike Galbraith
2003-03-07 8:15 ` Ingo Molnar
[not found] ` <Pine.LNX.4.44.0303070913370.5173-100000@localhost.localdom ain>
2003-03-07 8:34 ` Mike Galbraith
2003-03-07 8:31 ` Ingo Molnar
2003-03-06 22:03 ` Martin Waitz
2003-03-06 22:07 ` Robert Love
2003-03-06 22:35 ` Martin Waitz
2003-03-06 22:56 ` Robert Love
2003-03-06 23:27 ` Martin Waitz
2003-03-06 23:36 ` Robert Love
2003-03-07 10:39 ` Ingo Molnar
2003-03-07 10:27 ` Ingo Molnar
2003-03-06 6:58 ` [patch] "interactivity changes", sched-2.5.64-A4 Ingo Molnar
2003-03-06 10:00 ` Andrew Morton [this message]
2003-03-06 10:07 ` [patch] "interactivity changes", sched-2.5.64-A5 Ingo Molnar
2003-03-06 10:16 ` [patch] "HT scheduler", sched-2.5.63-B3 Chris Wedgwood
2003-03-06 10:18 ` Ingo Molnar
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=20030306020044.549df2a4.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rml@tech9.net \
--cc=torvalds@transmeta.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