Re: [PATCH 0/11] VMI / Paravirt bugfixes for 2.6.21

From: Andi Kleen
Date: Tue Feb 06 2007 - 13:16:59 EST


On Tue, Feb 06, 2007 at 01:45:52PM +0100, Arjan van de Ven wrote:
> On Tue, 2007-02-06 at 13:25 +0100, Andi Kleen wrote:
> > > hmm stolen time could even be useful without virtualization; to a large
> > > degree, if cpufreq reduces the speed of your cpu you have "stolen
> > > cycles" that way... I wonder if this concept can be used for that as
> > > well...
>
> >
> > I don't see the point, frankly.
>
> I mean for showing the sysadmin that his system has spare capacity left.
>
> right now top shows 50% in use (at say 600Mhz) while the 2.8Ghz
> processor obviously isn't even nearly half loaded.

Not necessarily.

You have no guarantee that it will go much faster at full frequency.
e.g. if the workload is memory bound then core frequency won't affect it
much.

Also if you're using automatic frequency scaling (which probably
the far majority of users do) then if anything keeps the system
busy for some time it will scale up anyways. This means even at 50%
load you will be likely running at full speed already.

I suspect there will be that many variables that automatic adjustment
is probably not useful.

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