Slow upload under Windows XP SP3 Guest

Discussions about using Windows guests in VirtualBox.
Post Reply
perico2009
Posts: 5
Joined: 21. May 2009, 11:27
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: WINXP

Slow upload under Windows XP SP3 Guest

Post 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!
kingmikethefirst
Posts: 9
Joined: 16. Sep 2010, 20:11
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Windows XP

Re: Slow upload under Windows XP SP3 Guest

Post 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.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX
Location: U S of A

Re: Slow upload under Windows XP SP3 Guest

Post by ChipMcK »

A number of ISPs throttle uploads, resulting in 'slowness'
kingmikethefirst
Posts: 9
Joined: 16. Sep 2010, 20:11
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Windows XP

Re: Slow upload under Windows XP SP3 Guest

Post by kingmikethefirst »

no.. it is not a ISP with ASDL, its a 100mbit down/up hosting server :)
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX
Location: U S of A

Re: Slow upload under Windows XP SP3 Guest

Post by ChipMcK »

kingmikethefirst
Posts: 9
Joined: 16. Sep 2010, 20:11
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Windows XP

Re: Slow upload under Windows XP SP3 Guest

Post 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?
username_issues
Posts: 2
Joined: 19. Oct 2010, 13:14
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: W7

Re: Slow upload under Windows XP SP3 Guest

Post 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.
username_issues
Posts: 2
Joined: 19. Oct 2010, 13:14
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: W7

Re: Slow upload under Windows XP SP3 Guest

Post by username_issues »

Nothing that I've tried thus far is helping the lack of speed.
atan
Posts: 1
Joined: 7. Dec 2010, 20:33
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Linux, Windows

Re: Slow upload under Windows XP SP3 Guest

Post 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.
tbertran
Posts: 2
Joined: 2. Dec 2010, 03:08
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: XP, 7, Ubuntu

Re: Slow upload under Windows XP SP3 Guest

Post by tbertran »

Bump.
greyclear
Posts: 21
Joined: 7. Sep 2011, 02:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows

Re: Slow upload under Windows XP SP3 Guest

Post 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
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Slow upload under Windows XP SP3 Guest

Post by mpack »

So, the solution was, RTFM? :)
Post Reply