[lkml]   [2003]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH]O15int for interactivity
On Tue, 2003-08-12 at 15:22, Con Kolivas wrote:
> This patch addresses the problem of tasks that preempt their children when
> they're forking, wasting cpu cycles until they get demoted to a priority where
> they no longer preempt their child. Although this has been said to be a design
> flaw in the applications, it can cause sustained periods of starvation due to
> this coding problem, and the more I looked, the more examples I found of this
> happening.
> Tasks now cannot preempt their own children. This speeds up the startup of
> child applications (eg pgp signed email).
> This change has allowed tasks to stay at higher priority for much longer so
> the sleep avg decay of high credit tasks has been changed to match the rate of
> rise during periods of sleep (which I wanted to do originally but was limited
> by the first problem). This makes for much more sustained interactivity at
> extreme loads, and much less X jerkiness.

Ok, finally had the chance to test O15.

Seems ok this side now with HT enabled. I did a few tests and here
is just briefly some notes:

1) It does take a bit longer to compile anything when the system is
under load. Roughly with two make -j{6,12}s going, with mm1
and about 1 second, and with bk3 and O15 about two seconds. I
did not run too many passes on the bk3&O15 combination, so could
be just some or other change in environment. Non issue for me.

2) XMMS/whatever still do not skip (nothing different from vanilla

3) The only major difference now between vanilla bk, and bk3+O15 or
mm[12] and O15, is that doing the 'window wiggle test' (*g*) do
not start to jerk after about 10 seconds as in vanilla. It is
either way of no significance to me, as I do not in general do
anything that I can think of that simulate this. With vanilla
though, response is there immediately if the window is let go of.

4) The evolution thread doing expunging (pop3 side) when finished
getting mail do seem to take a bit longer. Guess it could be
similar to the wine issues others have seen, but once again no
real show stopper for me (I do expect some loss in response if
there is high load).

5) On bk3+O15 it seems like load is a tad higher for the same
type of tests (23-26 with vanilla, 23-28 with mm, and about
25-30 with vanilla bk3+o13). I guess it might be some changes
between bk3 and mm that your stuff have a minor dependency on,
or changes from bk1 to bk3, as bk1 was what I used for testing
without O15.

All in all, mouse is fine, mozilla do not 'pause'/whatever when
changing tabs/scrolling (both O15 and vanilla), XMMS do not
skip, etc.



Martin Schlemmer

[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-03-22 13:47    [W:0.061 / U:2.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site