by AdrienLemaire on 12/18/19, 2:15 AM with 1 comments
by AdrienLemaire on 12/18/19, 2:19 AM
It neatly explains the differences between processes, threads, and context, and I learned about the fact that Linux has an extremely low cost of context switching and mode switching compared to other systems.
Yet, I'm still not sure what to do with this ctx_sw value from glances. Anyone using it? How can I define whether the number is too large? What actions should I then take? debugging the processes causing a large number of switches, rebooting, other? I would love to hear from experienced linux users!