Re: [squid-users] Squid monitoring, access report shows upto 5 % to 7 % cache usage

2013-07-30 Thread John Joseph


Hi Antony
thanks for the reply, I have filed up the corresponding information below 


- Original Message -
From: Antony Stone antony.st...@squid.open.source.it
To: squid-users@squid-cache.org squid-users@squid-cache.org
Cc: 
Sent: Monday, 29 July 2013 2:45 PM
Subject: Re: [squid-users] Squid monitoring, access report shows upto 5 % to 7 
%  cache usage

On Monday 29 July 2013 at 12:36:05, John Joseph wrote:

 Hi All
 
 For purpose of convincing about the squid cahce, I installed and started
 monitoring SQUID using mysar http://sourceforge.net/projects/mysar/;;
 
 Is this % too low or average  how much should a optimized squid setup give.
 Or should I dig into some more configuration to pump the cache %

 How large is your cache?
  It is  around 556GB, my cache dir details in squid.conf are 

  cache_dir aufs /opt/var/spool/squid 57 32 256


 How many users are going via Squid?
  At present not more than 250  users, but concurrent users will not be 
more than 50 users


 How long have they been using it (how long has Squid been building up its 
cache)?
 3 months 


 How many connection requests do you have per minute/hour/day/whatever makes 
sense?
   Can you please advice me on how to check for this parameter

 How many cache HITs do you see in the log file compared to MISSes (ie: how 
often are cached objects being requested)?
 Can you please advice me on how to check for this parameter



 Any other relevant information you can supply might be helpful in providing 
 an 
answer.

  from the mysar, I get the following information, which I am pasting here 

USERS     HOSTS     SITES     TRAFFIC    Cache Percent
12    990    18336    47.71G     5.00%
21    1020    26877    86.57G     5.00%
31    1017    24811    105.67G 4.00%
59    1024    29185    119.15G 4.00%
41    1022    27245    106.82G 5.00%
25    1022    26785    86.68G     5.00%
29    1019    26609    71.94G     6.00%
23    1019    24863    79.48G     5.00%
20    1016    24334    77.44G     5.00%
43    1015    25206    72.18G     5.00%
18    1016    24187    81.28G     5.00%
38    1021    25538    80.74G     6.00%
30    1021    27427    85.19G     5.00%
31    1021    27369    96.13G     5.00%
29    1019    23879    74.26G     5.00%
28    1014    20715    70.90G     5.00%
22    1010    22537    69.59G     5.00%
22    1021    23031    86.52G     4.00%
19    1015    22542    73.21G     5.00%
16    1020    22408    74.67G     5.00%
23    1021    23594    72.99G     5.00%
28    1021    23408    71.97G     6.00%
17    1006    21390    64.28G     5.00%
23    994    22685    61.42G     5.00%
20    1016    25792    71.54G     5.00%
24    1017    25178    74.03G     5.00%
37    1019    29740    83.19G     5.00%
22    1020    25175    77.47G     5.00%


Guidance and advice requested.
Thanks 

Joseph John


 
 Regards,


 Antony.

-- 
Users don't know what they want until they see what they get.

                                                     Please reply to the list;
                                                           please don't CC me.



Re: [squid-users] Squid monitoring, access report shows upto 5 % to 7 % cache usage

2013-07-30 Thread Amos Jeffries

On 30/07/2013 6:13 p.m., John Joseph wrote:


Hi Antony
thanks for the reply, I have filed up the corresponding information below


- Original Message -

From: Antony Stone antony.st...@squid.open.source.it
To: squid-users@squid-cache.org squid-users@squid-cache.org
Cc:
Sent: Monday, 29 July 2013 2:45 PM
Subject: Re: [squid-users] Squid monitoring, access report shows upto 5 % to 7 
%  cache usage
On Monday 29 July 2013 at 12:36:05, John Joseph wrote:

Hi All

For purpose of convincing about the squid cahce, I installed and started
monitoring SQUID using mysar http://sourceforge.net/projects/mysar/;;

Is this % too low or average  how much should a optimized squid setup give.
Or should I dig into some more configuration to pump the cache %

How large is your cache?

   It is  around 556GB, my cache dir details in squid.conf are

   cache_dir aufs /opt/var/spool/squid 57 32 256



How many users are going via Squid?

   At present not more than 250  users, but concurrent users will not be 
more than 50 users



How long have they been using it (how long has Squid been building up its

cache)?
  3 months



How many connection requests do you have per minute/hour/day/whatever makes

sense?
Can you please advice me on how to check for this parameter


How many cache HITs do you see in the log file compared to MISSes (ie: how

often are cached objects being requested)?
  Can you please advice me on how to check for this parameter


Simplest way is:
.../access.log | grep -c HIT
.../access.log | grep -c REFRESH
.../access.log | grep -c MISS

The next best is:
 squidclient mgr:info




Any other relevant information you can supply might be helpful in providing an

answer.

   from the mysar, I get the following information, which I am pasting here


Ah. This last column 5.00% seems to be the HIT percentage over all 
taht traffic.



USERS HOSTS SITES TRAFFICCache Percent
129901833647.71G 5.00%
2110202687786.57G 5.00%
31101724811105.67G 4.00%
59102429185119.15G 4.00%
41102227245106.82G 5.00%
2510222678586.68G 5.00%
2910192660971.94G 6.00%
2310192486379.48G 5.00%
2010162433477.44G 5.00%
4310152520672.18G 5.00%
1810162418781.28G 5.00%
3810212553880.74G 6.00%
3010212742785.19G 5.00%
3110212736996.13G 5.00%
2910192387974.26G 5.00%
2810142071570.90G 5.00%
2210102253769.59G 5.00%
2210212303186.52G 4.00%
1910152254273.21G 5.00%
1610202240874.67G 5.00%
2310212359472.99G 5.00%
2810212340871.97G 6.00%
1710062139064.28G 5.00%
239942268561.42G 5.00%
2010162579271.54G 5.00%
2410172517874.03G 5.00%
3710192974083.19G 5.00%
2210202517577.47G 5.00%


Guidance and advice requested.
Thanks

Joseph John


Amos


[squid-users] Squid monitoring, access report shows upto 5 % to 7 % cache usage

2013-07-29 Thread John Joseph
Hi All 

For purpose of convincing about the squid cahce, I installed and started 
monitoring SQUID using mysar http://sourceforge.net/projects/mysar/; 

Is this % too low or average  how much should a optimized squid setup give.
Or should I dig into some more configuration to pump the cache % 

thanks
Joseph John


Re: [squid-users] Squid monitoring, access report shows upto 5 % to 7 % cache usage

2013-07-29 Thread Antony Stone
On Monday 29 July 2013 at 12:36:05, John Joseph wrote:

 Hi All
 
 For purpose of convincing about the squid cahce, I installed and started
 monitoring SQUID using mysar http://sourceforge.net/projects/mysar/;
 
 Is this % too low or average  how much should a optimized squid setup give.
 Or should I dig into some more configuration to pump the cache %

How large is your cache?

How many users are going via Squid?

How long have they been using it (how long has Squid been building up its 
cache)?

How many connection requests do you have per minute/hour/day/whatever makes 
sense?

How many cache HITs do you see in the log file compared to MISSes (ie: how 
often are cached objects being requested)?


Any other relevant information you can supply might be helpful in providing an 
answer.


Regards,


Antony.

-- 
Users don't know what they want until they see what they get.

 Please reply to the list;
   please don't CC me.