poor performance with vrdp

Discussions about using Windows guests in VirtualBox.
Post Reply
gnordli
Posts: 21
Joined: 26. Aug 2009, 19:27
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

poor performance with vrdp

Post by gnordli »

Hi.

I am running Virtual Box 3.0.4 on Windows Server 2008 R2.

The guest os is Windows 7 64bit with the guest additions installed.

I have the experimental 3D support disabled.

When connecting with VRDP the CPU will spike from 3-5% to approximately 35-40% even though the VM isn't doing anything. As soon as I disconnect the VRDP session the CPU drops back to idle again.

As well, it seem the bandwidth usage is pretty significant when doing a RDP session.

Any ideas on what could be causing this?

As well, what is the bandwidth usage one should expect with vrdp?

thanks,

Geoff
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: poor performance with vrdp

Post by Perryg »

I think that you will find that this is usual and expected results if you are monitoring the processor and bandwidth. This forces the refresh time to be fast and constant. Which will require more bandwidth and processor ticks. I am posting a couple of screen shots to show you what I am talking about. Look at the drop in bandwidth as soon as I stopped monitoring, but still had connection. The unit I was connected to is Debian with (2) Ubuntu servers running in VBox.
remote1.jpg
remote1.jpg (58.13 KiB) Viewed 1709 times
remote2.jpg
remote2.jpg (10.94 KiB) Viewed 1708 times
gnordli
Posts: 21
Joined: 26. Aug 2009, 19:27
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: poor performance with vrdp

Post by gnordli »

Thanks Perryg.

Definitely, I would expect something like this if I were monitoring inside the VM, but I was monitoring on the host OS itself, and it doesn't seem right attaching a VRDP session would spike the CPU like it does. I attached a screenshot of what happens when I attach a vrdp session. This VM is just sitting idle and there is no desktop activity going on that would trigger an screen redraws.

I also did a wireshark sniff and the traffic is 30 MBit/sec, which sounds too believable to even type it. I attached a screenshot of it, and I am filtering for only the port where vrdp is registered (3390).

So it seems all this unnecessary traffic is driving the CPU spike. It seems that it isn't able to determine changed pixels, and instead is just doing a complete screendump.

thanks,

Geoff
Attachments
wireshark on port 3390.png
wireshark on port 3390.png (27.82 KiB) Viewed 1707 times
vrdp attached.png
vrdp attached.png (12.11 KiB) Viewed 1707 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: poor performance with vrdp

Post by Perryg »

Sorry but I don't have this happening here. I will look into this more tomorrow though and see if I can find out what might be causing your problem.
See next snapshot with the remote under my process explorer running.
Attachments
remote4.jpg
remote4.jpg (140.71 KiB) Viewed 1705 times
gnordli
Posts: 21
Joined: 26. Aug 2009, 19:27
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: poor performance with vrdp

Post by gnordli »

I figured it out. I had the remote audio enabled in the rdp session. As soon as I disabled it, the traffic went down to a more reasonable figure.

thanks,

Geoff
Post Reply