Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a VMWare ESXi 4 server running two virtual machines. The host server is a quad core AMD Phenom II with 8 GB RAM and a RAID-5 SATA-II array.

The Debian VM is Debian Lenny with latest updates - x64 version base system install only with samba installed on top (i.e. there's no GUI, it's very lean). Filesystem is XFS.

The Windows VM is Windows 2008 x86 Enterprise Edition with all latest updates.

I have configured both VMs to use 1 vCPU and allowed them to have 2 GB RAM. I copied a 3 GB file multiple times to each one and recorded the times.

  • Lenny: 2mins 35 avg
  • Windows: 45 secs avg

Does anyone have any tips to get the Debian system to match the same speed as the Windows one? Windows is 3.5x faster. They are both using the same hardware, so it's puzzling that the Debian machine is so slow - I think it might be samba, but I'm not sure.

Thanks, Mark.

UPDATE: The client OS is Windows 7

UPDATE2: I just tried the same test on a Windows 2003 VM with the same resources allocated and the average time for that was 49 secs, slightly slower than Win2008 but Debian Lenny is still much slower.

share|improve this question
3  
What's the client OS? SMB2 support in the client is going to make a difference, since W2K8 supports SMB2. –  Evan Anderson Dec 4 '09 at 20:24
    
Not to mention the improved networking stack in Windows 2008. –  Sim Dec 4 '09 at 20:35
    
Thanks for the comments (maybe they should be replies?) - I've updated the original question at the bottom. –  Mark Allison Dec 4 '09 at 21:21
    
Have you installed the VMware Tools on the Debian server? –  Sim Dec 4 '09 at 22:45
    
What speed does the Debian server connect to the network at? –  Sim Dec 4 '09 at 22:58

1 Answer 1

up vote 1 down vote accepted

Have a read of the Debian section of the VMware - Guest Operating System Installation Guide and make sure that the VMware Tools are installed and note the following:

  • When running a 64‐bit Linux guest operating system on EM64T hardware, make sure that you have Execute
    Disable functionality enabled in the host BIOS. This helps to ensure that the Linux guest operating system runs without interruption.
  • With many Linux guest operating systems, various problems have been observed when the BusLogic virtual SCSI adapter is used with VMware virtual machines. VMware recommends that you use the LSI Logic virtual SCSI adapter with this guest operating system.

Also check the Vmware Guest Compatabilty Guide for any Debian specific requirements including recommendations on virtual hardware types to use.

share|improve this answer
    
That's great info, thanks Sim - I'll check all this stuff out later when I get time. –  Mark Allison Dec 7 '09 at 8:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.