On Fri, 21 Feb 2003, fooler wrote: > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 21, 2003 5:46 AM > Subject: Re: [plug] (no subject) > > > > sir: > > > > would it make sense to create a big /var/squid/cache? or should i > > make my /var/squid/logs bigger? im not sure how i could optimize > > my proxy server. i alloted 27GB for /var/squid/logs and 4GB > > for /var/squid/logs. > > starting squid version 2.4.x, the ratio is that, for every 1 GB allocated > disk cache requires 32 mb of ram... meaning if you allocated 27 gb for your > disk cache, you need 27*32 or 864 physical ram for squid *only*... you need > more ram for squid's cache_mem (memory caching), disk buffering, network > buffers for every tcp connection and other daemons running in it.. > > squid is a single thread and single process therefore it cant take advantage > on smp environment, its main bottleneck is on the disk i/o... squid > performs very well if you spread your cache on multiple disks or on a > single cache under raid 0 environment... >
Using diskd and asyncio squid can take advantage of SMP. I've run squid on a dual P3 with squid on aio, on reiserfs, mounted with notail/noatime and it flies! _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
