# "Runtime scheduling: theory and reality" by Eben Freeman
Scheduling means multiplexing a lot of tasks onto few processors and act as a black box. This part can affect program performance in different way.
Kernel context switch cost on linux kernel. The context switch needs to be measured. The context switch is okay for many task until the context switch is less greater than the delay of the task. You can measure this value with perf bench command.
You can't actually trust a benchmark if you don't analyze it.
On Erlang (https://youtu.be/8g9fG7cApbc?t=1577).
# Resources
- https://www.youtube.com/watch?v=8g9fG7cApbc