All of lore.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: netfilter-devel@lists.netfilter.org
Cc: davem@redhat.com
Subject: faster way to read conntrack state than /proc ?
Date: Sat, 18 Oct 2003 09:42:56 +0200	[thread overview]
Message-ID: <20031018074256.GA29942@alpha.home.local> (raw)

Hello,

On LKML, to someone complaining about the slowness of /proc/net/tcp, Davem
suggested to use the netlink interface instead which was really faster. BTW,
the guy confirmed that 'ss' took 6 seconds where 'netstat' took 15 min. So
I was wondering if there is such an equivalent for /proc/net/ip_conntrack,
and if not, what would be needed to implement it, because it's sometimes
annoying to eat 100% system on production machines during several minutes
just to get some statistics about connections status.

Anyone has a clue on this ?

Cheers,
Willy

             reply	other threads:[~2003-10-18  7:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-18  7:42 Willy Tarreau [this message]
2003-10-18  8:55 ` faster way to read conntrack state than /proc ? Martin Josefsson
2003-10-18  9:04   ` Willy TARREAU
2003-10-18  9:09     ` Martin Josefsson
2003-10-18  9:14       ` Willy TARREAU
2003-10-18 16:32   ` Harald Welte

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=20031018074256.GA29942@alpha.home.local \
    --to=willy@w.ods.org \
    --cc=davem@redhat.com \
    --cc=netfilter-devel@lists.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.