From: Terje Eggestad <terje.eggestad@scali.com>
To: root@chaos.analogic.com
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: TCP/IP Speed
Date: 31 Jan 2002 15:00:27 +0100 [thread overview]
Message-ID: <1012485627.21288.100.camel@pc-16.office.scali.no> (raw)
In-Reply-To: <Pine.LNX.3.95.1020130114353.15469A-100000@chaos.analogic.com>
In-Reply-To: <Pine.LNX.3.95.1020130114353.15469A-100000@chaos.analogic.com>
Hmmm,
I tend to use the rdtsc register to do these kind of measurements,
but I get ~110 uS round trip with or without TCP_NDELAY
I get ~100uS wehen pinging with raw ethernet frames.
PS: Intel 82557 Ethernet Pro 100 NIC's
TJ
ons, 2002-01-30 kl. 17:47 skrev Richard B. Johnson:
> On Wed, 30 Jan 2002, Zwane Mwaikambo wrote:
>
> > On Wed, 30 Jan 2002, Richard B. Johnson wrote:
> >
> > > But it's already connected.
> > >
> > >
> > > host:
> > > for (;;) {
> > > gettimeofday(...);
> > > write(s, buf, 64);
> > > read(s, buf, sizeof(buffer));
> > > gettimeofday(...);
> > > /* delay is 1.0 ms */
> > > }
> > > server is IPPORT_ECHO
> >
> > You didn't make that explicit in your previous email, and anyway what kind
> > of resolution can you expect from gettimeofday...
> >
>
> The resolution is in microseconds. That's the specification. Not
> all 'codes' are exercised of course, but the resolution is sufficient
> to discern a 10 to 30 microsecond difference. I'm trying to measure
> milliseconds, well within its capability. FYI, this is what `ping`
> and `traceroute` use. It's fine.
>
>
> Cheers,
> Dick Johnson
>
> Penguin : Linux version 2.4.1 on an i686 machine (797.90 BogoMips).
>
> I was going to compile a list of innovations that could be
> attributed to Microsoft. Once I realized that Ctrl-Alt-Del
> was handled in the BIOS, I found that there aren't any.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
_________________________________________________________________________
Terje Eggestad mailto:terje.eggestad@scali.no
Scali Scalable Linux Systems http://www.scali.com
Olaf Helsets Vei 6 tel: +47 22 62 89 61 (OFFICE)
P.O.Box 150, Oppsal +47 975 31 574 (MOBILE)
N-0619 Oslo fax: +47 22 62 89 51
NORWAY
_________________________________________________________________________
next prev parent reply other threads:[~2002-01-31 14:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-30 16:07 Richard B. Johnson
2002-01-30 16:14 ` Zwane Mwaikambo
2002-01-30 16:35 ` Richard B. Johnson
2002-01-30 16:31 ` Zwane Mwaikambo
2002-01-30 16:47 ` Richard B. Johnson
2002-01-30 16:45 ` Zwane Mwaikambo
2002-01-31 14:00 ` Terje Eggestad [this message]
2002-01-31 15:26 ` Richard B. Johnson
2002-01-31 16:06 ` Terje Eggestad
2002-01-30 18:07 ` Corey Minyard
2002-01-30 18:20 ` Tobias Ringstrom
2002-01-30 18:24 ` Gregory Maxwell
2002-01-30 16:36 ` Zwane Mwaikambo
2002-01-30 21:24 ` Rob Landley
2002-01-30 21:54 ` Richard B. Johnson
2002-01-31 13:33 ` Gregory Maxwell
2002-01-30 21:58 ` David S. Miller
[not found] <fa.kdqjrkv.1d44lam@ifi.uio.no>
2002-01-30 18:18 ` Dan Maas
2002-01-30 18:34 ` Richard B. Johnson
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=1012485627.21288.100.camel@pc-16.office.scali.no \
--to=terje.eggestad@scali.com \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.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
all inboxes | Powered by JetHome®