| To: | Eric Dumazet <dada1@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [BUG] overflow in net/ipv4/route.c rt_check_expire() |
| From: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx> |
| Date: | Sat, 2 Apr 2005 16:46:31 +0200 |
| Cc: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <424EA7C2.6060308@xxxxxxxxxxxxx> |
| References: | <E1DHdsP-0003Lr-00@xxxxxxxxxxxxxxxxxxxxxxxx> <424E641A.1020609@xxxxxxxxxxxxx> <16974.41648.568927.54429@xxxxxxxxxxxx> <424EA7C2.6060308@xxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Eric Dumazet writes:
> Well... yes. This is a real server, not a DOS simulation.
> 1 million TCP flows, and about 3 million peers using UDP frames.
I see.
> > What's your ip_rt_gc_min_interval? GC should be allowed to
> > run frequent to smoothen out the GC load. Also good idea
> > to decrease gc_thresh and you hash is really huge.
> No. As soon as I lower gc_thresh (and let gc running), the machine starts to
> drop connections and crash some seconds later.
> I found I had to make the hash table very large (but lowering elasticity, ie
> chain length) .
> It needs lot of ram, but at least CPU usage of net/ipv4/route.c is close to
> 0.
OK! Not so bad. Most of your GC likely happens in rt_intern_hash chain pruning.
This way you keep hash-chains short and get "datadriven" GC. But there must be
bugs causing the crash...
Maybe there should be an explicit control hash lengths not via elasticity
but adding even more tuning knobs hurts. :)
--ro
|
| Previous by Date: | Re: [BUG] overflow in net/ipv4/route.c rt_check_expire(), Eric Dumazet |
|---|---|
| Next by Date: | Re: Linux support for RDMA (was: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit Proposed Topics), Andrea Arcangeli |
| Previous by Thread: | Re: [BUG] overflow in net/ipv4/route.c rt_check_expire(), Eric Dumazet |
| Next by Thread: | Re: [BUG] overflow in net/ipv4/route.c rt_check_expire(), jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |