Woah.<p>I think that many &quot;servers&quot; today aren&#x27;t going to benefit though from the level of optimization that you&#x27;re talking about. Network bandwidth is at least an order of magnitude slower than memory and PCI throughput. For all but the most heavyweight computational tasks (ie. gaming, finance, scientific computing, etc.) this kind of multiplexing optimization is very helpful. If you&#x27;re needing to get that kind of performance, you would userspace map off the NIC.<p>With how fast modern processors (CPUs and GPUs) are, whats much more important nowadays is not stalling on the flow from the NIC. The solution of the original author seems to me like a very simple fix for the old naive paradigm of state machine switching off from a single thread.<p>I think you might be (impressively) too close to the metal, and guilty of premature optimization. For example, a simple database application would benefit much more from keeping the slow I&#x2F;O bottlenecks flowing than from the compute multiplexing.