News for hackers. Stuff that matters.
Re:A 40-line fix eliminated a 400x performance gap by catlifeonmars on Wednesday January 14, 2026 @02:39AM (#46613391)
I guess if you need the concurrency/throughput you should use a userspace green thread implementation. I’m guessing most implementations of green threads multiplex onto long running os threads anyway
Re:A 40-line fix eliminated a 400x performance gap by jerrinot on Wednesday January 14, 2026 @04:01AM (#46613882)
In a system with green threads, you typically want the CPU time of the fiber or tasklet rather than the carrier thread. In that case, you have to ask the scheduler, not the kernel.