Date: Thu, 21 Oct 1999 16:56:01 -0700 (PDT) From: Alfred Perlstein <bright@wintelcom.net> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Optimization done in TCP/IP stack Message-ID: <Pine.BSF.4.05.9910211655270.22033-100000@fw.wintelcom.net> In-Reply-To: <Pine.GSO.3.96.991021152233.29564A-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Oct 1999, Zhihui Zhang wrote: > > I have put all distribution files on a machine and installed three PCs via > FTP from that machine. The installation process should access the same > files, the buffer cache can be used to improve effieciency on the > filesystem side. I am wondering whether some sort of optimization is done > on the TCP/IP side in this situation. Do we have to copy data from > buffer-cache to mbuf each time we need to send the data over network? As > far as I know, the buffer cache has identity associated with it (vnode, > block #), but the mbuf does not. > > Any help is appreciated. You can use "sendfile" to accomplish zero copy file transfer. -Alfred 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.4.05.9910211655270.22033-100000>