lkml.org 
[lkml]   [1998]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.105 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site