<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>whitequark</span></a></span> does one of the two implementations involve more thread switches, where you have lots of "thread A wakes thread B, then thread A goes to sleep"? AFAIK the kernel already can't handle those particularly well (<a href="https://youtu.be/KXuZi9aeGTw?t=611" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">youtu.be/KXuZi9aeGTw?t=611</span><span class="invisible"></span></a>), and I imagine adding more noise to the scheduler could make things worse?</p>