All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Kegel <dank@kegel.com>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Nimesh vakharia <nvakhari@clio.rad.sunysb.edu>
Subject: Re: [PATCH] tcp_v4_get_port() and ephemeral ports
Date: Sun, 30 Sep 2001 11:29:38 -0700	[thread overview]
Message-ID: <3BB76492.76D014BE@kegel.com> (raw)
In-Reply-To: <Pine.LNX.4.40.0109301114390.7223-100000@blue1.dev.mcafeelabs.com>

Davide Libenzi wrote:
> 
> On Sun, 30 Sep 2001, Dan Kegel wrote:
> 
> > I'm doing ftp server benchmarking, doing lots of connect()'s.
> > Since ports aren't supposed to be reused for 2MSL (theoretically 120 seconds),
> > the absolute limit on connections per second is 64K/120 = 500.
> > This actually could pose a problem for me.  (Yeah, 2MSL is
> > set to 30 seconds in linux, so the problem isn't as severe
> > as the standard says, but it's still a problem.)
> 
> net.ipv4.tcp_tw_recycle=1
> net.ipv4.tcp_fin_timeout=8
> 
> ONLY FOR TESTING !! :)

OK, thanks, that will help!

I'm still interested in whether that patch I posted makes sense.
bind() *should* work that way, darn it :-)

- Dan

  reply	other threads:[~2001-09-30 18:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-30 18:04 [PATCH] tcp_v4_get_port() and ephemeral ports Dan Kegel
2001-09-30 18:16 ` Davide Libenzi
2001-09-30 18:29   ` Dan Kegel [this message]
2001-09-30 18:41 ` Mika Liljeberg
2001-09-30 20:37   ` Dan Kegel
2001-09-30 21:45     ` Mika Liljeberg
2001-09-30 20:53 ` Chris Wedgwood
  -- strict thread matches above, loose matches on Subject: below --
2001-09-30 21:15 Andi Kleen

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=3BB76492.76D014BE@kegel.com \
    --to=dank@kegel.com \
    --cc=davidel@xmailserver.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nvakhari@clio.rad.sunysb.edu \
    /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.