Skip site navigation (1)Skip section navigation (2)
Date:      18 Aug 1998 19:36:36 -0500
From:      stephen farrell <stephen@farrell.org>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: sendfile() API?
Message-ID:  <877m05byej.fsf@couatl.uchicago.edu>
In-Reply-To: "Matthew N. Dodd"'s message of "Mon, 17 Aug 1998 13:21:46 -0400 (EDT)"
References:  <Pine.BSF.4.02.9808171320350.5813-100000@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Matthew N. Dodd" <winter@jurai.net> writes:

> Apache 1.3 uses MMAP to send static content.
> 
> I assume this is what sendfile() would do.
> 
> The fact that Apache already has this feature, without the
> abstracting API would indicate that such a thing would be worth it
> no?

The argument (in linux kernel) was something like that mmap has a lot
of overhead, and that a specific sendfile could be better optimized...

http://linux.ucs.indiana.edu/hypermail/linux/kernel/9806.3/0171.html

worth looking at:

http://linux.ucs.indiana.edu/hypermail/linux/kernel/9806.3/0305.html

The discussion is roughly hereish -- need to search around for thread
implementations and sendfile:

http://linux.ucs.indiana.edu/hypermail/linux/kernel/9806.3/index.html

(not that i've been reading linux-kernel or anything ;-)

--

Steve Farrell


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?877m05byej.fsf>