Open main menu

CDOT Wiki β

Changes

Dhrystone howto

557 bytes added, 19:06, 16 December 2010
Running the benchmark and gathering results
The make command outputs 2 files named '''gcc_dry2''' and '''gcc_dry2reg'''. The author of this version decided to create 2 dhrystone executables . One with register variables, and one without. Either one will work for the benchmark so, feel free to test it out.
 
<font style="font-size:110%><b>1. Run the executable by typing ''./gcc_dry2''</b></font>
The program will start to ask you for a ''number of runs''. By convention on newer machines, the number of runs used is about '''~100000000''' (100 million). There are no rules or standards about how many runs it should be, what matters is the consistency of the result. For consistent results, dhrystone is executed more than 5 times with same values for number of runs.
 
 
<font style="font-size:110%><b>2. Calculate for DMIPS</b></font>
 
One common representation of the Dhrystone benchmark is DMIPS. DMIPS (Dhrystone MIPS ). It is obtained when the Dhrystone score is divided by '''1757''' (the number of Dhrystones per second obtained on the VAX 11/780, nominally a 1 MIPS machine).
 
Given the result:
 
<blockquote><code>
Microseconds for one run through Dhrystone: 0.8<br />
Dhrystones per Second: 1333333.4
</code></blockquote>
The program will start to ask you for a ''number of runs''. By convention on newer machines, Using the number of runs used is about '''~100000000''' (100 million). There are no rules or standards about how many runs it should be, what matters is the consistency of the result. For consistent results, dhrystone is executed more than 5 times with same values for number of runs.formula:
'''1333333.4 / 1757 = 758.87''' ''DMIPS''
== Project Leader(s) ==
Name(s) of primary people working on the project. If you want to join a project as leader, discuss with other leaders first. Include links to personal pages within wiki
2
edits