Re: why is rdtsc reporting wrong cpu cycles?

From: Willy Tarreau
Date: Sat Jan 03 2004 - 11:56:34 EST


Hi Marco,

On Sat, Jan 03, 2004 at 03:48:39PM +0000, Marco Correia wrote:

> The problem is that the value I get dividing by my processor frequency (my
> computer is a 650Mhz toshiba satellite pro 4340) is giving me about 1 hour
> and I'm using the computer for about 4 fours.
>
> Am I forgetting something obvious? I already googled around but I came to the
> conclusion that only new P4 M processors are able to change speed.

Perhaps it supports throttling. My mobile athlon supports this : 10000 times
a second, it is stopped for a certain amount of time, then resumed. Depending
on the throttling factor, I can even here it !

Cheers,
Willy

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