3 ms·
The hardware doesn't know anything about processes. The most efficient model, hardware-wise, is to disable virtual memory and never do a context switch, but we
by pocksuppet 2mo ago
The hardware doesn't know anything about processes. The most efficient model, hardware-wise, is to disable virtual memory and never do a context switch, but we don't see anyone programming like that, except for the crazy SDN folks who are doing software packet forwarding at hundred-gigabit rates.
- mike_hearn 2mo agoWell, a server running a single process is fairly close to that. Switching to kernel mode doesn't require a full context switch and nor does switching between threads.