Burr CPU Benchmark of Rackspace v. AWS

Jan 24 2012 - Oakland

Lies, damned lies, and benchmarks.

A client recently asked me for some advice on available cloud providers. Given the specific use case, the primary concern is the cpu power to price ratio.

Here I’m comparing the Rackspace 1GB cloud server to an Amazon EC2 medium instance.  This pits 6.5% of a quad core on Rackspace against 5 EC2 Compute units over 2 cores.

To do the cpu comparison I’ll be solving burr puzzles.  Burr puzzles are wooden pieces that fit together in a permutation.

To accomplish this I threw together a sloppy octave script which creates a matrix representation of a 3 dimensional cuboid space and brute forces all permutations with collission detection until a solution is found.  The operations are all matrix addition and equivalency checks.  The script is available at https://github.com/bdigital/burr and the naive benchmark can run with: time octave solve.

While the problem is embarassingly parallel, I’ll be using a single core for this naive benchmark and we’ll extrapolate to compare the two server offerings.  This may be one of many dangerous asssumptions.

Rackspace 1GB Server option:

 

real 1m9.948s

user 1m9.870s

sys 0m0.060s

 

 

    

Amazon Medium Instance:

 

real 1m38.984s

user 1m38.710s

sys 0m0.030s

 

 

I ran these several times to determine on the back of my napkin whether these results were representative of the actual mean computation time, and there is vary low variance in the results.

Since the Rackspace has 4 cores at this computational power and the EC2 instance has 2 cores, I have to conclude that rackspace’s 1GB is a great deal.  Note this rackspace instance is 6 cents an hour, while the EC2 reserved equivalent is 10 cents an hour.