3 ms·System call context switching is cheaper than and different from thread/scheduler context switching.by saynsedit 10y agoSystem call context switching is cheaper than and different from thread/scheduler context switching.pcwalton 10y agoOK, but that's irrelevant in this context because Go has to context switch either way.zeeboo 10y agoIt can also switch on memory allocations and function calls as well. I'd expect a large fraction of the context switches come from those events and don't go through the kernel.