Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have used many times ab for measuring web performance, hdparm for measuring hard disk performance and netperf for measuring network performance. But I didn't find any tools to measure cpu performance.

Do you know a tool allowing to measure cpu performance? I am more specifically looking to measure Gflops.

share|improve this question
1  
see "serverfault.com/questions/88357/estimate-flops-in-linux"; for measuring gflops and you can use mpstat or sar command for cpu performance –  harish.venkat Jan 26 '12 at 10:21
    
sar and mpstat indicates cpu activity, not cpu performance. Serverfault question indicates to use LINPACK, which is not open source. –  Coren Jan 26 '12 at 10:44
add comment

2 Answers

up vote 2 down vote accepted

You should take a look at the Wiki page on benchmarking. It gives quite a few benchmark tools including the CPU ones that will work on Linux. LinPack is free but a pain to compile. But you can certainly look at NBench and some others in the list.

share|improve this answer
add comment

The kernel measures bogomips at boot. But as harish says - the question has already been answered on serverfault

share|improve this answer
    
Bogomips does not measure performance, it only gives some indications about processor speed. Wikipedia page you linked confirm this : It is not usable for performance comparison between different CPUs. –  Coren Jan 26 '12 at 11:59
    
I've never seen it displaying anything other then CPU MHz * 2. –  Karlson Jan 26 '12 at 21:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.