*BSD News Article 22168


Return to BSD News archive

Xref: sserve comp.os.386bsd.misc:1194 comp.os.linux:56031
Newsgroups: comp.os.386bsd.misc,comp.os.linux
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!wupost!cs.utexas.edu!asuvax!chnews!ornews.intel.com!percy!agora!davidg
From: davidg@agora.rain.com (David Greenman)
Subject: Re: NetBSD TCP/IP network benchmarks
Message-ID: <CEnnD9.H8w@agora.rain.com>
Organization: Open Communications Forum
Date: Sun, 10 Oct 1993 00:15:07 GMT
Lines: 48

>UDP round trip latency (in milliseconds)
>
>system			message size (bytes)
>			1	100	512	1024	1472
>-------------------------------------------------------------
>NetBSD 0.8		2.63	3.49	6.04	 9.54	12.50
>Mach 2.5		1.83	2.44	5.19	 8.51	11.41
>Mach 3.0(UX)		3.96	4.67	7.86	11.65	15.00
>Mach 3.0(BSDSS)	4.64	5.37	8.95	13.23	16.84
>Mach 3.0(library)	2.12 	2.68	5.41	 8.74	11.66

   I just grabbed your latency benchmark program. Here is the
result (again: client=486DX2/66 w/8013, server=486DX/33 w/8013):

FreeBSD-1.0E		1.0011	1.356	2.7415	4.4723	5.9395


...and I just read your message about your board being an 8bit 3c503.
First, I'm sure you agree that the 1 byte ping test above isn't going
to be effected be the type of card that is being used, and in this case
the software is identical (the 'ed' driver supports the 80x3, 8/16bit
3c503, NE1000 and NE2000).
   Now, let me say that attempting to test network performance by using
an 8bit ethernet card is rediculous. You're testing the speed that you
can write the shared memory on the board - not the networking code. A
test with the client/server being localhost would be more telling:

(486DX2/66):
ttcp-t: buflen=8192, nbuf=2048, align=16384/+0, port=5001  tcp  -> localhost
ttcp-t: 16777216 bytes in 4.78 real seconds = 3430.10 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 2.39, calls/sec = 428.76
ttcp-t: 0.0user 2.7sys 0:04real 57% 0i+0d 0maxrss 0+0pf 540+1488csw

(486DX/33):
ttcp-t: buflen=8192, nbuf=2048, align=16384/+0, port=5001  tcp  -> localhost
ttcp-t: 16777216 bytes in 6.05 real seconds = 2709.06 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 3.02, calls/sec = 338.63
ttcp-t: 0.0user 2.7sys 0:06real 45% 0i+0d 0maxrss 0+0pf 1184+835csw


   The main reason that these figures for the two machines are so close is
that what is really being tested is the speed of main memory.
   Now I could test the 8bit 3c503, but I'd have to rip my machine apart to
do it...and unless you think this is *really* important, I'm not going to
bother. I have measured it in the past, and it's performance is about 550k
per second.

-DG