Date: Sun, 16 Nov 2003 12:25:08 -0600 (CST) From: Mike Silbersack <silby@silby.com> To: Alexey Dokuchaev <danfe@nsu.ru> Cc: ports-committers@freebsd.org Subject: Re: cvs commit: ports/www/thttpd/files patch-mmc.c Message-ID: <20031116121934.B2192@odysseus.silby.com> In-Reply-To: <20031115102127.GA14554@regency.nsu.ru> References: <200311141832.hAEIWnpb056798@repoman.freebsd.org> <20031115102127.GA14554@regency.nsu.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031116121934.B2192>