On Sun, Nov 05, 2006 at 11:12:17AM +0100, Simon 'corecode' Schubert wrote: > but for static content (which usually is larger in comparison to > dynamically generated pages), and using sendfile, it might be beneficial > (considering 10G ethernet arriving) to just keep a reduced tcp window and > access the buffer cache for lost packets, thus avoiding the duplication.
It's the other way around. For sendfile you can advertise a larger window and not use the socket buffer at all, as the buffer cache can be used to regenerate missing packets. Joerg