Very slow Remote access to Virtual Machine

Discussions related to using VirtualBox on Windows hosts.
Post Reply
BigBoy007
Posts: 7
Joined: 8. May 2013, 04:41

Very slow Remote access to Virtual Machine

Post by BigBoy007 »

Hey,

I installed Oracle Virtual box on Windows Server 2008 and a Virtual Machine with Windows 2007 professional.

Basically when I remote desktop or teamviewer into the machine, things start to lag. This happens over Lan as well as an outside connection.

Any ideas how to fix this?

Thanks!
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Very slow Remote access to Virtual Machine

Post by noteirak »

Please read Minimum information needed for assistance. and make sure you also include the guest config.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
BigBoy007
Posts: 7
Joined: 8. May 2013, 04:41

Re: Very slow Remote access to Virtual Machine

Post by BigBoy007 »

Sorry

Version 4.2.12 r84980 - Yes I have Guest Additions installed

Host box is Windows 2008 r2, 64bit and has 16GB Ram. Virtual Machine has Windows 2007 Professional and 5GB Ram I have allocated

Attached the log.

Thank you!
Attachments
User-2013-05-08-06-35-12.log
User Log
(48.22 KiB) Downloaded 89 times
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Very slow Remote access to Virtual Machine

Post by noteirak »

Nothing specific in the logs, but you didn't provide a full session (including shutdown of the VM). Also, you didn't provide the guest config.

- I see your main .VDI is on the D:\ drive, anything specific about that drive? Is it an external drive?
- You use NAT it seems and you do port forwarding. You should try with Bridged aswell.
- Any particular reason for the 5GB Memory?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
BigBoy007
Posts: 7
Joined: 8. May 2013, 04:41

Re: Very slow Remote access to Virtual Machine

Post by BigBoy007 »

noteirak wrote:Nothing specific in the logs, but you didn't provide a full session (including shutdown of the VM). Also, you didn't provide the guest config.

- I see your main .VDI is on the D:\ drive, anything specific about that drive? Is it an external drive?
- You use NAT it seems and you do port forwarding. You should try with Bridged aswell.
- Any particular reason for the 5GB Memory?
- D:\ Drive just because it is a 120GB SSD Drive and I thought it would be faster to have each Virtual Machine on it's own harddrive, especially a fast hdd.
- I was told to use NAT from someone, seems to be working well. I do not know much about Bridged.
- I had 4gb and wanted to give 5gb to see if it made things faster, it hasn't. I also tried giving the Virtual Machine 3 CPU instead of 1 CPU. Again no change.

The guest machine runs 2 programs that are fairly resource heavy, so 4GB is probably needed (I have 16GB with 1 virtual machine at the moment so 4GB should be fine?)

What do you suggest I do now then to try and fix this slow remote issue. Thanks!
BigBoy007
Posts: 7
Joined: 8. May 2013, 04:41

Re: Very slow Remote access to Virtual Machine

Post by BigBoy007 »

Here is the guest log I think

Let me know if you need anything else
Attachments
Sean-2013-05-08-10-17-27.log
(86.72 KiB) Downloaded 89 times
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Very slow Remote access to Virtual Machine

Post by noteirak »

Nothing specific. I would think either the NAT mode - if you would switch to Bridged, it would directly bind with the physical NIC and make it appear as another PC on your LAN (so you need another IP address, etc).
The applications could be the issue too, if they are not compatible with remote desktop.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
BigBoy007
Posts: 7
Joined: 8. May 2013, 04:41

Re: Very slow Remote access to Virtual Machine

Post by BigBoy007 »

The application runs fine on Windows Server 2008, which I connect to over Remote Desktop. It lags very badly when I remote desktop to the virtual machine.

So it has to be something to do with the Virtual Box..

I do not have a second IP address at the moment. So is there nothing I can do?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Very slow Remote access to Virtual Machine

Post by noteirak »

Well it's very hard to say. If you can't use Bridged with another IP (I assume you're on a dedicated server in a datacenter), I would use Host-Only mode with routing & NATing, and see if that works better.
If you're on a Windows host, you would do routing + NATing by simply sharing your internet connection (in the NIC properties).
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
BigBoy007
Posts: 7
Joined: 8. May 2013, 04:41

Re: Very slow Remote access to Virtual Machine

Post by BigBoy007 »

My server it at home, not in a datacenter.

Where do I change these settings to "Host-Only mode" I dont even know what this is
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Very slow Remote access to Virtual Machine

Post by noteirak »

If you don't know, I would strongly suggest you read the User Manual on VB Networking.
Also, if your server is at home, there is no reason you can't spare an IP for your VM, unless you can tell me why - Bridged is the best mode for what you are trying to achieve.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
BigBoy007
Posts: 7
Joined: 8. May 2013, 04:41

Re: Very slow Remote access to Virtual Machine

Post by BigBoy007 »

With bridged can I remote desktop from outside the network?

I travel a lot and also have clients that are overseas
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Very slow Remote access to Virtual Machine

Post by noteirak »

Yes you can - you actually can with every mode except internal.
It all comes down to the networking configuration.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply