nnrpd development

Harald Welte laforge at gnumonks.org
Wed Feb 13 21:19:19 UTC 2002


On Wed, Feb 06, 2002 at 10:31:58AM +0100, Matus fantomas Uhlar wrote:
> 
> ->  >- if you've got any complaints, let me know, maybe they'll get fixed
> -> Please consider adding sendfile(2) support.
> 
> what's wrong on mmap() and write() ?

If you use sendfile the right way on OS'es like Linux 2.4.x or recent 
freebsd, you will profit from the zero copy TCP send path in the network 
stack: the network interfaces' dma ring buffer descriptors are set up
to point directly into the page cache. 

-- 
Live long and prosper
- Harald Welte / laforge at gnumonks.org               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ 
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)


More information about the inn-workers mailing list