From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "Usuário do Sistema" <maiconlp@ig.com.br>
Cc: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Concurrent Sessions/Sessions per second
Date: Sun, 30 Dec 2012 04:21:49 +0100 [thread overview]
Message-ID: <20121230032149.GA13848@1984> (raw)
In-Reply-To: <CAMTjHrwtaUV60nB5exUkiwNDsrFUDU4Rv2ep67c3VV230C-fvQ@mail.gmail.com>
Hi,
On Thu, Dec 27, 2012 at 03:17:04PM -0200, Usuário do Sistema wrote:
> Hello everyone,
>
> anyone help me how can I figure out the follows value in my Linux box ?
>
> Max Concurrent Session
> New Sessions per second
>
> they are related with CPU of the machine ?
CPU and other hardware aspects are important. But there several
configuration parameters (like using the irqbalance daemon, tweaking
the conntrack table) and they make a difference.
I suggest you a read of the evaluation part of these articles:
http://1984.lsi.us.es/~pablo/docs/intcomp09.pdf
http://people.netfilter.org/kadlec/nftest.pdf
Another important thing while benchmarking is that you have to make
sure that neither your client nor your benchmark server become the
bottleneck. Otherwise, you end up getting misleading benchmarking
results.
> there is any way how to figure out how many connections are through
> my firewall iptables ?
You can obtain the maximum sessions/s by generating lots of well small
connections, ie. assuming TCP, 3-way handshake and then immediately
tearing down the connection.
For the client side, you can probably check this utility, it generates
plain HTTP requests:
http://1984.lsi.us.es/git/http-client-benchmark/
For the server side, I suggest you to grab Willy Tarreau's httpterm:
http://1wt.eu/tools/httpterm/
I have tried many other utilities in the past, but those are my
favorite ones so far.
next prev parent reply other threads:[~2012-12-30 3:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-27 17:17 Concurrent Sessions/Sessions per second Usuário do Sistema
2012-12-30 3:21 ` Pablo Neira Ayuso [this message]
2012-12-30 4:49 ` Eliezer Croitoru
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=20121230032149.GA13848@1984 \
--to=pablo@netfilter.org \
--cc=maiconlp@ig.com.br \
--cc=netfilter@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.