Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to figure out how to calculate performance (measured in GFLOPS) My thought was I would use GFLOPS = cores x clocks x (FLOPs/cycle), my issue right now is that one of my cores runs at a different speed than the other:

Core 1: ARM Cortex M4 - 167 MHz
Core 2: ARM Cortex A5 - 450 MHz

The formula I found (above) is assuming two cores running at the same speed. Is there an adjustment to figuring out GF/s on a dual core system where they're running at different speeds? Or does it make more sense to calculate each separately and then average the two?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The reason the formula tells you to multiply by the number of cores is that you are actually performing addition multiple times assuming the core speeds are the same. If that is not the case, just separate the calculations and add the results:

[167 x (Flops/cycle)]+[450 x (Flops/cycle)]= GFlops

That's all there is to it.

share|improve this answer
    
Gottcha, I was thinking that too, but I wasn't sure if that was oversimplifying it... considering extra IPC requirements between cores or shared resources or anything –  Mike Dec 4 '12 at 14:41
    
Nope, that's really minor in the grand scale of a GFlop ;) But, good thinking, important not to miss stuff. However, keep in mind this a perfect world calculation too. Typically that is "understood" when you use it. Always expect to max out 5% beneath that calculation (a rule of thumb I've used YMMV). –  Everett Dec 4 '12 at 14:44
    
Fun fact about GFlops. There is a Cray Super Computer in one of the scenes in Sneakers. Did you know that the current model iPad has the same GFlops rating as the SuperComputer used in that movie? –  Everett Dec 4 '12 at 14:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.