From owner-FreeBSD-net-jp@jp.freebsd.org  Fri Mar  6 08:32:38 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id IAA17172
	Fri, 6 Mar 1998 08:32:38 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id IAA17167
	for <FreeBSD-net-jp@jp.freebsd.org>; Fri, 6 Mar 1998 08:32:36 +0900 (JST)
From: abe7shin@mbox.kyoto-inet.or.jp
Received: from mbox.kyoto-inet.or.jp (mbox [202.245.160.132])
	by ml.kyoto-inet.or.jp (8.8.8+2.7Wbeta7/3.6W-12/17/97) with ESMTP id IAA14261
	for <FreeBSD-net-jp@jp.freebsd.org>; Fri, 6 Mar 1998 08:32:05 +0900 (JST)
Received: from pppC344.kyoto-inet.or.jp (pppC344.kyoto-inet.or.jp [210.134.103.178])
	by mbox.kyoto-inet.or.jp (8.8.7+2.7Wbeta7/3.6W-01/29/98) with SMTP id IAA09193;
	Fri, 6 Mar 1998 08:32:01 +0900
Date: Fri, 6 Mar 1998 08:32:01 +0900
Message-Id: <199803052332.IAA09193@mbox.kyoto-inet.or.jp>
To: FreeBSD-net-jp@jp.freebsd.org
Cc: abe7shin@mbox.kyoto-inet.or.jp
In-reply-to: Your message of "Thu, 5 Mar 1998 09:58:01 +0900"
             <199803050049.JAA14615@ms.sitix.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
X-Mailer: WeMail[1.33] ID:1A7100
Reply-To: FreeBSD-net-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-net-jp 492
Subject: [FreeBSD-net-jp 492] Re: GigabitSW throughput testing program on FreeBSD
Errors-To: owner-FreeBSD-net-jp@jp.freebsd.org
Sender: owner-FreeBSD-net-jp@jp.freebsd.org


$B8~F|;T$N0$It$G$9!#(B
In message of "Thu, 5 Mar 1998 09:58:01 +0900"
    Bunpei Matoba <bm@pt.smicec.co.jp> wrote
>$B=;6b@)8f$NE*>l$G$9!%(B
>
>$B:#EY!$(BGigabit(Ethernet)SW$B$N%9%k!<%W%C%H$NI>2A%F%9%H$r(B
>$B<jEA$&$3$H$K$J$j$^$7$?!%$7$+$7!$K\3JE*$J%F%9%H5!:`$,(B
>$B$"$k$o$1$G$O$"$j$^$;$s!%(B
>$B$=$3$G!$$b$7!$(B100BASE-TX$B$N(BFreeBSD$B%^%7%s$rAw?.$H<u?.$K;H$C$F(B
>$B@\B3$7$?$i#1AH$G$I$l$/$i$$$N%9%k!<%W%C%H$^$G=PNO$G$-$k$@$m$&$+$H$$$&(B
>$B<ALd$G$9!%3'MM$N$3$l$^$G$N(B100BASE-TX$B$N8f7P83CM$H;29M$40U8+$r(B
>$B$$$?$@$1$l$P9,$$$G$9!%(B
>
>$B;29M$H$9$Y$-4{B8%Y%s%A%^!<%/%W%m%0%i%`$H$7$F$O!$(B
>$B$I$s$J$b$N$,$"$k$G$7$g$&$+!)(B

$B!!:#!"(B100BASE-TX$B$G%/%i%9%?9=@.$7$F$$$^$9!#(BGigabit(Ethernet)SW$B$N(B
$B%9%k!<%W%C%H$OBgJQ6=L#$,$"$j$^$9$N$G!"7k2L3Z$7$_$G$9!#(B
$B$3$A$i$G$N!"I>2A$O(Bttcp$B$rMQ$$$F$$$^$9!#0JA0Js9p$7$?7k2LE:IU$7$^$9!#(B

------------------------------------------------------------
System 
        pc005                             pc007
                                   -------------------------
   --------------------           | de0          de500AA    |
  |de500AA pc005_7 de1-|----------|-de1 pc007_5  de500AA    |
  |                    |          | de2          EM440TX p1 |
  |de500AA pc005_1 de2-|----------|-de3 pc007_51 EM440TX p2 |
  |de500AA pc005_6 de0-|----------|-de4 pc007_56 EM440TX p3 |
   --------------------  3 cross  | de5          EM440TX p4 |
                          cables   -------------------------
pc005_1 = pc0051_7 
pc005_6 = pc0056_7
pc001_5 = pc007_51
pc006_5 = pc007_56
                        
Shell script on pc005 -----------------------------------------
#!/bin/sh
#
./ttcp -r -s -p 2004 pc005_7 &
./ttcp -r -s -p 2005 pc005_1 &
./ttcp -r -s -p 2006 pc005_6 &
sleep 2
./ttcp -t -s -p 2001 pc007_5 &
./ttcp -t -s -p 2002 pc001_5 &
./ttcp -t -s -p 2003 pc006_5 &
---------------------------------------------------------------

Shell script on pc007 -----------------------------------------
#!/bin/sh
#
./ttcp -r -s -p 2001 pc007_5 &
./ttcp -r -s -p 2002 pc007_51 &
./ttcp -r -s -p 2003 pc007_56 &
sleep 2
./ttcp -t -s -p 2004 pc005_7 &
./ttcp -t -s -p 2005 pc0051_7 &
./ttcp -t -s -p 2006 pc0056_7 &
---------------------------------------------------------------

>>>>> Ex.1 pc005 de0 -> de4 pc007      

Output on pc005 -----------------------------------------------
ttcp-t: socket
ttcp-t: connect
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2003  tcp  -> pc006_5
ttcp-t: 16777216 bytes in 1.51 real seconds = 10878.80 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 0.75, calls/sec = 1359.85
ttcp-t: 0.0user 0.5sys 0:01real 34% 21i+251d 284maxrss 0+2pf 5528+4csw
---------------------------------------------------------------

Output on pc007 -----------------------------------------------
ttcp-r: socket
ttcp-r: accept from 163.50.129.33
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2003  tcp
ttcp-r: 16777216 bytes in 1.51 real seconds = 10870.49 KB/sec +++
ttcp-r: 11392 I/O calls, msec/call = 0.14, calls/sec = 7558.39
ttcp-r: 0.0user 0.4sys 0:01real 30% 28i+308d 278maxrss 0+2pf 11268+2csw
---------------------------------------------------------------


>>>>> Ex.2 pc005 de1 -> de1 pc007
           pc005 de1 <- de1        

Output on pc005 -----------------------------------------------
ttcp-r: socket
ttcp-t: socket
ttcp-t: connect
ttcp-r: accept from 163.50.129.30
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2001  tcp  -> pc007_5
ttcp-t: 16777216 bytes in 1.74 real seconds = 9429.53 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 0.87, calls/sec = 1178.69
ttcp-t: 0.0user 0.6sys 0:01real 35% 32i+368d 284maxrss 0+2pf 1324+2087csw
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2004  tcp
ttcp-r: 16777216 bytes in 1.74 real seconds = 9434.96 KB/sec +++
ttcp-r: 6096 I/O calls, msec/call = 0.29, calls/sec = 3510.47
ttcp-r: 0.0user 0.3sys 0:01real 23% 24i+272d 278maxrss 0+2pf 4421+453csw
---------------------------------------------------------------

Output on pc007 -----------------------------------------------
ttcp-r: socket
ttcp-r: accept from 163.50.129.29
ttcp-t: socket
ttcp-t: connect
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2001  tcp
ttcp-r: 16777216 bytes in 1.74 real seconds = 9390.41 KB/sec +++
ttcp-r: 6819 I/O calls, msec/call = 0.26, calls/sec = 3908.28
ttcp-r: 0.0user 0.3sys 0:01real 21% 27i+305d 278maxrss 0+2pf 5216+349csw
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2004  tcp  -> pc005_7
ttcp-t: 16777216 bytes in 1.73 real seconds = 9446.41 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 0.87, calls/sec = 1180.80
ttcp-t: 0.0user 0.5sys 0:01real 33% 32i+377d 284maxrss 0+2pf 1398+2095csw
---------------------------------------------------------------


>>>>> Ex.3 pc005 de0 -> de4 pc007
                 de1 -> de1      
                 de1 <- de1       
                 de2 <- de3      
Output on pc005 -----------------------------------------------
ttcp-r: socket
ttcp-r: socket
ttcp-t: socket
ttcp-t: socket
ttcp-t: connect
ttcp-t: connect
ttcp-r: accept from 163.50.129.25
ttcp-r: accept from 163.50.129.30
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2003  tcp  -> pc006_5
ttcp-t: 16777216 bytes in 2.09 real seconds = 7848.91 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 1.04, calls/sec = 981.11
ttcp-t: 0.0user 0.4sys 0:02real 22% 23i+270d 284maxrss 0+2pf 1915+643csw
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2005  tcp
ttcp-r: 16777216 bytes in 3.37 real seconds = 4863.48 KB/sec +++
ttcp-r: 5924 I/O calls, msec/call = 0.58, calls/sec = 1758.50
ttcp-r: 0.0user 0.4sys 0:03real 12% 40i+440d 278maxrss 0+2pf 3179+2442csw
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2004  tcp
ttcp-r: 16777216 bytes in 3.39 real seconds = 4832.33 KB/sec +++
ttcp-r: 6745 I/O calls, msec/call = 0.51, calls/sec = 1989.39
ttcp-r: 0.0user 0.3sys 0:03real 11% 40i+448d 278maxrss 0+2pf 3776+1580csw
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2001  tcp  -> pc007_5
ttcp-t: 16777216 bytes in 3.71 real seconds = 4413.30 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 1.86, calls/sec = 551.66
ttcp-t: 0.0user 0.4sys 0:03real 11% 26i+305d 284maxrss 0+2pf 2433+648csw

Include next error 
de2: receive: 00:00:92:a7:04:d1: bad crc
de2: receive: 00:00:92:a7:04:d1: bad crc
de1: receive: 00:00:f8:1e:0c:f2: bad crc
---------------------------------------------------------------

Output on pc007 -----------------------------------------------
ttcp-r: socket
ttcp-r: socket
ttcp-t: socket
ttcp-t: socket
ttcp-r: accept from 163.50.129.29
ttcp-r: accept from 163.50.129.33
ttcp-t: connect
ttcp-t: connect
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2003  tcp
ttcp-r: 16777216 bytes in 2.10 real seconds = 7812.86 KB/sec +++
ttcp-r: 5153 I/O calls, msec/call = 0.42, calls/sec = 2457.25
ttcp-r: 0.0user 0.4sys 0:02real 20% 36i+406d 278maxrss 0+2pf 2458+1453csw
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2005  tcp  -> pc0051_7
ttcp-t: 16777216 bytes in 3.37 real seconds = 4861.02 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 1.69, calls/sec = 607.63
ttcp-t: 0.0user 0.5sys 0:03real 15% 32i+368d 284maxrss 0+2pf 1451+1431csw
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2004  tcp  -> pc005_7
ttcp-t: 16777216 bytes in 3.39 real seconds = 4833.37 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 1.69, calls/sec = 604.17
ttcp-t: 0.0user 0.5sys 0:03real 16% 26i+301d 284maxrss 0+2pf 1805+1125csw
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2001  tcp
ttcp-r: 16777216 bytes in 3.71 real seconds = 4416.90 KB/sec +++
ttcp-r: 6288 I/O calls, msec/call = 0.60, calls/sec = 1695.16
ttcp-r: 0.0user 0.4sys 0:03real 11% 38i+427d 278maxrss 0+2pf 3815+1369csw

Include next error 
de1: receive: 00:00:f8:1e:08:21: bad crc
de1: receive: 00:00:f8:1e:08:21: bad crc
de4: receive: 00:00:f8:1e:0e:2a: bad crc
de4: receive: 00:00:f8:1e:0e:2a: bad crc
---------------------------------------------------------------

>>>>> Ex.4 pc005 de0 -> de4      
                 de0 <- de4      
                 de1 -> de1      
                 de1 <- de1      
                 de2 -> de3      
                 de2 <- de3      

Output on pc005 -----------------------------------------------
ttcp-r: socket
ttcp-r: socket
ttcp-r: socket
ttcp-t: socket
ttcp-t: socket
ttcp-t: connect
ttcp-r: accept from 163.50.129.30
ttcp-r: accept from 163.50.129.25
ttcp-t: connect
ttcp-r: accept from 163.50.129.34
ttcp-t: socket
ttcp-t: connect
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2003  tcp  -> pc006_5
ttcp-t: 16777216 bytes in 1.89 real seconds = 8660.62 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 0.95, calls/sec = 1082.58
ttcp-t: 0.0user 0.4sys 0:01real 24% 25i+289d 284maxrss 0+2pf 2008+584csw
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2001  tcp  -> pc007_5
ttcp-t: 16777216 bytes in 3.43 real seconds = 4780.68 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 1.71, calls/sec = 597.58
ttcp-t: 0.0user 0.4sys 0:03real 14% 29i+341d 284maxrss 0+2pf 2334+752csw
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2005  tcp
ttcp-r: 16777216 bytes in 4.97 real seconds = 3294.40 KB/sec +++
ttcp-r: 5356 I/O calls, msec/call = 0.95, calls/sec = 1076.95
ttcp-r: 0.0user 0.3sys 0:04real 8% 37i+409d 278maxrss 0+2pf 2581+2716csw
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2004  tcp
ttcp-r: 16777216 bytes in 5.08 real seconds = 3223.75 KB/sec +++
ttcp-r: 7625 I/O calls, msec/call = 0.68, calls/sec = 1500.31
ttcp-r: 0.0user 0.4sys 0:05real 8% 36i+402d 278maxrss 0+2pf 5241+1196csw
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2002  tcp  -> pc001_5
ttcp-t: 16777216 bytes in 6.02 real seconds = 2723.65 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 3.01, calls/sec = 340.46
ttcp-t: 0.0user 0.4sys 0:06real 7% 23i+266d 284maxrss 0+2pf 1888+630csw
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2006  tcp
ttcp-r: 16777216 bytes in 6.17 real seconds = 2656.28 KB/sec +++
ttcp-r: 8085 I/O calls, msec/call = 0.78, calls/sec = 1310.79
ttcp-r: 0.0user 0.4sys 0:06real 6% 40i+440d 278maxrss 0+2pf 5921+1148csw

Include next error 
de2: receive: 00:00:92:a7:04:d1: bad crc
de0: receive: 00:00:92:a7:04:d2: bad crc
de2: receive: 00:00:92:a7:04:d1: bad crc
de1: receive: 00:00:f8:1e:0c:f2: bad crc
de0: receive: 00:00:92:a7:04:d2: bad crc
de2: receive: 00:00:92:a7:04:d1: bad crc
de2: receive: 00:00:92:a7:04:d1: bad crc
de0: receive: 00:00:92:a7:04:d2: bad crc
---------------------------------------------------------------

Output on pc007 -----------------------------------------------
ttcp-r: socket
ttcp-r: socket
ttcp-r: socket
ttcp-t: socket
ttcp-t: socket
ttcp-r: accept from 163.50.129.26
ttcp-t: connect
ttcp-t: connect
ttcp-r: accept from 163.50.129.29
ttcp-t: socket
ttcp-t: connect
ttcp-r: accept from 163.50.129.33
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2003  tcp
ttcp-r: 16777216 bytes in 1.89 real seconds = 8655.21 KB/sec +++
ttcp-r: 5810 I/O calls, msec/call = 0.33, calls/sec = 3069.26
ttcp-r: 0.0user 0.3sys 0:01real 18% 44i+487d 278maxrss 0+2pf 2824+1249csw
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2001  tcp
ttcp-r: 16777216 bytes in 3.48 real seconds = 4706.82 KB/sec +++
ttcp-r: 5746 I/O calls, msec/call = 0.62, calls/sec = 1650.72
ttcp-r: 0.0user 0.3sys 0:03real 9% 46i+506d 278maxrss 0+2pf 3485+1944csw
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2005  tcp  -> pc0051_7
ttcp-t: 16777216 bytes in 4.97 real seconds = 3299.01 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 2.48, calls/sec = 412.38
ttcp-t: 0.0user 0.5sys 0:04real 10% 33i+389d 284maxrss 0+2pf 1403+944csw
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2004  tcp  -> pc005_7
ttcp-t: 16777216 bytes in 5.08 real seconds = 3225.03 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 2.54, calls/sec = 403.13
ttcp-t: 0.0user 0.5sys 0:05real 10% 35i+409d 284maxrss 0+2pf 1615+1916csw
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=2002  tcp
ttcp-r: 16777216 bytes in 6.02 real seconds = 2723.19 KB/sec +++
ttcp-r: 5632 I/O calls, msec/call = 1.09, calls/sec = 936.10
ttcp-r: 0.0user 0.3sys 0:06real 5% 47i+522d 278maxrss 0+2pf 2909+1134csw
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=2006  tcp  -> pc0056_7
ttcp-t: 16777216 bytes in 6.17 real seconds = 2656.54 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 3.08, calls/sec = 332.07
ttcp-t: 0.0user 0.6sys 0:06real 10% 23i+273d 284maxrss 0+2pf 2190+1020csw

Include next error 
de4: receive: 00:00:f8:1e:0e:2a: bad crc
de3: receive: 00:00:f8:03:aa:7a: bad crc
de4: receive: 00:00:f8:1e:0e:2a: bad crc
---------------------------------------------------------------

------------------------------------------------
Shin Abe$B!!(BE-mail:abe7shin@mbox.kyoto-inet.or.jp
------------------------------------------------






