Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2001 04:44:02 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        hackers@FreeBSD.ORG
Subject:   Re: thttpd hack for sendfile and accept filters.
Message-ID:  <20010420044402.L1790@fw.wintelcom.net>
In-Reply-To: <20010420024700.E1790@fw.wintelcom.net>; from bright@wintelcom.net on Fri, Apr 20, 2001 at 02:47:00AM -0700
References:  <20010420024700.E1790@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Alfred Perlstein <bright@wintelcom.net> [010420 02:47] wrote:
> http://people.freebsd.org/~alfred/thttpd/thttpd-sendfile-acceptfilter.diff
> 
> foo. :)

First off the initial patch I put up was broken, but it now seems to
work, so if you've downloaded it you might want to make sure you got
the right version.

Second, it looks like there's a few things in thttpd that could be
optimized further.

.) an access cache, it stat(2)s each file request that comes in,
   it could keep a short lived (one or two seconds) cache of 
   stat() requests

.) pre-forking, this would help with stalling on disk IO.

.) kqueue.

So anyone working on this sort of stuff?

-- 
-Alfred Perlstein - [alfred@freebsd.org]
Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.

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?20010420044402.L1790>