.net - Minimize the number of cross-core context switches -


I was recently experimenting with the application framework (using the Visual Studio Display Wizard) While working with the indicators, I have seen the fact that cross-core reference switch rates are quite high when the application runs with multiple threads (both background and foreground).

To know that a large number of cross-core projection switches can be harmful for display, I would like to reduce it to minimize.

Together with the potential ways of doing this in the NAT application, can you add some thread to a single core?

But you have to reduce the performance - as long as CLR / OS stops the scheduling threads to the available core can do.

To do this, you can use the method to force the thread to be pinned for identification of a particular processor or core.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -