Subject: ethernet throughput
To: None <port-mac68k@netbsd.org>
From: Jeff Whitaker <jswhit@mac.com>
List: port-mac68k
Date: 01/06/2001 06:15:30
Hi all:  I've got a Mac IIci running as a firewall/router on my home 
network connected to the outside world with a cable modem (using Erik 
Winkler's firewall distribution - with netbsd 1.4.2).  I'm wondering 
about my network throughput - it seems to be maxed out at around 200 
KB/sec (2000 megabits).  This is the speed I get when I ftp a file from 
the @home server to the router, or if I run ttcp. For example, ttcp from 
a ppc linux machine on my internal network to the router:

[root@localhost jsw]# ttcp -t 192.168.1.2
ttcp-t: buflen=8192, nbuf=2048, align=16384/+0, port=5001  tcp  -> 
192.168.1.2
ttcp-t: socket
ttcp-t: connect
ttcp-t: 14966784 bytes in 79.17 real seconds = 184.61 KB/sec +++
ttcp-t: 1828 I/O calls, msec/call = 44.35, calls/sec = 23.09
ttcp-t: 0.0user 0.2sys 1:19real 0% 0i+0d 0maxrss 0+2pf 0+0csw


ifconfig on the two ethernet interfaces (a sonic card and a dayna card, 
I believe) gives:

macbsd# ifconfig ae0
ae0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       media: Ethernet manual
       inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
macbsd# ifconfig ae1
ae1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       media: Ethernet manual
       inet 65.6.103.37 netmask 0xffffff00 broadcast 65.6.103.255

Is this the throughput I should expect? It seems a bit slow to me.
Thanks in advance.

-Jeff