All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Bock <mailinglists@bock.nu>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter@vger.kernel.org
Subject: Re: conntrackd failover works partially, was Re: conntrack performance test results in INVALID packets
Date: Thu, 04 Sep 2008 15:27:59 +0200	[thread overview]
Message-ID: <48BFE25F.2080002@bock.nu> (raw)
In-Reply-To: <48BFD49A.8070304@netfilter.org>

Hi Pablo,

Pablo Neira Ayuso wrote:
> * I had to rise the default value of SocketBufferSize and
> SocketBufferSizeMaxGrowth in conntrackd.conf to avoid netlink overflows
> with such amount of traffic. There are log messages in conntrackd.log
> that warn about this issue. Also, you can notice this if you observe
> that conntrackd hits 100% CPU consumption at some point - this happens
> when netlink overflows.

We already raised these values in the past. There are no hints in the
log about overflows.


> * Also, I had to rise the default value of McastSndSocketBuffer and
> McastRcvSocketBuffer since I was noticing packets lost via conntrackd -s
> - see multicast sequence tracking. This happens when the link gets
> pretty congested because of

Since upgrade to >0.9.6, there's no problem with multicast packets in
'conntrackd -s'. On the other hand, we have a dedicated 1 gigabit link
as cluster interconnect. I do not expect congestion there.


> With these tweaks the results were good, conntrackd was consuming about
> the same percetange of CPU than ksoftirqd (~25% each via top, which is
> not very reliable but it's OK for an estimation).

We have quad core machines, and CPU is idling a lot. 2 of the cores are
idle 100%, two are idle around 50%.


> 1) does /var/log/conntrackd.log - or syslog - tells anything relevant?
> Are the entries being comitted to kernel-space successfully?

according to both conntrackd.log and syslog, entries are being commited.
I see no relevant negative entries in both logs (except of course the
INVALID packets).


> 2) Can you see the committed entries in the kernel via `conntrack -L'
> after the fail-over?

yes.


> 3) Are you noticing any abnormal CPU consumption?

no.


Best regards
Bernhard




  reply	other threads:[~2008-09-04 13:27 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18  9:39 conntrack performance test results in INVALID packets Bernhard Bock
2008-07-18 10:13 ` Jan Engelhardt
2008-07-18 10:52   ` Bernhard Bock
2008-07-18 12:14     ` Pablo Neira Ayuso
2008-07-18 14:20       ` conntrackd failover works partially, was " Bernhard Bock
2008-07-21  0:37         ` Pablo Neira Ayuso
2008-07-21 14:22           ` conntrackd failover works partially Bernhard Bock
2008-07-23  8:51             ` Bernhard Bock
2008-07-23 12:50             ` Pablo Neira Ayuso
2008-07-23 15:20               ` Bernhard Bock
2008-08-08  8:47         ` conntrackd failover works partially, was Re: conntrack performance test results in INVALID packets Pablo Neira Ayuso
2008-08-08 12:58           ` Bernhard Bock
2008-09-02  9:39           ` Bernhard Bock
2008-09-02  9:56             ` Pablo Neira Ayuso
2008-09-02 12:34               ` Bernhard Bock
2008-09-02 12:48                 ` Pablo Neira Ayuso
2008-09-02 15:18                   ` Bernhard Bock
2008-09-02 16:22                     ` Pablo Neira Ayuso
2008-09-02 16:55                       ` Bernhard Bock
2008-09-03  9:13                         ` Pablo Neira Ayuso
2008-09-03 11:26                           ` Bernhard Bock
2008-09-04 12:29                             ` Pablo Neira Ayuso
2008-09-04 13:27                               ` Bernhard Bock [this message]
2008-09-05 10:55                                 ` Pablo Neira Ayuso
2008-09-04 11:40                 ` Pablo Neira Ayuso

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=48BFE25F.2080002@bock.nu \
    --to=mailinglists@bock.nu \
    --cc=netfilter@vger.kernel.org \
    --cc=pablo@netfilter.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.