Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 1999 21:47:20 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Julian Elischer <julian@whistle.com>, "B. Scott Michel" <scottm@CS.UCLA.EDU>, Jonathan Lemon <jlemon@americantv.com>, Brad Knowles <brad@shub-internet.org>, Joe Abley <jabley@patho.gen.nz>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, freebsd-current@FreeBSD.ORG
Subject:   new linktest program avail (was Re: Odd TCP glitches in new currents)
Message-ID:  <199912230547.VAA16324@apollo.backplane.com>
References:  <Pine.BSF.4.10.9912222023410.50586-100000@current1.whistle.com> <199912230451.UAA15739@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
    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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912230547.VAA16324>