Re: Is sendfile all that sexy?

From: James Sutherland (jas88@cam.ac.uk)
Date: Thu Jan 25 2001 - 04:06:33 EST


On Thu, 25 Jan 2001, Alan Cox wrote:

> > I think, that is not what we need. Once Ingo wrote, that since HTTP
> > serving can also be viewed as a kind of fileserving, it should be
> > possible to create a TUX like module for the same framwork, that serves
> > using the SMB protocol instead of HTTP...
>
>
> Kernel SMB is basically not a sane idea. sendfile can help it though

Right now, ISTR Samba is still a forking daemon?? This has less impact on
performance than it would for an httpd, because of the long-lived
sessions, but rewriting it as a state machine (no forking, threads or
other crap, just use non-blocking I/O) would probably make much more
sense.

James.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:21 EST