Messages in this thread | | | Date | Wed, 4 Nov 1998 14:32:23 +0100 | From | Pavel Machek <> | Subject | Re: Egg on my face -- disk speed |
| |
Hi!
> The only valid way to measure CPU utilization is to start a process > which times how many interations of a busy loop can be executed per unit > time while the system is quiscient, and then compare that with how many > interations of the busy loop is executed while the disk copy (or serial > transfer, or whatever) is taking place.
It might be nice for our idle process to burn idle cycles and compute nuber of cycles burned. This would give pretty accurate numbers.
Pavel
PS: I've done that. There is only one problem: it is _bad_ idea on notebook computer. It may be even bad idea on desktop because more power consumed means more heat and marginal hw will fail. (Not counting adverse effects on environment...)
-- I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |