From: Patrick McHardy <kaber@trash.net>
To: Ron Peterson <rpeterso@mtholyoke.edu>
Cc: Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org,
Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>
Subject: Re: network/performance problem
Date: Fri, 12 Mar 2004 11:11:40 +0100 [thread overview]
Message-ID: <40518CDC.7090805@trash.net> (raw)
In-Reply-To: <20040311233525.GA14065@mtholyoke.edu>
Ron Peterson wrote:
> On Thu, Mar 11, 2004 at 03:15:59PM -0800, Andrew Morton wrote:
>>The profiles tell a story:
>>
>>c0217fb0 wait_for_packet 2 0.0063
>>c0256660 arpt_do_table 2 0.0019
>>c0265ca0 __generic_copy_to_user 2 0.0278
>>c0106bd0 system_call 3 0.0536
>>c0107e8c handle_IRQ_event 3 0.0326
>>c014bf10 statm_pgd_range 3 0.0077
>>c0120ed4 do_wp_page 5 0.0101
>>c024c0d4 ip_conntrack_expect_related 47 0.0368
>>c0105250 default_idle 2817 70.4250
>>c024bae0 init_conntrack 3053 3.7232
>>00000000 total 5962 0.0041
>>
>>It appears that netfilter has gone berzerk and is taking your machine out.
>>
>>Are you really sure that nothing is sitting there injecting new rules all
>>the time?
>
>
> You mean a script calling 'iptables' to dynamically add rules? Nothing
> like that at all. I dumped the current rules below.
>
> Are you looking at the init_conntrack numbers? While they seem, in the
> long run, to be getting larger, they're not increasing monotonically.
> My ping latencies, and the CPU percentage consumed by ksoftirqd_CPU0
> just go up and and up (albeit slowly).
>
The size-128 slab keeps growing over time, I suspect something is
registering lots of expectations. init_conntrack has to walk the
entire list for each new connection. Which helpers are you using ?
Please also post the content of /proc/net/ip_conntrack and your
config.
Regards
Patrick
next prev parent reply other threads:[~2004-03-12 10:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-11 15:27 network/performance problem Ron Peterson
2004-03-11 17:32 ` Ron Peterson
2004-03-11 23:15 ` Andrew Morton
2004-03-11 23:35 ` Ron Peterson
2004-03-12 10:11 ` Patrick McHardy [this message]
2004-03-12 16:10 ` Martin Josefsson
2004-03-12 16:47 ` Ron Peterson
2004-03-12 17:23 ` Ron Peterson
2004-03-12 22:56 ` Ron Peterson
2004-03-14 6:33 ` David S. Miller
2004-03-14 13:23 ` Ron Peterson
2004-03-14 17:33 ` David S. Miller
2004-03-14 18:13 ` Ron Peterson
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=40518CDC.7090805@trash.net \
--to=kaber@trash.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netfilter-devel@lists.netfilter.org \
--cc=rpeterso@mtholyoke.edu \
/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.