Question about resource usage

Question about resource usage

Posted by: modocharlie
Posted on: 2007-09-27 20:59:00

This may sound stupid, and it probably is, but I have a question about the CPU usage reports.

I was glancing at my latest CPU reports when I noticed something that had escaped my eyes in the past: all percentages are calculated assuming days are 24000 seconds long (which is roughly 6.5 hours). It's not that I'm using anything near that, but I wonder why is it that the stats are calculated with 24000 instead of 86400 which is the actual amount of seconds in a day

Yes, I know persistent processes are not allowed and that no one should ever need 86400 CPU seconds per day on a shared account... but for statistical accuracy, shouldn't it be better to just divide the totals by 86400 instead of 24000?

cheers!!


Re: Question about resource usage

Posted by: Atropos7
Posted on: 2007-09-27 22:04:00

In reply to:

Yes, I know persistent processes are not allowed and that no one should ever need 86400 CPU seconds per day on a shared account... but for statistical accuracy, shouldn't it be better to just divide the totals by 86400 instead of 24000?


Apples and oranges. You're thinking elapsed time - like using a stop watch, sampling wallclock time. CPU time is measured differently - clock ticks used executing instructions. 24000 is a fudge factor used to make more sense but not an accurate conversion.


cool openvein.org -//-

Tags: persistent processescpu secondscpu usagepercentagescheers