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

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


Mmm... yes, userspace mmap() could do that in 2.2.xx..

For the "store-to-player" direction, I suppose the raw TCP channel that we have (Hijack, anyway) is likely close to as fast as it can get (except that there are two wasted copy_to/from_user() moves on that path).

For the "fetch-from-player" direction, I don't think anything is using sys_sendfile() yet.. which can eliminate the copy_to/from_user() overhead, even for a userland process.

Cheers