comparing coremark results from different compiler, systems

168 views
Skip to first unread message

0x2...@gmail.com

unread,
Jan 6, 2015, 10:25:03 AM1/6/15
to core...@googlegroups.com
Hello,

Are Coremark results comparable when compiled with different compiler,  and ran on different operating systems?

I'm comparing 3 systems (3 cores),  for 1) I have to compile using MSVC and then ran on Windows CE, for 2) compile using GCC & ran on Linux, and for 3) I need to compile with ARMCC and adopt it to run on a RTOS.

Looks like a fruit salad, will this comparison mean anything?

Shay Gal-On

unread,
Jan 6, 2015, 5:54:11 PM1/6/15
to core...@googlegroups.com
Hello,

It does look a bit like a salad :)
The answer is that you have to be careful and understand what you are doing.
If possible, try to apply at least similar front end optimizations.
Using a default optimization options setting of the compiler without any extra flags would definitely give you valid comparison points.

As for running on top of an OS, since CoreMark ought to fit in the cache of processors that run win-CE, as long as you take care with what you use for timing, and setup the iterations to run long enough (I would suggest 2 minutes), you should be fine.
I would suggest running a few times (5 times * 2 minutes is only 10 minutes and you can take the median and avoid the headache of just having run when the OS decided it needs to clean something up) and taking the median (or best as there are valid arguments for each).
Depending on what the actual goal of this comparison is, you may want to run may more times and collect stats as another useful data point...

Hope this helps.

Thanks,
- Shay
Reply all
Reply to author
Forward
0 new messages