cvs commit: ports/www/thttpd/files patch-mmc.c
Mike Silbersack
silby at silby.com
Sun Nov 16 10:25:13 PST 2003
On Sat, 15 Nov 2003, Alexey Dokuchaev wrote:
> BTW, is there any place/docs I can read about pros/cons USE_SENDFILE
> yields me?
>
> Thanks!
>
> ./danfe
I can give you a quick overview:
Pros:
- It's slightly more efficient with system resources.
Cons:
- You need to tune sfbufs rather than mbufs, so it requires a bit more
skill to tune at the moment.
- Sendfile is slightly less efficient at sending small files (for now.)
- The thttpd sendfile support is rather experimental right now.
So, given that thttpd is very efficient without sendfile support compiled
in, it's not worth worrying about using sendfile with it yet. Once I
finish importing some of the DeBox project's changes to sendfile, then
there will be substantial benefits to using sendfile.
Mike "Silby" Silbersack
More information about the cvs-ports
mailing list