Subject: Re: pkg/14476: build www/squid with 'diskd' store type
To: NetBSD GNATS submissions and followups <>
From: Greg A. Woods <>
List: netbsd-bugs
Date: 11/05/2001 21:15:45
[ On Tuesday, November 6, 2001 at 11:18:00 (+1100), grant wrote: ]
> Subject: pkg/14476: build www/squid with 'diskd' store type
> squid's 'diskd' store type uses the same storage format as ufs, but
> utilizes a separate process to avoid blocking on the main Squid
> process during disk i/o.

... and as a result it's a *LOT* faster!  :-)

I've been using it happily on several production Squid servers for the
past few month and a half.

Unfortunately the two busiest of them are running FreeBSD due to the
vastly newer (and thus far less buggy and somewhat more efficient)
AIC-7899 driver in FreeBSD (the same one that was over a year ago ported
to NetBSD-current and won't run properly on the machines I have
available to use [w/Intel STL-2 motherboards]).

Before splitting the load between the above two servers I stress tested
one of them with the full load and it sustained, for lengthy peak
periods of time, throughputs of over 850KB/s and over 160 requests per
second, with no evidence that it was maxed out.  Estimates based on the
extrapolation of the cache bake-off results suggest that without diskd
the same hardware would manage only 1/4 the throughput.

							Greg A. Woods

+1 416 218-0098      VE3TCP      <>     <>
Planix, Inc. <>;   Secrets of the Weird <>