Messages in this thread | | | Subject | Re: [PATCH] TCP Zero Copy for mmapped files | From | Gianni Tedesco <> | Date | 06 Jan 2003 14:36:19 +0000 |
| |
On Fri, 2003-01-03 at 01:59, Alan Cox wrote: > You may not be doing an mmap a send, its more likely to look like > > page = hash(url); > memcpy(current_time, page->clock, TIMESIZE); > write(sock, page->data, page->len);
If your web data rarely changes, it could also be all the files stored in a hashfile database covered by one large mmap, eliminating filesystem overhead (and vma overhead).
-- // Gianni Tedesco (gianni at scaramanga dot co dot uk) lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import 8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D [unhandled content-type:application/pgp-signature] | |