[Top] [All Lists]

Re: [PATCH] repairing rtcache killer

To: Robert.Olsson@xxxxxxxxxxx (Robert Olsson)
Subject: Re: [PATCH] repairing rtcache killer
From: kuznet@xxxxxxxxxxxxx
Date: Wed, 6 Aug 2003 21:14:56 +0400 (MSD)
Cc: davem@xxxxxxxxxx, Robert.Olsson@xxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <> from "Robert Olsson" at Aug 05, 2003 07:08:23 PM
Sender: netdev-bounce@xxxxxxxxxxx

>  For autotuning I think we can have help from a ratio of warm cache hits 
> (in_hit)
>  and misses (in_slow_tot) to set threshhold to trim hash chain lengths.

Have you already forgotten the whole day lost staring to some impossible
numbers for number of misses? :-)

The only output which you can get from ratio hits/misses is to _increase_
size of cache when number of misses growth. It is not only useless, it
is exactly opposite to the behaviour which you want to see.

We want to shrink it at DoS, remember? I still do not know any criterium,
apparently it should be based not on ratio hits/misses, but on absolute
rates or something like that. average/max = 1/2 is always acceptable,
perfect at normal flow rates and not disasterous even for 1packet/flow.


<Prev in Thread] Current Thread [Next in Thread>