#context-switch #performance is around 2.1–2.8 μs of direct cost on a dual Intel 5150 (Woodcrest, “Core”), but typically around 30 μs due to cache pollution
on 02019-02-02#PDF #paper on “Quantifying the Cost of #Context-Switch” puts the direct cost at 3.8 μs on a 2GHz Xeon in 2007, a number which should have improved enormously since then due to TLB tagging, permitting the 90ns results reported on seL4 in 2013. But the indirect costs from cache pollution can be orders of magnitude higher. #performance
on 02019-02-02