Date: Wed, 12 Mar 2003 00:37:14 -0800 From: Luigi Rizzo <rizzo@icir.org> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: Doug Ambrisko <ambrisko@ambrisko.com>, freebsd-hackers@FreeBSD.ORG Subject: Re: Realtek Message-ID: <20030312003713.A74419@xorpc.icir.org> In-Reply-To: <20030312064424.GB6336@cirb503493.alcatel.com.au>; from peterjeremy@optushome.com.au on Wed, Mar 12, 2003 at 05:44:25PM %2B1100 References: <200303102102.33694.wes@softweyr.com> <200303111920.h2BJKaEC013582@www.ambrisko.com> <20030312064424.GB6336@cirb503493.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 12, 2003 at 05:44:25PM +1100, Peter Jeremy wrote: ... > Are you sure you were generating "wire speed" packets - this is about > 200,000 packets/sec at Fast speed. "ping -f" runs at whatever rate 148,800kpps > In order to get 200,000 pps, you're going to need 5-10 hosts > generating traffic, each with a good NIC and connected to the test one is enough as long as it is sufficiently fast (750MHz and above in my experiments), you use a C program to call sendto() and generate UDP packets, and your network card can cope with the outgoing traffic (e.g. there is no way the 'fxp' can transmit over ~120kpps no matter how fast the CPU is; 'xl' and several 'dc' supported chips can do the job. Haven't tried other cards. Using polling on the sender side helps but it is not fundamental. cheers luigi 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?20030312003713.A74419>