LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   a way to measure how much flops your PC can do? (https://www.linuxquestions.org/questions/linux-hardware-18/a-way-to-measure-how-much-flops-your-pc-can-do-599536/)

pusrob 11-14-2007 05:57 AM

a way to measure how much flops your PC can do?
 
Hi there.
Well, my question is: is there a way to measure how much flops your PC can do? Ghz and flops are not the same, and I think if I could measure flops somehow, I would have more idea what my computer is good for. You know, I have a PIII and my brother a Core2Duo, and I could compare these machines in a much better way, than with Super Pi or tools like that. I searched freshmeat, sourceforge and google for such tools, but didn't find anything. Any ideas?
Thanks.

marozsas 11-14-2007 07:15 AM

Hardinfo is a very nice benchmark program for linux that one in this same forum suggested in an answer for a very similar question I made a few months ago.


Please, check this post.

rjlee 11-14-2007 07:18 AM

FLOPS stands for Floating Point Operations per Second, and is often used as a way to measure the speed of computing power without bothering about bottlenecks like I/O speed. Typically measured in MFLOPS (Millions of Floating Point Operations per Second).

Linux has its own system called BogoMIPS (Bogus Million Instructions per Second) which gives quite a good indication of the relative speed of fixed-point arithmetic. This is calculated for each processor core and logged at startup (typically going into /var/log/messages or /var/log/dmesg) and worked out before any real I/O is done to make sure it's fairly consistant. BogoMIPS have a couple of drawbacks, since it doesn't look at floating-point calculations and doesn't account for any oddities in your multi-core setup, so it isn't much use for comparing different processor types (Mac vs PC etc) for some applications (e.g. ray tracing or complex modelling) but it does provide a very quick-and-easy comparison with zero actual work.

However, I would be very wary of looking purely at FLOPS (or BogoMIPS) as a measure of overall system speed since they don't account for other speed problems. If your system starts paging to disk then the processor's speed doesn't actually as make much difference as extra RAM, for example, and RAM speed and motherboard (FSB) speed also play a very large role.

I'm not saying you shouldn't be looking for FLOPS measurements but you may be better off looking at overall profiling performance.

With the disclaimers out of the way, you might like to look at http://linux.maruhn.com/sec/flops.html

Hope that helps,

—Robert J Lee

pusrob 11-14-2007 10:54 AM

Thanks for your replies!
That BogoMIPS will be a good comparison number for me. I already checked them out. I found that my 1,3 Ghz celeron M is not much faster than my 1,2 Ghz PIII. Interesting. I'm waiting for my bro's results.


All times are GMT -5. The time now is 09:19 PM.