VMWare: Very slow network throughput Host->Guest but not Guest->Host PDF Print E-mail
Friday, 29 December 2006 20:08

Host system is linux FC6 and my guest system is also FC6 using VMWare server. But this also could be a Debian host and a WXP guest system.

I am using the bridged networking option and everything works great except for one very annoying thing.
Network transfers moving files from host->guest over the network is incredibly slow something <1KB/s.
This is independant of protocol, I've tried scp, ftp, and samba.
Transfering files using the above protocols from the guest->host is fine getting something in the order of 4000-7000 KB/s.

There is a solution to this problem... 

For anyone else with a similar problem:

Problem is caused by TCP Segment OffLoading of the intel e1000 network card I'm using on my host (although the problem occurs in other 1gig or 10gb cards too). Even though the information I found suggests the relevant bugs were fixed in kernel 2.6.12 (I'm using 2.6.18-1.2849.fc6) I got instant results turning it off.

HOW turn it off in Windows: look under advanced network properties of the card, its called 'large send' and set to none.

HOW turn it off in linux: download a useful tool called 'ethtool' and run 'ethtool -K eth0 tso off' where eth0 is whatever network interface u are using.

Doing this will (or should) reduce your network throughput although this will greatly increase stablility.
My tests actually show this has improved throughput with spectaculair results on my system. Before this change a 14Mb file took about 4 minutes to be copied, now it only takes about 3 seconds. Hurray!

 

Comments  

 
+1 #4 Sebastian 2011-09-07 09:22
Thanks for the solution. We have ~100mb bidirectional throughput on our VM now. Works like a charm!
Quote
 
 
-1 #3 Martyn 2010-11-05 13:22
You have just attained god like status in my sad little world, no longer do I need to watch my VM Guests spend hours downloading from the host.

Thanks
Quote
 
 
+1 #2 Thomas 2010-05-14 09:44
Thanks a lot! As Ramesh says, I did a lot of research too. Your hint was the solution!

Greetings from bavaria
Quote
 
 
+1 #1 Ramesh J Menon 2009-12-25 13:37
Thanks a Million! I spent a whole day researching this issue. I made a matrix of from where to where is the issue. However would I have ever know that this is the issue.

Thanks a million again!
I am setting up Oracle RAC 11g R2 with Solaris 64 bit on VMWARE and this stupid problem was giving me a lot pain till I finally landed up on your page.

Best Regards
Ramesh J Menon
www.rameshjmenon.com
www.oracle.com/technology/ocm/rmenon.html
Quote
 

More KB Articles