From owner-freebsd-hackers Wed Mar 12 0:37:22 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9570C37B401 for ; Wed, 12 Mar 2003 00:37:21 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00EB743F3F for ; Wed, 12 Mar 2003 00:37:21 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.3/8.12.3) with ESMTP id h2C8bEAq075548; Wed, 12 Mar 2003 00:37:14 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.3/8.12.3/Submit) id h2C8bEWT075547; Wed, 12 Mar 2003 00:37:14 -0800 (PST) (envelope-from rizzo) Date: Wed, 12 Mar 2003 00:37:14 -0800 From: Luigi Rizzo To: Peter Jeremy Cc: Doug Ambrisko , freebsd-hackers@FreeBSD.ORG Subject: Re: Realtek Message-ID: <20030312003713.A74419@xorpc.icir.org> References: <200303102102.33694.wes@softweyr.com> <200303111920.h2BJKaEC013582@www.ambrisko.com> <20030312064424.GB6336@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030312064424.GB6336@cirb503493.alcatel.com.au>; from peterjeremy@optushome.com.au on Wed, Mar 12, 2003 at 05:44:25PM +1100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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