netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Vittrup Larsen <michael.vittrup.larsen@ericsson.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: "David S. Miller" <davem@davemloft.net>, netdev@oss.sgi.com
Subject: Re: [PATCH] tcp: efficient port randomisation (revised)
Date: Mon, 6 Dec 2004 09:18:04 +0100	[thread overview]
Message-ID: <200412060918.04441.michael.vittrup.larsen@ericsson.com> (raw)
In-Reply-To: <41B14E57.5080803@osdl.org>

Measuring non-blocking connect using the loopback address I agree with 
Stephen' conclusion, that the cost of the MD4 gets lost in the noise.

I did not measure the variance, since this probably describe scheduling and 
not the actual ephemeral bind.  However, I did measure the minimum value, and 
the assumption is that this is close to a measurement of an uninterrupted 
connect.  Median filtering probably would be more correct...

Below are the results from 10 successive tests.

Unmodified (average and minimum values):

connect 24433 (min 21820) [ticks/op]
connect 24504 (min 21927) [ticks/op]
connect 24530 (min 21952) [ticks/op]
connect 24244 (min 21607) [ticks/op]
connect 24220 (min 21613) [ticks/op]
connect 24117 (min 21665) [ticks/op]
connect 24148 (min 21663) [ticks/op]
connect 24079 (min 21648) [ticks/op]
connect 23998 (min 21700) [ticks/op]
connect 23906 (min 21682) [ticks/op]

Modified (average and minimum values):

connect 23961 (min 21774) [ticks/op]
connect 23894 (min 21750) [ticks/op]
connect 23927 (min 21776) [ticks/op]
connect 23881 (min 21757) [ticks/op]
connect 23956 (min 21749) [ticks/op]
connect 23872 (min 21710) [ticks/op]
connect 23848 (min 21694) [ticks/op]
connect 23729 (min 21769) [ticks/op]
connect 23656 (min 21618) [ticks/op]
connect 23723 (min 21699) [ticks/op]

  reply	other threads:[~2004-12-06  8:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20041027092531.78fe438c@guest-251-240.pdx.osdl.net>
     [not found] ` <200410291048.01955.michael.vittrup.larsen@ericsson.com>
2004-10-29 17:28   ` [PATCH] tcp: efficient port randomisation Stephen Hemminger
2004-11-01  9:58     ` Michael Vittrup Larsen
2004-11-01 17:20       ` Stephen Hemminger
2004-11-02  7:54         ` Michael Vittrup Larsen
2004-11-04 18:01           ` Stephen Hemminger
2004-11-05 10:03             ` Michael Vittrup Larsen
2004-11-17 23:30               ` [PATCH] tcp: efficient port randomisation (revised) Stephen Hemminger
2004-11-19  7:38                 ` Michael Vittrup Larsen
2004-12-01  5:46                 ` David S. Miller
     [not found]                   ` <20041201152446.3a0d5ce3@dxpl.pdx.osdl.net>
     [not found]                     ` <20041201204622.7b760400.davem@davemloft.net>
2004-12-02 21:49                       ` Stephen Hemminger
2004-12-02 21:52                         ` David S. Miller
2004-12-02 22:51                           ` Stephen Hemminger
2004-12-02 23:01                           ` Stephen Hemminger
2004-12-04  5:42                           ` Stephen Hemminger
2004-12-06  8:18                             ` Michael Vittrup Larsen [this message]
2004-12-06 17:42                               ` [PATCH] tcp: efficient port randomisation (rev 3) Stephen Hemminger
2004-12-09  7:55                                 ` David S. Miller
2004-12-11  1:09                                   ` [PATCH] tcp: efficient port randomistion " Stephen Hemminger
2004-12-20 23:39                                     ` David S. Miller
2005-06-22  9:17                                       ` Michael Vittrup Larsen
2005-06-22 16:44                                         ` Stephen Hemminger

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=200412060918.04441.michael.vittrup.larsen@ericsson.com \
    --to=michael.vittrup.larsen@ericsson.com \
    --cc=davem@davemloft.net \
    --cc=netdev@oss.sgi.com \
    --cc=shemminger@osdl.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).