RE: [squid-users] Are there benefits increasing read_ahead_gap in reverse proxy with collapsed_forwarding?

From: Charlie Killian <charlie_at_castfire.com>
Date: Wed, 25 Mar 2009 08:30:28 -0700

Hi Chris. Thanks for the very informative response.

> Setting this to 500MB is IMO overkill and will lead to memory
> starvation issues (remember, this is the maximum buffer size *per
> object*) if you hit a decent number of simultaneous cache misses of
> large objects.
>
> If the origin servers are fairly close to the proxy, then I'd say
> you'd do better with a read_ahead_gap value in the single MB range,
> depending on your total memory available.

500 MB was overkill. In fact, squid ran out of memory during my tests. Now
read_ahead_gap is at 1 MB and squid is humming along.

Thanks again,

Charlie
Received on Wed Mar 25 2009 - 15:30:43 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 25 2009 - 12:00:03 MDT