Re: [squid-users] read_ahead_gap

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 15 Nov 2007 02:01:12 +0100

On ons, 2007-11-14 at 11:49 +1100, Mark Nottingham wrote:
> I'd like to double-check the semantics of read_ahead_gap.
>
> AIUI, Squid will buffer up to that much data on both requests and
> responses, in addition to the TCP send and receive buffers.

responses only.

> So, if I have (for the sake of argument) 16K TCP read buffers, 24K
> TCP write buffers, and 32K read_ahead_gap, a pathological request
> case might look like:
>
> client ---> [ 16K worth of TCP read buffer ] --> [ 32K internal Squid
> buffering ] --> [ 24K worth of TCP write buffering ] --> server

yes, if reversing the picture.

The request forwarding path is slightly different, with internal buffers
of only 8KB under normal conditions. There is no tunable knob for this.

Regards
Henrik

Received on Wed Nov 14 2007 - 18:01:17 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST