Re: Should squid RAM management be left to the kernel or configured explicitly?

2010-06-08 Thread Klistvud

Dne, 06. 06. 2010 15:38:47 je Klistvud napisal(a):

Bump!

--
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1275980845.32062...@compax



Re: Should squid RAM management be left to the kernel or configured explicitly?

2010-06-08 Thread Boyd Stephen Smith Jr.
On Sunday 06 June 2010 08:38:47 Klistvud wrote:
 Do you think there would be any point in
 optimizing the squid.conf MEMORY CACHE OPTIONS (such as cache_mem,
 maximum_object_size_in_memory and memory_replacement_policy), or would
 it just duplicate the caching provided by the kernel? I mean, aren't
 all those objects already being held *in RAM* anyway?

If your squid cache size is always smaller than the RAM available to the squid 
process(es), then I wouldn't worry about it.

However, squid is capable of caching much more data than fits into RAM.  In 
that case, you'll want to tweak squid's memory settings so that it 
appropriately chooses what objects to cache on disk.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


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


Re: Should squid RAM management be left to the kernel or configured explicitly?

2010-06-08 Thread Klistvud

Dne, 08. 06. 2010 17:49:56 je Boyd Stephen Smith Jr. napisal(a):

However, squid is capable of caching much more data than fits into  
RAM.


Thanx. Must definitely read up on that (when I find the time).

--
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1276031791.261...@compax



Should squid RAM management be left to the kernel or configured explicitly?

2010-06-06 Thread Klistvud

Howdie, fellow Debianites!

Looking for some input on the following dilemma:
I'm running a small home-LAN squid3 server with 1 GB disk cache and  
trying to optimize its performance. The Lenny machine running it has  
2.5 Gigs of RAM, of which more than 1.5 Gigs is being used as cache (as  
shown by 'free -m'). Do you think there would be any point in  
optimizing the squid.conf MEMORY CACHE OPTIONS (such as cache_mem,  
maximum_object_size_in_memory and memory_replacement_policy), or would  
it just duplicate the caching provided by the kernel? I mean, aren't  
all those objects already being held *in RAM* anyway?


Disparate opinions welcome.
--
Regards, and have a nice day!

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1275831527.3206...@compax