Benchmark between cloud services

Nowadays there are many companies selling out cloud services. In this article, we can view, between Amazon and Rackspace, which company offers the best virtual machine with the minor cost.

Rackspace, Google Compute Engine and Amazon EC2 offer various types of virtual hardware and are used for various purposes. For example, you can buy a VM to host your blog or another application that you are coding.

These companies show some configurations about their products, but which is the most powerful server to process data or to host a database?

Some virtual machines components will be tested out with UNIX commands and you can view the results at the end.

After studying some tools to make a benchmark article about cloud servers I selected these commands:

  • sysbench and hdparm

You can read more about these tools in Ohloh, its home page and others references at the end of this article.

Cursos Online para Auditor de TI do TCU

Attention: These tests were collected on March 20th, 2013.

The same operating system and applications versions were used in all cases.

  • S.O: Ubuntu Server 12.04 LTS
  • sysbench 0.4.12
  • hdparm v9.37
  • disk: 20 Gb on /

Virtual machine:

Rackspace

  • type: 512 RAM (the first type of virtual machine on Rackspace)
  • processor:
  • vCPUs: 1
  • AMD Opteron(tm) Processor 4170 HE (cat /proc/cpuinfo | grep ‘model name’)
  • memory: RAM 512 MB
  • disk: no information
  • cost by hour: $0.022
  • More information about Rackspace Instances: http://www.rackspace.com/cloud/servers/pricing/

Amazon EC2 Micro

  • zone: us-east-1c
  • type: t1.micro
  • processor:
  • Up to 2 EC2 Compute Units (for short periodic bursts)
  • Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz (cat /proc/cpuinfo | grep ‘model name’)
  • memory: 613 MiB memory
  • disk: I/O Performance – Low
  • cost by hour: $0.020 per Hour

Amazon EC2 Small

  • zone: us-east-1b
  • type: m1.small
  • processor:
  • 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit)
  • Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz (cat /proc/cpuinfo | grep ‘model name’)
  • memory: 1.7 GiB memory
  • disk: I/O Performance: Moderate
  • cost by hour: $0.060
  • More information about Amazon Instances: http://aws.amazon.com/ec2/instance-types/

Commands used to make the benchmark:

  • CPU

  • Disk:

First command:

Second command:

Database:

Results

Disk:

  • sysbench: the parameter chosen to compare the two instances was “Total transferred” [1]:

Amazon EC2 Micro

Amazon EC2 Small

Rackspace

  • hdparm

Amazon EC2 Micro

Amazon EC2 Small

Rackspace

Processor:

  • sysbench: the parameter chosen to compare the two instances was “Total time”[1]:

Amazon EC2 Micro:

Amazon EC2 Small

Rackspace:

Mysql Benchmark:

  • systench: the parameter chosen to compare the two instances was “transactions”:

Amazon EC2 Micro

Amazon EC2 Small

Rackspace

All results can be downloaded in this file: cloudservers_benchmark-Amazon-vs-Rackspace.txt

Conclusion

The first virtual machine available on Rackspace offers a great virtual hardware with a good price because its disk, processor and database analysis results are better than Amazon Micro and Small Instances.

This article compared only a few requirements when you have to choose a cloud service. There are others requirements like support, SLA, and others products like the one offered by Amazon Web Service.

References:

Fernando Mariano

Graduated in Computer Engineering and has been working with Systems Administration for 9 years and develops his startup called Enter Concursos.

1 Response

  1. Hello there, You have done a great job. I will definitely digg it and for my part suggest to my friends. I am confident they’ll be benefited from this website.

Leave a Reply