[squid-users] using squid 3.head for large rock , but i still have mean object size is 32 !!!!!

Ahmed Allzaeem ahmed.zaeem at netstream.ps
Sat Nov 15 01:35:38 UTC 2014


 

Hi ,

 

I migrated from squid 3.4.3 so that I wish to have a chance to save bw.

 

Im using : Squid Cache: Version 3.HEAD-20141105-r13687

 

 

With options below :

 

Service Name: squid

configure options:  '--prefix=/usr' '--includedir=/include'
'--mandir=/share/man' '--infodir=/share/info' '--sysconfdir=/etc'
'--enable-cachemgr-hostname=drx' '--localstatedir=/var'
'--libexecdir=/lib/squid' '--disable-maintainer-mode'
'--disable-dependency-tracking' '--disable-silent-rules' '--srcdir=.'
'--datadir=/usr/share/squid' '--sysconfdir=/etc/squid'
'--mandir=/usr/share/man' '--enable-inline' '--enable-async-io=8'
'--enable-storeio=ufs,aufs,diskd,rock' '--enable-removal-policies=lru,heap'
'--enable-delay-pools' '--enable-cache-digests' '--enable-underscores'
'--enable-icap-client' '--enable-follow-x-forwarded-for' '--enable-auth'
'--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,DB,POP3,getpwnam
,squid_radius_auth,multi-domain-NTLM' '--enable-ntlm-auth-helpers=smb_lm'
'--enable-digest-auth-helpers=ldap,password'
'--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-arp-acl'
'--enable-esi' '--disable-translation' '--with-logdir=/var/log/squid'
'--with-pidfile=/var/run/squid.pid' '--with-filedescriptors=131072'
'--with-large-files' '--with-default-user=squid' '--enable-linux-netfilter'
'CFLAGS=-g -O2 -g -Wall -O2' 'LDFLAGS=' 'CPPFLAGS=' 'CXXFLAGS=-g -O2 -g
-Wall -O2' '--enable-ltdl-convenience'

 

 

I have 16 cores and I have set 6 workes and used aufs cahe dir for bw saving
but still no luck ... the out traffc in general is less than in traffic.

 

This idea is getting me a headache !!!!

 

Here is my cache manager :

Connection information for squid:

        Number of clients accessing cache:    8967

        Number of HTTP requests received:     455542

        Number of ICP messages received:      0

        Number of ICP messages sent:   0

        Number of queued ICP replies:  0

        Number of HTCP messages received:     0

        Number of HTCP messages sent:  0

        Request failure ratio: 0.00

        Average HTTP requests per minute since start: 35706.3

        Average ICP messages per minute since start:  0.0

        Select loop called: 14737492 times, 0.345 ms avg

Cache information for squid:

        Hits as % of all requests:     5min: 10.4%, 60min: 10.6%

        Hits as % of bytes sent:       5min: -0.6%, 60min: -0.8%

        Memory hits as % of hit requests:     5min: 37.1%, 60min: 36.9%

        Disk hits as % of hit requests:       5min: 28.0%, 60min: 28.4%

        Storage Swap size:     29253956 KB

        Storage Swap capacity: 10.6% used, 89.4% free

        Storage Mem size:      2434400 KB

        Storage Mem capacity:  39.6% used, 60.4% free

        Mean Object Size:      32.60 KB

        Requests given to unlinkd:     0

Median Service Times (seconds)  5 min    60 min:

        HTTP Requests (All):   0.15616  0.15748

        Cache Misses:          0.18340  0.19003

        Cache Hits:            0.00030  0.00030

        Near Hits:             0.08938  0.08686

        Not-Modified Replies:  0.00000  0.00000

        DNS Lookups:           0.00000  0.00000

        ICP Queries:           0.00000  0.00000

Resource usage for squid:

        UP Time:       765.486 seconds

        CPU Time:      1333.285 seconds

        CPU Usage:     174.18%

        CPU Usage, 5 minute avg:       176.56%

        CPU Usage, 60 minute avg:      176.15%

        Maximum Resident Size: 22667056 KB

        Page faults with physical i/o: 0

Memory accounted for:

        Total accounted:       1568707 KB

        memPoolAlloc calls:      1830

        memPoolFree calls:  133080611

File descriptor usage for squid:

        Maximum number of file descriptors:   393216

        Largest file desc currently in use:   6574

        Number of file desc currently in use: 23510

        Files queued for open:                   0

        Available number of file descriptors: 369706

        Reserved number of file descriptors:   600

        Store Disk files open:                  37

Internal Data Structures:

        899673 StoreEntries

          2442 StoreEntries with MemObjects

        39600 Hot Object Cache Items

        897283 on-disk objects

 

 

 

And here is iptraf :

 

| Total rates:     752700.3 kbits/sec        Broadcast packets:            0
|

|                   90466.8 packets/sec      Broadcast bytes:              0
|

|
|

| Incoming rates:  378217.1 kbits/sec
|

|                   54377.4 packets/sec
|

|                                            IP checksum errors:           0
|

| Outgoing rates:  375640.1 kbits/sec
|

|                   36089.4 packets/sec
|

|
|

|                                            

 

 

Any help ?????

 

BTW , I used both squid3.4.3 and squid3.head and same issue !!!! why I cant
save bw !!!

 

 

regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20141114/b40beaef/attachment-0001.html>


More information about the squid-users mailing list