BogoMips (from "bogus" and MIPS) is an unscientific measurement of CPU speed made by the Linux kernel when it boots, to calibrate an internal busy-loop. An oft-quoted definition of the term is "the number of million times per second a processor can do absolutely nothing." BogoMips can be used to see whether it is in the proper range for the particular processor, its clock frequency, and the potentially present CPU cache. It is not usable for performance comparison between different CPUsFor i386 architecture delay_loop is implemented in /usr/src/linux/arch/i386/lib/delay.c
as:/* simple loop based delay: */ static void delay_loop(unsigned long loops) { int d0; __asm__ __volatile__( "\tjmp 1f\n" ".align 16\n" "1:\tjmp 2f\n" ".align 16\n" "2:\tdecl %0\n\tjns 2b" :"=&a" (d0) :"0" (loops)); }[링크 : http://en.wikipedia.org/wiki/BogoMips] |
어쩌면 가장 단순하면서 명쾌한(?!) cpu의 성능 측정 비교 방법이다.
2010/03/03 - [하드웨어 관련] - bogoMIPS on E5400
'하드웨어' 카테고리의 다른 글
USB 사용가능 최대거리 (0) | 2009.11.17 |
---|---|
DV port(= IEEE 1394) != ZV port (0) | 2009.11.16 |
쇼트키(Schottky) (2) | 2009.11.11 |
anode / cathode - 애노드 / 캐소드 (0) | 2009.10.22 |
CUDA에 대한 의문 - 왜 256MB를 필요로 하는 것일까? (2) | 2009.10.18 |