Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Performance - High CPU usage for a WPF/WinForms application

$
0
0

Hi all,

our application implements a trading front-end and is written in C/C++ at its core and WinForms and WPF (in C#) for the graphical part; it's been around for about 10 years now and we've met a variety of problem related to .NET, most of which we could handle - this one is a bit more tricky for us.

One of our customer has a scenario which is "pretty quiet", that is it's not a fast-market scenario: there aren't many graphical updates and generally speaking the application is expected to be have a low CPU usage. Unfortunately they see a different behavior, that is a constant high CPU usage (up to 50%) but we cannot identify any part of our code triggering such a CPU load.

We've asked them to perform various recordings with PerfView and we constantly see CPU time spent in WPF Framework modules: this would suggest some kind of graphical updates but this doesn't seems directly related to any part of our application code. The same scenario executed on our test machines doesn't replicate the problem.

This customer is running under Windows 7 Enterprise, so we were wandering if there were some kind of known WinForms/WPF interaction problems in the libraries shown below, maybe also introduced by some patches.

Thanks.

Simone


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>