Search squid archive

Re: Large Files

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

 



fre 2006-09-01 klockan 17:17 -0700 skrev Mark Nottingham:

>    - squid.conf says that memory is used for "in-transit objects."  
> What exactly is kept in memory for in-transit objects; just metadata,  
> or the whole thing?

metadata + what is currently being proxied.

>    - if something is in memory cache, does it get copied when it is  
> requested (because it is in-transit)?

memory cache is the in-transit memory. The cache is by simply not
removing the data from the in-transit buffers.

>    - How does sendfile support in 2.6 affect this?

It doesn't. Not really usable for Squid. Using sendfile outside one
thread/process per request designs is not trivial. So it works quite
nicely for most traditional servers, but not that well for event loop
based ones..

>    - Does anyone have any experiences they'd care to relate regarding  
> memory-caching very large objects?

Perfomance in Squid-2 on very large in-memory objects sucks a quite bit
in terms of CPU usage due to poor design of the in-memory "cache" in
Squid. It wasn't intended to be used for objects >8KB.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux