Difference between revisions of "Benchmarking: Coremark"
Jump to navigation
Jump to search
| Line 32: | Line 32: | ||
== Results == | == Results == | ||
| + | {| class="wikitable" style="text-align:center; width:100%; " | ||
| + | |+ Coremark V1.0 results | ||
| + | |- | ||
| + | ! scope="col" | CPU !! scope="col" | Freq !! scope="col" | Cores !! scope="Cores" | Coremark !! scope="col" | Coremark/MHz !! scope="col" | Coremark/Core !! scope="col" | Parallel Execution !! scope="col" | Compile Flags | ||
| + | |- | ||
| + | | colspan="8"|''MIPS'' | ||
| + | |- | ||
| + | ! scope="row" | Cavium Octeon II CN6880 || 2.50GHz || 10 || ??? || ??? || 3117 || 1 Thread || -O3 -funroll-all-loops --param max-inline-insns-auto=200 | ||
| + | |- | ||
| + | |} | ||
Revision as of 14:55, 1 April 2014
Decompress
root@jph1:~# tar zxvf coremark_v1.0
cd coremark_v1.0Adjust compilation flags
Seems to be in ./linux64/core_portme.mak
- Change
PORT_CFLAGSvalue to-O3 - Add extra flags to the end of the
CFLAGSstatement
For example (added -funroll-all-loops --param max-inline-insns-auto=200):
CC = gcc
# Flag: CFLAGS
# Use this flag to define compiler options. Note, you can add compiler options from the command line using XCFLAGS="other flags"
PORT_CFLAGS = -O3
FLAGS_STR = "$(PORT_CFLAGS) $(XCFLAGS) $(XLFLAGS) $(LFLAGS_END)"
CFLAGS = $(PORT_CFLAGS) -I$(PORT_DIR) -I. -DFLAGS_STR=\"$(FLAGS_STR)\" -funroll-all-loops --param max-inline-insns-auto=200Run benchmark
Run benchmark with make:
root@jph1:~/coremark_v1.0# pwd
/root/coremark_v1.0
root@jph1:~/coremark_v1.0# makeIf you have a fast system (faster than a RaspberryPi), increase the number of iterations to increase the test run to give a more meaningful result:
root@jph1:~/coremark_v1.0# make ITERATIONS=10Results
| CPU | Freq | Cores | Coremark | Coremark/MHz | Coremark/Core | Parallel Execution | Compile Flags |
|---|---|---|---|---|---|---|---|
| MIPS | |||||||
| Cavium Octeon II CN6880 | 2.50GHz | 10 | ??? | ??? | 3117 | 1 Thread | -O3 -funroll-all-loops --param max-inline-insns-auto=200 |