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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message