[Empeg-general] Re: Which is faster? Jemplode vs Emplode

peter@empegbbs-noreply.merlins.org peter at empegbbs-noreply.merlins.org
Tue, 19 Mar 2002 14:23:00 GMT


For the "fetch-from-player" direction, I don't think anything is using sys_sendfile() yet...

Mmm. When I was first writing this, the sendfile man page I had didn't mention that the source fd wasn't allowed to be a socket -- it was a bit disappointing to find that out. 

There's no fundamental reason, of course, why sendfile couldn't optimise away the copies in the read-from-socket-to-mappable-file case, but no-one here has had the kernel-VM-hacking bravery to try it.

Peter