0

I have Windows Server 2008 R2 installed as a virtual guest in my Windows 7 host via VirtualBox 4.0.

I did this to move my development activity to a controlled environment that doesn't affect my host OS when I don't want to develop.

The problem I have is that when I try to connect to my shared hosting FTP, it's slow as hell on the virtual OS but perfectly fast on the host.

I tried:

  • Disabling Windows Firewall
  • Trying several different FTP clients

Anyone else have this issue?

2 Answers 2

0

Is your Win 7 host powerful enough to run Win 7 and Win 2008? Just because the Win 2008 box is a VM doesn't mean it isn't going to require much less resources to operate smoothly. Did you check your memory usage in the VM and on the host? How much memory does the host have? How much memory did you allocate to the 2008 VM? If it is too little, then it will end up doing a lot of paging and account for the poor performance. You may be simply running out of resources...

2
  • Highly doubtful; it runs faster than my Windows 7 box. It starts up so fast the progress bar doesn't even move. Thanks for the answer, though! I am running a Core 2 Duo E8600 + 8GB of ram, 3 of which are allocated to the VM. Also, other programs run fine and fast. It's just transfers; it either takes a minute to get a directory listing or doesn't transfer at all.
    – kamranicus
    Jan 11, 2011 at 17:51
  • check your firewall setting and the type of ftp connection: is it active or passive? both required a correct setting of ports both on server and on client Jan 11, 2011 at 18:55
0

I figured it out. In VirtualBox, I set my Network Adapter settings to use "Bridged Adapter" instead of NAT.

Bridged Adapter settings in VirtualBox

This made everything work (FTP, Web Deploy, etc.) MUCH faster.

Thanks for your comments.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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