VMware Cloud Community
ewoodworth
Contributor
Contributor

Extremely Slow gcc build times on Ubuntu VM

Hi,

     I have some engineers working on a vSphere server I built for them and they're having a strange problem when they compile their code.  When they compile their code on a physical ubunut machine it takes ~30 minutes but when they compile on the virtual server it takes ~7.5 hours.  The desktop machine has a newer i5 CPU so I'm not suprised that it would be faster but it shouldn't be 15 times faster.  The only other difference between the two is the VM is running 8.04 and the physical is running 10.04 - but I can't find any posts anywhere that make me think this would explain the difference.

So here's the info about my setup

DL580 G5

4 Intel E7430 quad core

ESX 4.0.0, 261974

raid 10 across 8 15k SCSI disks

The VM in question has

4 CPUs

8GB ram

Tools are installed

Here's some info about the Ubuntu server that takes over 7 hours to do the build:

cat /etc/issue
Ubuntu 8.04.3 LTS \n \l

cat /proc/version
Linux version 2.6.24-28-generic (buildd@crested) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP Wed Aug 18 20:47:07 UTC 2010

uname -m
x86_64

If anybody has any thoughts about this I'd appreciate the help.

0 Kudos
0 Replies