Search squid archive

Re: Re: TCP_DISK_HIT = TCP_HIT - TCP_MEM_HIT ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dim, nov 12 2006 - 12:41, Henrik Nordstrom wrote:
> lör 2006-11-11 klockan 14:42 +0100 skrev Joel CARNAT:
> > Hi,
> > 
> > looking at Squid result codes I found:
> > TCP_HIT = object in the cache.
> > TCP_MEM_HIT = object in the cache and in memory.
> > 
> > I did not found any "object in the cache and in the disk".
> 
> The cache consists of the disk. Shadow copies may also be in memory. So
> the above is TCP_HIT.
> 
> Both TCP_HIT and TCP_MEM_HIT is full cache hits. The only differece is
> where Squid had to get the cached data.
> 
> > The idea is just to sum'up HITS correctly in RRDtool :)
> 
> Easier to plot the SNMP counters..
> 

well, in fact I'm doing both (plotting from SNMP entries and from parsing
the logs) and results didn't matched each time.

with SNMP, I found:
	SQUID-MIB::cacheHttpHits.0 = Counter32: 3
	SQUID-MIB::cacheHttpErrors.0 = Counter32: 0
no reference to "Hits from memory".

so I was wondering if I was not mistaking thinking:
	SQUID-MIB::cacheHttpHits = LOG/TCP_HIT + LOG/TCP_MEM_HIT

another way to put this down is:
	If I use SNMP, I don't have the info about where was the object.
	If I use log parsing, the detail is there and I have to sum TCP_HIT
	and TCP_MEM_HIT to get the full hit number. or there another option
	that I missed.

Regards,
	Jo

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux