From owner-freebsd-current Wed Dec 22 21:47:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 19E2E155F0 for ; Wed, 22 Dec 1999 21:47:21 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id VAA16324; Wed, 22 Dec 1999 21:47:20 -0800 (PST) (envelope-from dillon) Date: Wed, 22 Dec 1999 21:47:20 -0800 (PST) From: Matthew Dillon Message-Id: <199912230547.VAA16324@apollo.backplane.com> To: Julian Elischer , "B. Scott Michel" , Jonathan Lemon , Brad Knowles , Joe Abley , Poul-Henning Kamp , Garrett Wollman , freebsd-current@FreeBSD.ORG Subject: new linktest program avail (was Re: Odd TCP glitches in new currents) References: <199912230451.UAA15739@apollo.backplane.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A new version of linktest is up, much enhanced: * fixes cpu use problems due to calling random() too much * fixes usleep (we now use a pipe and select()) This version can really stuff the network. http://www.backplane.com/FreeSrc/linktest-1.1.c Running the following tests with my LinkSys 5-port switch (I haven't done this with the D-Link yet): test3<->test4 only test3# linktest -s 1200 -f8 test4 test4# linktest -s 1200 -f8 test3 11.9 MBytes/sec in both directions (23 MB/sec across the switch) lander<->apollo only lander# linktest -s 1200 -f8 apollo apollo# linktest -s 1200 -f8 lander 4.5 MBytse/sec in both directions (10 MBytse/sec across the switch) Now both tests running in parallel. test3# linktest -s 1200 -f8 test4 test4# linktest -s 1200 -f8 test3 lander# linktest -s 1200 -f8 apollo apollo# linktest -s 1200 -f8 lander 7.9 MBytes/sec in both directions for test3<->test4 (15 MB/sec) (6300 pps in both directions - 12000 pps across the switch) 4.3 MBytes/sec in both directions for apollo<->lander (8.6 MB/sec) (3500 pps in both directions - 7000 pps across the switch) Interesting, eh? The test3<->test4 test slowed down when I ran the apollo<->lander test. Still, the switch performs plenty good enough for a tiny little 5-port item. And... no packet loss in the test - except my TCP connection when I type is still getting packet loss. Weeeird. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message