Instructables

How to benchmark an intel CPU

Have you ever wanted a good comparative method to test the actual speed of your CPU? You can measure its physical speed in GHz, but it won't give you much idea as to how fast it can actually solve problems. For example, you can clock a Pentium 4 at 4GHz, but an i7 at 1GHz will probably be still a lot faster. There are various other benchmarks, like CPU Marks , ok for comparing your CPU to others, but they are otherwise meaningless, and require payware to test your own configuration. If you want to benchmark you CPU, it is best to use GFLOPS (Giga [Billion] FLoating-point Operations per Seconds). It is what all supercomputers will use to test their speed and a very good measure of the processors true speed.

NOTE: This only works on Intel CPUs. You can probably find one for AMD if you google it, but as I don't have any,  haven't really looked. Only thing I could find was a linux version you have to compile yourself.
 
Remove these adsRemove these ads by Signing Up

Step 1: Get Linpack

Picture of Get Linpack
First step is to get Linkpack. This is very straightforward, simply download the correct version from below:
[Linux ]
[Windows ]
[Mac ]

Download it and unzip it and save it to a memorable location.
junio_bsp5 months ago
Thank you man, you help me!
sci4me2 years ago
http://www.instructables.com/answers/Visual-Basic-Code/ Also, heres a screen shot of the program. I made it in visual basic instead. Here it is:
CPUBench.PNG
andy70707 (author)  sci4me2 years ago
Looks very nice so far in terms of UI, I guess you just have to find out how to carry out the tests to get accurate speeds in GFLOPS. Linpack is open source, so you should be able to read the source and copy most from that.
Heres what I had... i gave up though. This code is NOT going to work... well, it will, but its not exactly... good code for testing... It just rates ur pc speed on a scale of 1-10... it needs a calculation to be added. You can figure it out i hope... anyway.. heres the files:
http://solidfiles.com/d/66eb/
andy70707 (author)  sci4me2 years ago
Ahh, I see. Looks good, but inaccurate. I got 10 on my laptop which benchmarks at about 5 GFLOPS, so 8 times slower than my desktop, and even that isn't an extremely high-end machine, although I do understand this is just a concept and may not be fully calibrated. I haven't done much VB programming before, but as of September, I will be learning it more, so I may be able to figure something out.
Go onto youtube, and look fot the tuts on thenewboston. Also, I dont think i put the actual stress code in the program... you will PROBABLY get 10 on MOST computers... It is missing a MAJOR piece... I put TONS of comments where the piece is missing.
sci4me2 years ago
http://www.instructables.com/answers/Visual-Basic-Code/ Also, heres a screen shot of the program. I made it in visual basic instead. Sorry about the quality of the pic..... :/ Here it is:
Picture 016.jpg
andy70707 (author)  sci4me2 years ago
Looks nice so far, as much as I can see. Please, just use the print screen button next time though.
Wheres that?
andy70707 (author)  sci4me2 years ago
Its next to the F12, on the System Request key usually. It will beither be ctrl+prt scr or fn+prt scr, then a screenshot is copied tot eh clipboard. Then you can just pasted it in paint ot something and clip off the edges.
hey thanks! I never knew that existed! Useful!
sci4me2 years ago
What type of tests does this do? I want to make my own simpler version in.. c++ probably. PLEASE REPLY!
andy70707 (author)  sci4me2 years ago
I'm not entirely sure, just some complex mathematical functions and timing how long they take to compute. If you are using the windows or linux version, they actually give you the source, just look in the benchmarks>mp_linpack folder. Please post your final product here, it would be interesting to see how this turns out. It would be good if it was all done through UI, and it auto-detects how much system ram the user has and uses, say, half of that, and always runs a set number of tests and size, unless specified separately.
EXACTLY! Ok, here's what i'm going to do. I'm going to look at the source ad start to look into making this... do you know how I can like... see how long it took to do a piece of code in c++? I will post a link to it here when its done.

p.s. Thanks for the fast reply! Very cool of you! :D THANKS MAN!
andy70707 (author)  sci4me2 years ago
I don't think there is a way, I guess the noly way to tell how long it took to write is by looking at how long it is. I had a quick look myself, and its not excessively long, but tis not a quick snippet either. Could take a week or so to complete. I always try to reply to as many comments/emails I get as soon as possible. I like the feedback :)
Ok, this is unrelated, but ?VERY important... ever since you commented on my CPU Thermal Management thing, I am un-able to view it... it gives me a stupif instructables error... what to do?

p.s. I'll try to figure something out. If I ever do make it, i'll post it here.
andy70707 (author)  sci4me2 years ago
How strange, It may simply be because the topic is so old. I'll just post what I said here instead.

"Re applying the thermal compound definitely does help. I always take it off completely with isopropyl alcohol and re-apply it. Don't use too much either, just a little blob in the middle, and let the heatsink spread it out. I usually buy the expensive stuff, like the nano-diamond or arctic cooling mx-4 (not entirely sure what thats got in, but its not silicone or silver). The silver based stuff works well, but is a pain to get off, and the silicone stuff isn't great, but definitely don't use the white ceramic stuff, it dries up within a few months and really doesn't do much.

As for the temperature, 42-51 degrees is pretty much what is expected for an older CPU like the P4. I have an i5-760 overclocked running at 3.1GHz, and it idles at about 28-36.

Also, the heatsink does make a big difference. I used the stock cooler for an AMD athlon II x4 on another build, and I needed a 6000RPM fan (usually running at about 3500 but it needs to be on about 5000 when gaming or watching blu-ray). When I got my i5, I took one look at the pathetic stock cooler and went out and bought an arctic cooling freezer 7 pro, It keeps the temperature at around 30 degrees even when fully overclocked. The fan only runs at a few hundred RPM, and I think I could probably take it off completely."

Also, good luck with the program, I can't wait to see how this will turn out!
Thanks for that. Again, i'll post it here if I get it done. It may take awhile since I have so much other things to work on... but anyway, thanks!
Nerdz2 years ago
SuperPi Is also pretty much a standard in benchmarking.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!