Post
That is until today. I came across a resolved issue that had been marked as by design; this code legitimately spanned itself across a lot of cores with the intention of getting through this user triggered process really quickly.
0 reposts2 likes
But here I could see this lock consuming CPU due to Windows context switching. This is the overhead of moving threads on and off the CPU. It's usually a tiny overhead in the scheme of things, but here I could not only see it showing up, but i could see 90% of the CPU used was just context switching.