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.
I've written an octave script which will create a matrix representation of a 3 dimensional cuboid space and try all permutations until a solution is found. The operations are all matrix addition and equivalency checks. It is a deterministic brute force script. 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||Amazon Medium Instance|
|real 1m9.948s||real 1m38.984s|
|user 1m9.870s||user 1m38.710s|
|sys 0m0.060s||sys 0m0.030s|