View Single Post
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#3
Originally Posted by mosen View Post
~CPU speed
Code:
time $(i=0; while (( i < 999999 )); do (( i ++ )); done)
This only benchmarks the ALU of a CPU, which might introduce a misleading bias.

For example, the first Atom CPUs, while having a comparibly low clock rate, were actually not bad when it came to ALU operations. What made them feel so horribly slow was, that for every FPU operation they needed two clock cycles, effectively halving their nominal clock rate in these scenarios.

A more sophisticated, but still easy to use benchmark would be nbench [1][2]. There should also be some benchmarks for devices like the N900 in these forums.


[1] https://www.math.utah.edu/~mayer/linux/bmark.html
[2] https://en.wikipedia.org/wiki/NBench
 

The Following 6 Users Say Thank You to sulu For This Useful Post: