From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
To: linux-sctp@vger.kernel.org
Subject: Re: 64000 simultaneous connections
Date: Wed, 05 Oct 2016 16:55:01 +0000 [thread overview]
Message-ID: <20161005165501.GB2958@localhost.localdomain> (raw)
In-Reply-To: <CADz2ZUCDHyskrezX4mqFgnzHXZD3i=tC3MFXapDaEZniacyJBg@mail.gmail.com>
On Wed, Oct 05, 2016 at 12:34:03PM -0400, Al Gambardella wrote:
> Thanks for the reply.
> In addition to the net.ipv4.ip_local_port_range there are parameters
> to check such as: sctp.rto_initial and somaxconn. Also the number max
Why rto_initial? It shouldn't be related.
somaxconn, probably yes, if you're going to storm the listener.
> number of threads and file handles will have to been configured
It depends on how you will test it. SCTP can have all the 64k
associations under the same socket, if you want. But if you use it in a
1-1 style (TCP style), then yes probably you need to boost the number of
file handles.
Same applies for number of threads, only depends on your application.
> appropriately. Does the SCTP source code itself have built in resource
> limits or assumptions about max connections? I am trying to limit the
It might not scale well, but no, no limits like that comes to mind.
> surprises that I know are going to come up as I do this. So any and
> all suggestions are welcome.
Understand, yet as said, it really depends on how you will test it.
>
> Thanks
>
>
> On Wed, Oct 5, 2016 at 11:38 AM, Marcelo Ricardo Leitner
> <marcelo.leitner@gmail.com> wrote:
> > On Wed, Oct 05, 2016 at 11:33:24AM -0400, Al Gambardella wrote:
> >> Is there a how-to on what linux parameters and resources to check and
> >> or modify to support 64000 simultaneous SCTP connections.
> >>
> >> Its for a load test scenario. Each connection would only have to
> >> exchange one message with the remote side then just do keep alives.
> >
> > Seems at least sysctl net.ipv4.ip_local_port_range on client would have
> > to be changed, or you would have to have tons of client IP addresses.
> > Nothing else comes to mind, tough.
> >
> > Marcelo
> >
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2016-10-05 16:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-05 15:33 64000 simultaneous connections Al Gambardella
2016-10-05 15:38 ` Marcelo Ricardo Leitner
2016-10-05 16:34 ` Al Gambardella
2016-10-05 16:55 ` Marcelo Ricardo Leitner [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=20161005165501.GB2958@localhost.localdomain \
--to=marcelo.leitner@gmail.com \
--cc=linux-sctp@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 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).