Featured Post

My Programmer Personality

I just took the Programmer Personality Test which is based on the Myers-Briggs Personality Test.  I am a DLSB - Doer Low level Solo situation liBeral programmer.  If you want to take it you can take it here: http://www.doolwind.com/index.php?page=11

Read More

Benchmarks: Core i7 vs Core 2 Duo vs Virtual Machine

Posted by Keith Elder | Posted in Computer Hardware | Posted on 09-04-2009

8

Let’s get ready to rumble! After my new machine arrived I set out to answer some of my questions.  How much faster is the new machine than the previous laptop I was using to develop on (anyone that has seen me speak in the last two years has seen this laptop).  Is the virtual machine I’ve been developing on for work faster on the new machine? If so is it faster than my old machine?

To get started I downloaded PerformanceTest which gave me a free 30 day trial.  Plenty of time to test and gather benchmarks.  The program is nice because it allows you to easily load up saved tests and do comparisons as you’ll see.  Let’s get started!

The Setup

Updated 4/11/2009 – Several people requested I run some additional benchmarks so this now includes three new benchmarks for the virtual machines.

To try to make things as fair as I could I did a clean boot of each machine and then killed any background processes that were running (utilities, snagit, etc).  I then ran the benchmark twice and took the faster run.  Here’s what each system is running:

  1. DellD820, Dell Lattitude D820 Notebook, Core 2 Duo 2.33GHz, 4GB, 100GB 7200RPM HDD, Windows Vista x32
  2. DellVM2Proc, Dev Virtual Machine, VMWare, 6.5, Two Processors, 1.5GB, Windows Server 2008 x32 (running on D820 Notebook, external eSata drive)
  3. DevVM1Proc4GB, Dev Virtual Machine, VMWare 6.5, Single Processor, 4GB, Windows Server 2008 x32 (running on new PC below)
  4. DevVM2Proc3GB, Dev Virtual Machine, VMWare 6.5, Two Processors, 3GB, Windows Server 2008 x32 (running on new PC below)
  5. DevVM2Proc4GB, Dev Virtual Machine, VMWare 6.5, Two Processors, 4GB, Windows Server 2008 x32 (running on new PC below)
  6. New PC, Core i7 920, 12GB, 300GB 10,000RPM HDD, nVidia 9400GT, Windows Vista x64

CPU

First up is CPU.  Obviously I knew going in the Core i7 was going to take the prize.  What I didn’t expect to see is this wide of a margin.

image

The processor in the Dell is a 2.33GHz Core 2 Duo, so not a bad processor.  Still it gets crushed by the Core i7.  The VMWare virtual machine took last place in this round.  That isn’t too surprising since it is virtualized running only one processor. 

Graphics

This is the biggest surprise of the day.  The little laptop that could came through and crushed the competition.

image

Even the virtual machine almost had the same score as the new PC.  I am completely puzzled over this one.  Maybe some true hardware guru will have some insight, or maybe the benchmark is just broke ?

Since the laptop and the VM don’t have 3D support the only machine that had a score is the new PC, thus no point in showing the benchmark.

Memory

Memory performance starts to give a better idea of how the machine line up in terms of speed.  In this round the laptop takes last place with the VM running on the new PC taking second. 

image

Disk Mark

The disk mark shows the VM taking the prize.  Why?  I have no idea.  For some reason the VM was able to read twice as fast and won in every other category as well.

image

The thing to note in the sequential read mark is the new PC is pushing about 102.8 MB/s throughput.  That’s more than twice as fast as the laptop. 

Summary

So how did the machines stack up in the end? Well, obviously the new PC is going to take the top prize, but the surprising winner when all the numbers were added up is the VMWare virtual machine took second place!  Even more surprising, the VM with 3GB outperformed the 4GB!  There is definitely a difference enabling two processors in VMWare, about 100 points difference between the two. 

What does this mean?  It means that the virtual machine I develop on running on the new PC is faster than the entire laptop I previously used.  To be honest, developing on the laptop wasn’t bad at all.  It performed very well but the new Core i7 system is literally like running two machines in one. 

image

Words of Wisdom

I know a lot of developers are using laptops to develop on today because the performance of them has gotten to be pretty good.  The bottom line though is you will never beat a desktop for speed and performance.  My advice is for you to seriously consider ditching your laptop for serious development and use a desktop.  You just can’t beat the performance.