| To: | Robert.Olsson@xxxxxxxxxxx (Robert Olsson) |
|---|---|
| Subject: | Re: [PATCH] repairing rtcache killer |
| From: | kuznet@xxxxxxxxxxxxx |
| Date: | Wed, 6 Aug 2003 23:01:13 +0400 (MSD) |
| Cc: | Robert.Olsson@xxxxxxxxxxx, davem@xxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <16177.19956.596928.527997@xxxxxxxxxxxx> from "Robert Olsson" at Aug 06, 2003 08:50:28 PM |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hello! > if (in_hit < in_slow_tot) > ip_rt_gc_elasticity2 = 1; > else > ip_rt_gc_elasticity2 = 2*ip_rt_gc_elasticity; > > would have been cleaner It is _much_ cleaner. > but maybe it's not worth it. Well, it is wrong before all. With default settings for number of flows at pktgen you will get always 1 not depending on length of flow at all. No hits just because cache is too small. See? It is the problem. Alexey |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: TOE brain dump, Jesse Pollard |
|---|---|
| Next by Date: | Re: TOE brain dump, Andy Isaacson |
| Previous by Thread: | Re: [PATCH] repairing rtcache killer, Robert Olsson |
| Next by Thread: | Re: [PATCH] repairing rtcache killer, kuznet |
| Indexes: | [Date] [Thread] [Top] [All Lists] |