Page 1 of 1

Slow upload under Windows XP SP3 Guest

Posted: 25. May 2009, 12:59
by perico2009
Hi,

Host: Debian Lenny 5.0 - Virtual Box 2.2
Guest: Windows XP SP3
Using: Host Networking with Intel PRO/1000 MT Desktop Adapter

I have a dedicated server with a 100 Mbps bandwidth and I am experiencing very slow uploads to all ftp servers if I try using any ftp client on my WinXP guest. FTP download speed is ok, but upload speed is around 25Kbs, something ridiculous. If I try FTP from the linux host it is fine with good transfer speeds in both directions.

I tried also NAT networking and the upload speed was even worst.

How can I fix this? Any help would be appreciated!

Thanks in advance!

Re: Slow upload under Windows XP SP3 Guest

Posted: 17. Sep 2010, 13:31
by kingmikethefirst
Hello,

I have the same problem.
Bandwidth is 100mbit - Download speeds are OK but the upload is very slow...

It tried this:
http://www.virtualbox.org/manual/ch09.h ... v-settings
Tuning TCP/IP buffers for NAT

The VirtualBox NAT stack performance is often determined by its interaction with the host's TCP/IP stack and the size of several buffers (SO_RCVBUF and SO_SNDBUF). For certain setups users might want to adjust the buffer size for a better performance. This can by achieved using the following commands (values are in kilobytes and can range from 8 to 1024):

VBoxManage modifyvm "My VM" --natsettings1 16000,128,128,0,0

This example illustrates tuning the NAT settings. The first parameter is the MTU, then the size of the socket's send buffer and the size of the socket's receive buffer, the initial size of the TCP send window, and lastly the initial size of the TCP receive window. Note that specifying zero means fallback to the default value.

Each of these buffers has a default size of 64KB and default MTU is 1500.
but all I get is:
error: unknown option: --natsettings1

how can I get fast upload speeds?? my network is now set to "nat"
Thanks.

Re: Slow upload under Windows XP SP3 Guest

Posted: 17. Sep 2010, 15:33
by ChipMcK
A number of ISPs throttle uploads, resulting in 'slowness'

Re: Slow upload under Windows XP SP3 Guest

Posted: 17. Sep 2010, 17:50
by kingmikethefirst
no.. it is not a ISP with ASDL, its a 100mbit down/up hosting server :)

Re: Slow upload under Windows XP SP3 Guest

Posted: 17. Sep 2010, 20:21
by ChipMcK

Re: Slow upload under Windows XP SP3 Guest

Posted: 18. Sep 2010, 10:00
by kingmikethefirst
this is not ADSL..... it is SDSL, 100 mbit/s in both ways. I tested it also on the host, i can upload with 100mbits and download with 100mbit.

I have the same problem as this guy have:
http://www.virtualbox.org/ticket/3400

he managed to fix that problem by changing TCP/IP buffer.
I also tried to change this, but there is no such option as "natsettings1", I get:
"error: unknown option: --natsettings1"

so, any Idea how to fix that?

Re: Slow upload under Windows XP SP3 Guest

Posted: 19. Oct 2010, 13:35
by username_issues
I have the same problem with VirtualBox 3.2.10 on a XP Pro SP3 32bit host.
Upload and download speed is fine on the host. (5Mbps/15Mbps U/D FiOS)
Upload speed is ~100kbps on a Windows 7 Ultimate 32bit guest.
Download speed is fine on that same guest.

I'm working thru the various NICs and settings, but doubt that is it. MTU stuff will be next.

I don't recall having this issue in version 1.x, but of course, I did not attempt W7 in that VBox.

Re: Slow upload under Windows XP SP3 Guest

Posted: 11. Nov 2010, 13:18
by username_issues
Nothing that I've tried thus far is helping the lack of speed.

Re: Slow upload under Windows XP SP3 Guest

Posted: 7. Dec 2010, 20:40
by atan
Same here, Gentoo host and WInXP SP3 guest with NAT. 3.2.12

In host:
Download: 22 184,85 kbit/s (2 773,11 kB/s)
Upload: 16 646,02 kbit/s (2 080,75 kB/s)

In guest:
Download: 18 132,50 kbit/s (2 266,56 kB/s)
Upload: 959,14 kbit/s (119,89 kB/s)

In bridged guest:
Download: 24 880,20 kbit/s (3 110,03 kB/s)
Upload: 17 643,36 kbit/s (2 205,42 kB/s)

UPD: added bridged guest.

Re: Slow upload under Windows XP SP3 Guest

Posted: 27. Jan 2011, 06:25
by tbertran
Bump.

Re: Slow upload under Windows XP SP3 Guest

Posted: 4. Mar 2013, 22:54
by greyclear
Old post I know.. I accidentally came across when I was putting in search stuff google suggestion popped up.. The command to make this work is

VBoxManage modifyvm YourVirtualMachinesName --natsettings1 1500,1024,1024,1024,1024

And this solved my problem with slow upload. I could only get 1Mb/sec, after applying this I was able to get the normal upload rate that I am subscribed to. You can find some more info here http://en.helpdoc-online.com/virtualbox ... 09s11.html

Re: Slow upload under Windows XP SP3 Guest

Posted: 5. Mar 2013, 11:41
by mpack
So, the solution was, RTFM? :)