Re: [PATCH] O1int 0307021808 for interactivity

From: Con Kolivas (
Date: Thu Jul 03 2003 - 07:21:55 EST

On Thu, 3 Jul 2003 21:46, Daniel Phillips wrote:
> On Wednesday 02 July 2003 10:23, Con Kolivas wrote:
> > This latest patch I'm formally announcing has the base O1int changes so
> > far but includes new semantics for freshly started applications so they
> > can become interactive very rapidly even during heavy load. This
> > addresses the "slow to start new apps" evident in O1int so far.
> >
> > Please test this one and note given just how rapidly things can become
> > interactive it may have regressions in other settings.
> Without this patch, audio skips horribly when I drag a large window. With
> it, audio is skipless during window dragging, so I like this patch,
> whatever it does (maybe you'd like to do a victory lap and re-explain the

Lap complete :) Theory? uh erm it's rather involved but basically instead of
working off the accumulated sleeping ticks gathered in ten seconds it works
on the accumulated sleeping ticks gathered till it wakes up. It has non
linear semantics to cope with the fact that you cant accumulate 10 seconds
worth of ticks (for example) if only 10 seconds has passed (likewise for less
time). Also idle tasks are no longer considered fully interactive but idle
and receive no boost or penalty. Finally they all start with some sleep ticks
inherited by their parent as though they have been running for 1 second at

> theory?). It's not perfect: in Mozilla, scrolling through a long page with
> the mouse still causes skipping.

I have (at least) one more trick up my sleeve which might help this, but this
time I really do want some time to pass and more people test it (in -mm)
before making another change.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:19 EST