Why does the .NET.NET WPF application have much better user interface performance on the VMWare guest guest?

When testing our C # / application. NET4.0 / WPF on the new Win 7 Enterprise x64 in VMWare 7.1.2 guest guest guest configured with 2 GB of RAM, startup time and user interface performance far exceeded the use of the same application on the host (without any virtual machines) .

The host has 8 GB of RAM, but is quite loaded. The host test was also performed on the guest machine with more load on the host, plus the overhead for the virtual machine, still with similar results, and the guest is faster and has a smoother user interface (I know, a subjective measure).

Here are a few possible reasons:

  • WPF rendering is superior to VMWare's display system compared to the (possibly) AMD buggy driver on the physical level. Please note that the guest is configured with the "Accelerate 3D Graphics" setting turned on. The graphics card is ATI / AMD Firepro, and I had to roll back from the latest driver, since it pretty much killed WPF performance, both on our application and on VS2010.

  • The registry and other curves have a particularly big impact on WPF / .NET perf and a clean virtual machine.

Can anyone give me any other ideas on why this is so, since the request from customers to use the product in the VMWare guest guest system using a clean OS installation will be peculiar.

thanks

0
source share
1 answer

You may have some odd registry settings that prevent the creation of WPF. WPF uses 3 "levels" of rendering (ref: http://msdn.microsoft.com/en-us/library/ms742196.aspx ), and depending on your specific settings, you may get different performances based on where you were created original virtual machine. When you clone a virtual machine, you take all registry settings with you. Below are the tags

+1
source

Source: https://habr.com/ru/post/902612/


All Articles