[squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-13 Thread Arkin, Y
Hey , guys, Recently I did some interesting performance testing . I used memory only for the squid configuration . when I set the the cache_mem to following value , I got incresed CPU utilization . cache_mem 4096 MB, cpu :73% (the value from top or squidclient mgr:info) cache_mem 6144 MB , c

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Henrik Nordstrom
On lör, 2008-06-14 at 14:10 +0800, Arkin, Y wrote: > Configuration: > ./configure --enable-dlmalloc ...etc... Hmm.. don't use --enable-dlmalloc if you have more than 2 GB of memory, or at all if you have a reasonably modern OS.. (i.e. almost anything released this millenium) > one Squid instanc

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Neil Harkins
On Sat, Jun 14, 2008 at 2:25 AM, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: >> one Squid instance is running on the cache server , >> squid .conf : >> cache_mem 8192 MB >> maximum_object_size_in_memory 2048 KB > > This may be the culpit. Squid-2 is very very poor at handling large > objects in m

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Henrik Nordstrom
On lör, 2008-06-14 at 07:55 -0700, Neil Harkins wrote: > > This may be the culpit. Squid-2 is very very poor at handling large > > objects in memory, wasting exponential amount of CPU the larger the > > object is.. This is fixed in Squid-3. > > Could you please provide a link to that bug? Not sur

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Arkin Y
Henrik , Neil , Thanks a lot for your response !! I got several times sent mail failure notice , so I resend it again . hope you could get it . Acctually , I tried to use Linux OS default malloc, gnu malloc , dlmalloc, dlmalloc could help me get the best performance among the three different mall

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-14 Thread Henrik Nordstrom
On sön, 2008-06-15 at 10:57 +0800, Arkin Y wrote: > Acctually , I tried to use Linux OS default malloc, gnu malloc , dlmalloc, > dlmalloc could help me get the best performance among the three different > malloc . Interesting. For me dlmalloc fails completely when the process size goes above 2G

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-15 Thread Arkin Y
Henrik, I used the memory cache only configuration without disk store So : cache_dir null /tmp On start up : Using 8192 Store buckets .. Is there any other information needed in order to analyze such problem ? Thanks , -Arkin On Sun, Jun 15, 2008 at 11:05 AM, Henrik Nordstrom <[EMAIL PROT

Re: [squid-users] Urgent Help Needed: Any suggestion on CPU utiliztion increased from 73% to 97.5 after cache_mem increased from 4 GB to 8 GB

2008-06-16 Thread Henrik Nordstrom
On mån, 2008-06-16 at 13:14 +0800, Arkin Y wrote: > Henrik, > > I used the memory cache only configuration without disk store > So : > cache_dir null /tmp > > On start up : > Using 8192 Store buckets .. > > Is there any other information needed in order to analyze such problem ? No, file a bu