Search squid archive

Re: question in cache mem in squid 3

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

 



On 1/08/2013 12:05 p.m., Carlos Defoe wrote:
OK, I thought of the cache_dir while I was writing, but in general,
the cache_mem is the configuration we can change from, let's say, 8 GB
to 32 GB in a minute. What i was asking was: if i have 40 GB of RAM,
can I set something like 32 GB to cache_mem, making the box operate
with about 39GB of memory effectively used, and leaving only something
like 1 GB, or less, for that linux "cache" thing?

In a box without a proxy-cache, let's say, a DNS server, linux will
not use nothing more than 1GB of RAM, doing no "disk cache". But the
fact is that you can put 100GB on a linux box with squid, with only 2
GB of cache_mem, 20 GB of cache_dir, and we will have about 4GB of RAM
effectively used, and all the rest of the memory will be "used" as
disk cache by linux. There's no real need for that? Can we grow the
effective usage, configuring squid, until we have no memory used for
"cache" by linux?

I suspect so. The kernel should be auto-adjusting its cache usage.

Amos




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

  Powered by Linux