4

I want to compare 2 clusters for single core performance. One cluster is based on Mac OS X and the other one is a centOS cluster.

Is there a C/C++ code that I can compile on each and run and see how fast it runs on both for comparison?

  • 1
    What operating system and cluster abstraction framework are you using? – Nicolas Raoul Dec 16 '15 at 18:49
  • 1
    If you pick a random program and run it on both, how will you know that gives you any useful data regarding the performance you need? – Ira Baxter Dec 16 '15 at 23:04
  • What you are looking for is called a Cluster Benchmark - there are several available but as with any benchmark a lot will depend on the planned usage of the cluster(s). – Steve Barnes Dec 17 '15 at 7:08
2

This kind of benchmark only can give you an approximation because whatever you compile might not be comparable because the same code might get more optimized on the one cluster than on the other. Choosing optimal and non-optimal compiler settings might already make a big difference.

When I understand you correctly you are only looking for single core performance. In that scenario it should not matter if you are using a cluster or not.

Either look up the specint value for the different cpus you are using. Or simply run 7z in benchmark mode, limited to one thread: 7z b -mmt1. All this can give you an idea of the speed, but to get real figures you need to run a test that fits the usage scenario of your cluster.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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