Slashdot Mirror


Quick, Standard Measurement for CPU Power?

captnitro asks: "A particular research project I'm developing right now needs to compare 'potential' (idle/none) and 'load' for various hardware capabilities, and quickly -- maybe up to a several times every minute. For disk space, for RAM, it's relatively easy -- find what's used and what's not and report the ratio. For CPU, I have plenty of time to test 'potential' when the app starts. But for testing CPU load, I need a standard 'ruler' that will be able to compare across varying platforms and processors (e.g., x86, PowerPC, embedded, single and multi-proc) -- so for example, idle percentage won't work. At the same time, I don't have the ability to time 'openssl speed' every 25 seconds without bringing the system to a halt. I'm willing to sacrifice precision of the measurement for generalization of the unit -- that is, the operations that this test is for would be primarily mathematical and not say, text sorts -- but I'd prefer a generic, quick test of the current processor load rather than an average of 25 different tests. Regardless of hardware, the OS distribution is mostly *nix-based -- NetBSD, Linux, and even Mac OS X. Wild ideas are perfectly acceptable -- any thoughts?"

2 of 31 comments (clear)

  1. How about by CounterZer0 · · Score: 2, Insightful

    Mhz? :)
    Or!
    Watts of thermal power on the die surface!

  2. Weigh energy consumption also by russellh · · Score: 3, Insightful

    Whatever you do, give energy consumption some weight in the comparison. In this day and age, low energy requirements is a virtue. In other words, for two CPUs that are otherwise equivalent, the one which consumes lower energy ought to win.

    --
    must... stay... awake...