*BSD News Article 82218


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!news.sprintlink.net!news-hub.sprintlink.net!news.sprintlink.net!news-fw-22.sprintlink.net!news2.noc.netcom.net!noc.netcom.net!usenet
From: Henry Wong <henry@cplabs.com>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.bsd.misc
Subject: 100Base-TX: where's the bottleneck?
Date: Sun, 03 Nov 1996 18:03:20 -0800
Organization: DASCOM HOLDING Ltd.
Lines: 23
Message-ID: <327D4EE8.2D@cplabs.com>
NNTP-Posting-Host: cplabs.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-NETCOM-Date: Sun Nov 03  5:56:07 PM PST 1996
X-Mailer: Mozilla 3.01b1 (X11; I; HP-UX A.09.05 9000/712)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:30546 comp.unix.bsd.misc:1423

Hi,everyone:
        I wrote a simple code to test our fast ethernet performance, 
but I didn't get the throughput I expected.  The test evironment is 
just two Pentium-133 with 3c905 Fast EtherLink XL PCI adapter and 
3com 100Mb stackable hub on the network.
        The code just setup socket between these two machine, allocate
a 4K buffer, send to 'echo' port (port 7) from one to another 1000 
times, then read it back. There's no harddisk I/O stuff. I got the 
time by call gettimeofday(), then I got the network throughput.
        The problem is the speed is only 20Mb/s, it seems too low as 
it is 100Mb network.Does anyone know where is the bottleneck? The 
driver efficiency? Or the adapter's performace? Or I should add the 
test clients to this network to get the better performance?
        Also I checked the homepage about 100M ethernet performance:
        http://www.uk.interop.com/bof/summary.html
        But I still don't understand.

        Any suggestions would be appreciated.

Thanks


Henry