All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <dada1@cosmosbay.com>
To: Denys Fedoryshchenko <denys@visp.net.lb>
Cc: David Miller <davem@davemloft.net>,
	netdev@vger.kernel.org, kaber@trash.net,
	netfilter-devel@vger.kernel.org
Subject: Re: kernel 2.6.25-rc7 highly unstable on high load
Date: Thu, 27 Mar 2008 15:52:19 +0100	[thread overview]
Message-ID: <47EBB4A3.4090102@cosmosbay.com> (raw)
In-Reply-To: <20080327144102.M65267@visp.net.lb>

Denys Fedoryshchenko a écrit :
> Yes, it seems related to routing. Before such thing was not happening (maybe 
> because TRIE was operating better?).
>
> Here is info at "peak time", i disable nmi_watchdog now, so garbage collector 
> will not be triggered by nmi watchdog. 
>
> rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|
> rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|rt_cache|
> rt_cache|
>  entries|  in_hit|in_slow_|in_slow_|in_no_ro|  in_brd|in_marti|in_marti| 
> out_hit|out_slow|out_slow|gc_total|gc_ignor|gc_goal_|gc_dst_o|in_hlist|
> out_hlis|
>         |        |     tot|      mc|     ute|        |  an_dst|  
> an_src|        |    _tot|     _mc|        |      ed|    miss| verflow| 
> _search|t_search|
>   247011| 2255410|  162866|       0|     610|       5|       0|       0|   
> 33761|    8574|       0|  165475|  165307|       0|       0|10407428|  174948|
>   251810|   43087|    2782|       0|       9|       0|       0|       0|     
> 618|     122|       0|    2912|    2909|       0|       0|  241946|    3796|
>   256277|   43035|    2739|       0|       9|       0|       0|       0|     
> 595|     121|       0|    2867|    2864|       0|       0|  243724|    3748|
>   260177|   43596|    2647|       0|       8|       0|       0|       0|     
> 672|     123|       0|    2778|    2776|       0|       0|  246880|    4048|
>   232741|   42270|    2759|       0|      15|       0|       0|       0|     
> 665|     135|       0|    2910|    2907|       0|       0|  233990|    3938|
>   226623|   42615|    2792|       0|      11|       0|       0|       0|     
> 723|     132|       0|    2935|    2932|       0|       0|  218378|    3862|
>   233190|   42397|    2778|       0|       8|       0|       0|       0|     
> 675|     128|       0|    2913|    2909|       0|       0|  214258|    3703|
>   239093|   42342|    2713|       0|       9|       0|       0|       0|     
> 764|     126|       0|    2847|    2845|       0|       0|  216453|    4080|
>   150539|   36992|    7564|       0|      58|       0|       0|       0|     
> 539|     283|       0|    7902|    7900|       0|       0|   93459|    1996|
>   154441|   40258|    4422|       0|      12|       0|       0|       0|     
> 655|     212|       0|    4644|    4640|       0|       0|   77271|    1458|
>
> On one "crash" i got 
> Mar 27 11:27:15 205.177.186.74 [ 7141.156100] dst cache overflow
> Mar 27 11:27:15 205.177.186.74 [ 7141.002291] dst cache overflow
> Mar 27 11:27:15 205.177.186.74 [ 7141.162756] dst cache overflow
>
> So i increase now routes amount more than 512K to 5120K, and will see more.
>   
You want to tune route cache for your special needs, and not permit it 
to store 5 millions entries !

# default is a gc every 60 seconds, not good for large caches
echo 1 >/proc/sys/net/ipv4/route/gc_interval
# default is 8 entries per slot..
echo 4 >/proc/sys/net/ipv4/route/gc_elasticity
# avoid a flush every 10 minutes
echo 3600 >/proc/sys/net/ipv4/route/secret_interval




--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-03-27 14:56 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27  6:35 kernel 2.6.25-rc7 highly unstable on high load Denys Fedoryshchenko
2008-03-27  6:40 ` David Miller
2008-03-27  7:03   ` Eric Dumazet
2008-03-27  8:36     ` Denys Fedoryshchenko
2008-03-27  8:48     ` Denys Fedoryshchenko
2008-03-27 14:41     ` Denys Fedoryshchenko
2008-03-27 14:52       ` Eric Dumazet [this message]
     [not found]         ` <20080327151520.M89250@visp.net.lb>
2008-03-27 16:07           ` Eric Dumazet
2008-03-27 16:29             ` Eric Dumazet
2008-03-27 18:37             ` Denys Fedoryshchenko
2008-03-27 18:56               ` Eric Dumazet
2008-03-27 19:05                 ` Denis V. Lunev
2008-03-27 22:03                 ` David Miller
2008-03-28  0:47                   ` Denys Fedoryshchenko
2008-03-28  4:50                   ` Denys Fedoryshchenko
2008-03-28  5:25                   ` Denys Fedoryshchenko
2008-03-28  5:49                     ` Eric Dumazet
2008-03-28  7:38                       ` Denys Fedoryshchenko
2008-03-28  7:46                         ` Eric Dumazet
2008-03-28  9:50                           ` Denys Fedoryshchenko
2008-03-28 15:57                           ` Eric Dumazet
2008-03-28 20:23                             ` Stephen Hemminger
2008-03-28 20:45                               ` Denys Fedoryshchenko
2008-03-28 21:17                                 ` Eric Dumazet
2008-03-28 23:21                                   ` David Miller
2008-03-29  9:35                                     ` Denys Fedoryshchenko
     [not found]                                   ` <20080328220902.M5377@visp.net.lb>
2008-03-29  8:31                                     ` Eric Dumazet
2008-03-27  7:07   ` Denys Fedoryshchenko
2008-03-27 15:01   ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47EBB4A3.4090102@cosmosbay.com \
    --to=dada1@cosmosbay.com \
    --cc=davem@davemloft.net \
    --cc=denys@visp.net.lb \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.