On 1/23/07, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote:
Am 23.01.2007 um 17:14 schrieb Vlad Seryakov: > and lighttpd also uses sendfile which is faster than user-spave > read-send operation fastpath uses There you go. They do it all in kernel. I guess this can't be beat. Anyways, it is good to know where we stand.
I think this may only apply to larger files, and some old benchmarks I saw showed it was actualy slower for smaller files. Not that this isn't important, but it's not the second coming... :-) For sendfile() to work we need to figure out the new driver callback interface so we can add a Sendfile() callback. Otherwise, large file downloads will break with SSL and other socket drivers. There's stuff about the driver interface in the archives...