![]() |
|
|
#1 |
|
Oct 2006
1000001002 Posts |
How do you find out the speed of your computer, not the MHz/GHz, but operations per second?
roger |
|
|
|
|
|
#2 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
2·5,393 Posts |
Quote:
The speed is critically dependent on many factors, including precisely which operations you wish to measure, their pattern of memory accesses, the order in which the operations are excuted and many more. Pau |
|
|
|
|
|
|
#3 |
|
Einyen
Dec 2003
Denmark
1100010101102 Posts |
You can get a "Prime95 measurement" using the formulas for how many GFLOP an LL test is and divide with your average iteration time:
http://www.mersenneforum.org/showthread.php?t=10309 Exponent 10.18M to 12.65M: 0.06747706 GFLOP/iteration Exponent 12.65M to 15.07M: 0.08216965 GFLOP/iteration Exponent 15.07M to 17.55M: 0.09722501 GFLOP/iteration Exponent 17.55M to 20.05M: 0.10883397 GFLOP/iteration Exponent 20.05M to 24.93M: 0.14075860 GFLOP/iteration Exponent 24.93M to 29.69M: 0.16941821 GFLOP/iteration Exponent 29.69M to 34.56M: 0.20188702 GFLOP/iteration Exponent 34.56M to 39.50M: 0.22238408 GFLOP/iteration Exponent 39.50M to 49.10M: 0.29747952 GFLOP/iteration Exponent 49.10M to 58.52M: 0.36096600 GFLOP/iteration Close all other programs, put UsePrimenet=0 and StressTester=1 in prime.txt/prime.ini and choose an exponent and put on worktodo.ini/worktodo.txt, for example: AdvancedTest=37033333 Let it run for 10-15min and check the average iteration time, for example 57ms, you get your GFLOPs: 0.22238408(GFLOP/ite) / 0.057(sec/ite) = 3.90 GFLOP/s. You can try 2-3 different exponent from different ranges to see if its consistent. For example for my P4 Prescott 3.4Ghz I got between 3.70 and 3.96 GFLOP/s, so its not super accurate but it gives you a hint. Last fiddled with by ATH on 2008-06-15 at 11:57 |
|
|
|
|
|
#4 | |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
426710 Posts |
Quote:
|
|
|
|
|
|
|
#6 | |
|
Nov 2003
11101001001002 Posts |
Quote:
The short answer is: you CAN'T. #ops/sec is highly variable; it depends on the instruction mix. You can have two machines, A & B, and two piecs of code X & Y. You can make machine A look faster when running X and machine B look faster when running Y. |
|
|
|
|
|
|
#7 | |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
7×292 Posts |
Quote:
|
|
|
|
|
|
|
#8 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
2A2216 Posts |
You can but:
a) it's not clear that this measure gives much guidance on how fast a machine is when doing useful work and b) as I noted earlier, the order of the instructions and their memory usage pattern can have a profound effect on the time taken to be executed. It's certainly possible to have times varying by a factor of 2 or more purely by re-arranging exactly the same instructions ito the optimal and pessimal ordering. Paul] |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lap Top Suddenly 1/4 speed. | petrw1 | Hardware | 35 | 2015-11-07 11:36 |
| Where can I find a Reverse and Add program? I can't find any! | Stargate38 | Programming | 18 | 2015-07-10 06:08 |
| Different Speed in different OS's | Dubslow | Software | 11 | 2011-08-02 00:04 |
| TF speed | Unregistered | Information & Answers | 10 | 2011-07-27 12:34 |
| Changes to the speed of light. | Flatlander | Homework Help | 67 | 2011-01-22 13:37 |