Re: [patch][rfc] quell interactive feeding frenzy

From: Con Kolivas
Date: Thu Apr 13 2006 - 07:58:15 EST


On Thursday 13 April 2006 01:25, Al Boldi wrote:
> Con Kolivas wrote:
> > Nvidia driver; all separate tasks in top.
>
> On a 400MhzP2 i810drm w/ kernel HZ=1000 it stutters.
> You may want to compensate for nvidia w/ a few cpu-hogs.

I tried adding cpu hogs and it gets extremely slow very soon but still doesn't
stutter here.

> How many gears fps do you get?

When those 3 are running concurrently (without any other cpu hogs) gears is
showing 317 fps.

> > range 63-73 seconds.
>
> Could this 10s skew be improved to around 1s to aid smoothness?

I'm happy to try... but I doubt it. 10% difference over 10 tasks over 10 mins
of tasks of that wake/sleep nature is pretty good IMO. I'll see if there's
anywhere else I can make the cpu accounting any better.

As an aside, note that sched_clock and nanosecond timing with TSC isn't
actually used if you use the pm timer which undoes any high res accounting
the cpu scheduler can do (I noticed this when playing with pm timer that
sched_clock just returns jiffies resolution instead of real nanosecond res).
This could undo any smoothness that good cpu accounting can do.

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