Kacheong Poon wrote:
James Carlson wrote:

I recall seeing questions from customers and/or ISVs who wanted to
have this in Solaris, but I don't see that any RFEs were ever filed.


Actually, Jerry Chu tried to do this project long long time
ago.  He even filed a 1-pager (dated 7/22/97) with some technical
explanations.  I forgot the reason why this project did not work
out.  In case people are interested, I include the technical part
of the 1-pager below.

---

   2.1. Project Description

        Provide an efficient, copyless, in-kernel shortcut for moving
        data between different I/O objects. The premise is that no
        user inspection and/or manipulation of the data is needed.

        This project provides a new system call, splice() that
        moves data all in the kernel address space between two I/O
        objects identified by file descriptors. The motivation
        is to improve I/O performance and reduce CPU utilization.

The description of splice() sounds a lot like sendfile() and sendfilev() that we have in Solaris.

        TransmitFile() man page from Winsock2, WIN32 SDK for Windows NT

That reference adds weight to the similarity.

I don't think sendfile is what was being proposed here though.


--
Darren J Moffat
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to