From: Denys Fedoryschenko <denys@visp.net.lb>
To: Octavian Purdila <opurdila@ixiacom.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
Benjamin LaHaise <bcrl@lhnet.ca>,
Stephen Hemminger <shemminger@vyatta.com>,
Cosmin Ratiu <cratiu@ixiacom.com>,
netdev@vger.kernel.org
Subject: Re: [RFC] make per interface sysctl entries configurable
Date: Mon, 26 Oct 2009 17:24:58 +0200 [thread overview]
Message-ID: <200910261724.58541.denys@visp.net.lb> (raw)
In-Reply-To: <200910251954.49700.opurdila@ixiacom.com>
I test it on pppoe with 1k customers. It works flawlessly.
When there is problem on network and i have massive users disconnect and then
login, the bottleneck is in lock somewhere in creation of sysctl(according
perf). PPPoE after 200-300 interfaces will start dying, and connection rate
will drop to 20-50 customers per minute, load average will jump to 70-100 (i
guess pppd processes waiting their turn). With this patch i am able to
sustain 200-300 customers / minute login rate and perftop is "clear" now.
Definitely this option is optional, and doesn't cut any functionality by
default, just giving more choice. And for PPP (pppoe/pptp) NAS it is very
useful.
On Sunday 25 October 2009 19:54:49 Octavian Purdila wrote:
> RFC patches are attached.
>
> Another possible approach: add an interface flag and use it to decide
> whether we want per interface sysctl entries or not.
>
> Benchmarks for creating 1000 interface (with the ndst module previously
> posted on the list, ppc750 @800Mhz machine):
>
> - without the patches:
>
> real 4m 38.27s
> user 0m 0.00s
> sys 2m 18.90s
>
> - with the patches:
>
> real 0m 0.10s
> user 0m 0.00s
> sys 0m 0.05s
>
> Thanks,
> tavi
prev parent reply other threads:[~2009-10-26 15:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-25 17:54 [RFC] make per interface sysctl entries configurable Octavian Purdila
2009-10-25 18:07 ` Denys Fedoryschenko
2009-10-25 21:37 ` Eric Dumazet
2009-10-25 22:21 ` Octavian Purdila
2009-10-25 22:32 ` Denys Fedoryschenko
2009-10-26 9:01 ` Cosmin Ratiu
2009-10-26 4:31 ` Stephen Hemminger
2009-10-26 15:24 ` Denys Fedoryschenko [this message]
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=200910261724.58541.denys@visp.net.lb \
--to=denys@visp.net.lb \
--cc=bcrl@lhnet.ca \
--cc=cratiu@ixiacom.com \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=opurdila@ixiacom.com \
--cc=shemminger@vyatta.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).