When I run my WPF app locally or over a remote desktop connection (Windows 7 x64), the application runs smoothly with no performance issue. When I deploy the same WPF application to a MS 2008 Server R1 as a RemoteApp, the performance degrades dramatically. The app becomes very sluggish and lags with every keystroke. Each action takes 10 to 30 seconds. During the freezes/slow down period, the CPU usage of the process running on the server spikes and pin the core (it is a quad core CPU) at 100% for the duration. At the same time I observe no other process that is consuming any significant CPU or network activity.
Additional information:
- The WPF application is a striped down testing harness containing only several RadRichTextBox controls with no business logic
- The connection between my computer and the terminal server is over a gigabit LAN so network traffic is not an issue.
- I run the application in maximize mode, which is 1680x1050 at 32bits color. I use the same resolution for the remote desktop connection test and it performs smoothly.
What can cause such a discrepancy in performance?
Paul Chan