Re: store_avg_object_size

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Fri, 6 Nov 1998 12:22:04 -0700 (MST)

On Fri, 6 Nov 1998, Rodney Holm wrote:

> I looked at the read histogram and it looks like this.
>
> HTTP I/O
> number of reads: 5093
> deferred reads: 0 (0%)
> Read Histogram:
> ....

This is "single socket read" histogram. It has little to do with object
sizes. For example, a huge object will have many "entries" in this histogram
bins.

The simplest way is to use cache.log -- it shows both the actual number of
objects in your cache and the swap (cache) size. The size/number ratio is
your actual average object size. Should be somewhere around 10-13KB.

Note that for very small caches, those averages do not work very well; just
because the object size variation is large.

Alex.
Received on Fri Nov 06 1998 - 12:17:12 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:58 MST