Date: Sat, 7 Mar 1998 23:16:43 -0800 (PST) From: Julian Elischer <julian@whistle.com> To: Marc Slemko <marcs@znep.com> Cc: Mike Smith <mike@smith.net.au>, hackers@FreeBSD.ORG Subject: Re: kernel wishlist for web server performance Message-ID: <Pine.BSF.3.95.980307231219.16777G-100000@current1.whistle.com> In-Reply-To: <Pine.BSF.3.95.980307225453.2799O-100000@alive.znep.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Let me put it this way: how else do you propose to do copy avoidance to > avoid an extra copy going into the mbufs? The data must go from the > buffer cache to the network without any copy other than to the network > card itself. Why is your other method of doing this any less of a hack? [...] I would like to add here that in FreeBSD's unified VM/Buffer cache, a mmapped file IS the buffer cache so that a send() from an mmapped file IS copying direct fromt he buffer cache. Ther eis ONE copy.. that from the buffer cache, into the mbuf. (assuming that the data got into the memory via DMA in the first place..) you may need to have a subprocess go through and tuch all the pages to get them into ram first.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980307231219.16777G-100000>