Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 00:19:46 -0800
From:      Wes Peters <wes@softweyr.com>
To:        Doug Ambrisko <ambrisko@ambrisko.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Realtek
Message-ID:  <200303130019.46144.wes@softweyr.com>
In-Reply-To: <200303121837.h2CIbh0S088157@www.ambrisko.com>
References:  <200303121837.h2CIbh0S088157@www.ambrisko.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 12 March 2003 10:37, Doug Ambrisko wrote:
> Wes Peters writes:
> | Or you can cheat and use a SmartBits-2000 like I did.  It can send
> | exactly 148,800 packets per second, with very precise timing of the
> | inter-packet
>
> Soon we should be getting an Ixia.

That'll certainly do the trick.  That is, if they actually manage to 
deliver it before the SmartBits people buy them up and kill them off; 
they've done that with at least one other competitor.

> | So it seems to keep up reasonably well, but this is misleading.  Use
> | -l to force the packets out as quickly as the card can generate them:
> |
> | -bash-2.05b$ sudo ping -i 0.000001 -c 5000 -l 5000 204.68.178.2
> | ...
> | 64 bytes from 204.68.178.2: icmp_seq=92 ttl=128 time=14.855 ms
> | 64 bytes from 204.68.178.2: icmp_seq=93 ttl=128 time=14.880 ms
> | 64 bytes from 204.68.178.2: icmp_seq=4424 ttl=128 time=17.308 ms
> |
> | --- 204.68.178.2 ping statistics ---
> | 5000 packets transmitted, 95 packets received, 98% packet loss
> | round-trip min/avg/max/stddev = 11.929/14.520/17.308/0.682 ms
> |
> | Wow.  The receiving side handled the first 93 packets and then rolled
> | over, recovering for only the last packet.  (Look at the icmp_seq
> | numbers.)  FreeBSD behaves similarly, but try the test on your own. 
> | ;^)
>
> I don't see any difference between the rl and fxp tests using the same
> originating machine and dest machine.  The dest machine has both rl and
> fxp

You won't, this is a problem endemic to the PCI bus.  The problems with 
the RealTek chipset mostly have to do with CPU load doing real-world 
work, not silly-bugger tests.  This *is* why anyone who thinks they can 
make a real, reliable router by cramming a couple of PCI cards into a 
FreeBSD box is deluded.

-- 

        Where am I, and what am I doing in this handbasket?

Wes Peters                                               wes@softweyr.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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