Re: [PATCH] O1int 0307021808 for interactivity

Con Kolivas (kernel@kolivas.org)
Thu, 3 Jul 2003 22:21:55 +1000


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
least.

> 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.

Con

-
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/