Re:IBM CTO Sees Smaller Container Platforms Ahead
by ahoka on Tuesday December 31, 2019 @10:14AM
(#21921469)
What's so wrong with the context switch? You need to have some anyway if you want threads in your unikernel.
[ Parent
| on HN ]
Re:IBM CTO Sees Smaller Container Platforms Ahead
by eyberg on Tuesday December 31, 2019 @10:27AM
(#21921580)
This is a common misunderstanding. There are many different types of context switching and you need the context (heh!) To compare apples to apples.
Kernel to userland, thread to thread, process to process, kernel thread vs user thread, etc. It's conflated because different threading models and different kernel/userland separations exist.
Generally speaking (in linux) threads perform much much faster than switching processes.