3 ms·
• Kernel-mode caching. Requests for cached responses are served without switching to user mode. -- NT is missing sendfile()? Also syscalls are fast on x86_64,
by blinkingled 12y ago
• Kernel-mode caching. Requests for cached responses are served without switching to user mode.
-- NT is missing sendfile()? Also syscalls are fast on x86_64, most stuff is dynamic now a days and serving static files straight from page cache is fast enough.
• Kernel-mode request queuing. Requests cause less overhead in context switching
-- This one is somewhat valid but given you can ctx switch pretty fast on modern CPUs it is not clear how big the gains are.
Yeah but there would be some gains - that's not deniable. Question is whether they are big enough to risk something like the vulnerability at hand.
- enigmo 12y agoIt has TransmitFile and TransmitPackets: https://msdn.microsoft.com/en-us/library/windows/desktop/ms740565(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/ms7... They were in use (at least TransmitFile was) by IIS long before http.sys was conceived.