CLR Multi Thread Thrash

  • Thread starter Thread starter Edgar The Awesome
  • Start date Start date
E

Edgar The Awesome

Guest
I have a multithreaded C# program that makes extensive use of the Interlocked and ReaderWriterLockedSlim classes and will spend a quarter of the runtime sitting in a clr function deep in the callstack tree.

Right in:
clr.dll!0x000000713d5d68

According to the CPU profiler in VS 2019 it can use up to 26% of the cpu runtime of the program.

Specs:
OS Name Microsoft Windows 10 Pro for Workstations
Version 10.0.18363 Build 18363
Processor Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz, 3600 Mhz, 6 Core(s), 12 Logical Processor(s)
Hardware Abstraction Layer Version = "10.0.18362.752"

Continue reading...
 
Back
Top