Mike Silbersack wrote:
> On Mon, 24 Jun 2002, Kenneth D. Merry wrote:
> > On Mon, Jun 24, 2002 at 01:17:03 -0500, Mike Silbersack wrote:
> > > On Sun, 23 Jun 2002, Kenneth D. Merry wrote:
> > >
> > > > I'm planning on checking in the zero copy sockets code Tuesday evening,
> > > > MDT. If there are any concerns, I'm more than willing to delay it.
> > >
> > > Out of curiousity, what happens when the page being write()n is a mmap'd
> > > page shared by multiple processes? Will the page be shared? That could
> > > be a big reduction in mbuf cluster usage on some http/ftp systems, I'd
> > > guess.
> > The page would be shared, until one of the processes decides to write to it
> > while it is still referenced in the kernel. If that happens, it'll get
> > copied.
> > Ken
> Cool, thttpd / others should benefit greatly then.
The last time I checked thttpd didn't even use sendfile(2). It does
use accf_http(9). Maybe kqueue(2) could speed it up further.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message