Search squid archive

Re: read_ahead_gap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux