Hacker News new | ask | show | jobs
by seunosewa 1475 days ago
On Linux, 99% of the time, you want kernel threads. They can be configured to use very little stack memory. They can be configured to reduce the scheduling overhead by using NOOP scheduling which works for certain workloads. They are rock solid.

Spawning millions of unnecessary user-space threads because they are supposed to be more efficient than kernel threads is rarely the best solution to any problem imho.