*BSD News Article 17150


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!emba-news.uvm.edu!sadye.emba.uvm.edu!wollman
From: wollman@sadye.emba.uvm.edu (Garrett Wollman)
Subject: Re: Ethernet [really TCP] performance measurement
Message-ID: <1993Jun14.234422.22663@uvm.edu>
Sender: news@uvm.edu
Organization: University of Vermont, EMBA Computer Facility
References: <C8L7A8.1v1@implode.rain.com>
Date: Mon, 14 Jun 1993 23:44:22 GMT
Lines: 41

In article <C8L7A8.1v1@implode.rain.com> davidg@implode.rain.com (David Greenman) writes:
>The TCP window is set to 8k, 'implode' is a 486DX2/66. Now this is 20 times
>what you reported. 386DX/20's aren't _that_ slow. My little 386SX/25 gets
>about 600K/second. You really should have a look at your kernel source.

When I ever get around to it, I may consider doing some kernel
profiling to see what's slowing things up.  In the mean time, here's
my `localhost' results for both send and receive, using the 8k buffer
size, while I wait until I have enough money for a nice 486/33...

I agree that this does seem a bit slower than it ought to be.  Now if
only I had a ``handy guide to kernel profiling'' I might figure out
why (once I get the VM system to compile again).

ttcp-r: socket
ttcp-r: rcvbuf
ttcp-r: accept from 127.0.0.1
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001, sockbufsize=8192  tcp
ttcp-r: 16777216 bytes in 105.71 real seconds = 154.99 KB/sec +++
ttcp-r: 16777216 bytes in 20.83 CPU seconds = 786.56 KB/cpu sec
ttcp-r: 3302 I/O calls, msec/call = 32.78, calls/sec = 31.24
ttcp-r: 0.1user 20.7sys 1:45real 19% 0i+0d 0maxrss 0+0pf 927+2126csw
ttcp-r: buffer address 0xc000

ttcp-t: socket
ttcp-t: sndbuf
ttcp-t: connect
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001, sockbufsize=8192  tcp  -> localhost
ttcp-t: 16777216 bytes in 105.37 real seconds = 155.48 KB/sec +++
ttcp-t: 16777216 bytes in 84.26 CPU seconds = 194.45 KB/cpu sec
ttcp-t: 2048 I/O calls, msec/call = 52.69, calls/sec = 19.44
ttcp-t: 0.0user 84.1sys 1:45real 79% 0i+0d 0maxrss 0+0pf 1957+932csw
ttcp-t: buffer address 0x10000

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance.
uvm-gen!wollman      | It is a bond more powerful than absence.  We like people
UVM disagrees.       | who like Shashish.  - Claude McKenzie + Florent Vollant