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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message