VirtualBox

Ticket #3400 (new defect)

Opened 9 months ago

Last modified 3 weeks ago

Outbound TCP transfers very slow in NAT mode

Reported by: rindfuss Assigned to:
Priority: major Component: network/NAT
Version: VirtualBox 2.1.4 Keywords:
Cc: Guest type: Linux
Host type: Windows

Description

I have vbox 2.1.5r43070, host win xp pro sp3, guest opensuse 11.0, all x86, in a fast ethernet lan environment (100 Mbit/s both ways). I noticed that in NAT mode, downloads from a network server to the vm run at the expected speed of up to 10 Mbytes/s (depending on the protocol used), whereas uploads are about 30 times slower (~330 kbytes/s). In host interface mode, both directions work at full speed. This was tested with ftp, smb and scp. Peter

Attachments

VBox.log (54.0 kB) - added by vladie on 2009-09-05 10:41:14.
vbox defect demonstration log

Change History

2009-05-16 07:59:53 changed by Hachiman

Does anything change with 2.2.2?

(follow-ups: ↓ 3 ↓ 5 ) 2009-05-18 09:08:55 changed by rindfuss

Not really. My last test with 2.2.2 and ftp: download ~ 11 MB/s upload ~ 600 kB/s Should be 11 MB both ways (as is in bridged mode). Peter

(in reply to: ↑ 2 ; follow-up: ↓ 4 ) 2009-05-18 09:23:36 changed by Hachiman

Replying to rindfuss:

Not really. My last test with 2.2.2 and ftp: download ~ 11 MB/s upload ~ 600 kB/s Should be 11 MB both ways (as is in bridged mode). Peter

Hello Peter, Does it depend on chosen protocol? can you check e.g. if the scp upload/download has other ratio?

(in reply to: ↑ 3 ) 2009-05-18 10:20:55 changed by rindfuss

Replying to Hachiman:

Replying to rindfuss:

Not really. My last test with 2.2.2 and ftp: download ~ 11 MB/s upload ~ 600 kB/s Should be 11 MB both ways (as is in bridged mode). Peter

Hello Peter, Does it depend on chosen protocol? can you check e.g. if the scp upload/download has other ratio?

Just tested: scp shows the very same problem in NAT mode. Bridged mode is fine, again.

(in reply to: ↑ 2 ) 2009-06-03 08:49:33 changed by ronon

Replying to rindfuss:

Not really. My last test with 2.2.2 and ftp: download ~ 11 MB/s upload ~ 600 kB/s Should be 11 MB both ways (as is in bridged mode). Peter

I have similar problem on WinXP Pro SP3 Guest running on WinXP Pro SP3 Host.

2009-07-30 21:48:13 changed by frank

The NAT send performance should have notably increased with VirtualBox 3.0.2, can you confirm that?

2009-09-03 22:46:16 changed by vladie

Replying to Hachiman:

Does it change for you with 3.0.6_B1?

Just tested, bug IS NOT fixed :( Downloads ~30mb/s, uploads ~1.3mb/s

2009-09-04 09:46:49 changed by frank

vladie, please attach a VBox.log file of such a 3.0.6 Beta 1 VM session to this defect.

2009-09-05 10:41:14 changed by vladie

  • attachment VBox.log added.

vbox defect demonstration log

2009-09-05 10:42:09 changed by vladie

i've added log. i've started VM, tried to upload file throught NAT, then shutdowned VM.

2009-09-11 16:04:02 changed by vladie

just tested in 3.0.6 release, bug still exists and very annoying :(

2009-09-11 16:35:15 changed by frank

Any difference when using the E1000 device emulation? There are E1000 drivers even for WinXP available on the internet ...

2009-10-13 15:10:51 changed by vladie

just tried with e1000 desktop, problem persists:(

2009-10-30 13:49:15 changed by rindfuss

In 3.0.10, the problem is still there in the standard configuration. But if I increase buffer sizes according to 9.12.3 "Tuning TCP/IP buffers for NAT" in the docs, I get an almost optimal result: Outbound transfers are now only 10% below the maximum speed. I have set all 4 buffers to the max value of 1024 kBytes.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy