From owner-freebsd-hardware Wed Oct 25 13:56:32 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with SMTP id 95E2A37B479 for ; Wed, 25 Oct 2000 13:56:27 -0700 (PDT) Received: by border.alcanet.com.au id <115449>; Thu, 26 Oct 2000 07:56:21 +1000 Content-return: prohibited Date: Thu, 26 Oct 2000 07:56:19 +1100 From: Peter Jeremy Subject: Re: Multiple PCI busses? In-reply-to: ; from dmiller@search.sparks.net on Sat, Sep 23, 2000 at 08:08:22AM -0400 To: David Miller Cc: freebsd-hardware@FreeBSD.ORG Mail-followup-to: David Miller , freebsd-hardware@freebsd.org Message-Id: <00Oct26.075621est.115449@border.alcanet.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Catching up on old mail] On 2000-Sep-23 08:08:22 -0400, David Miller wrote: >Anyone have any idea what the upper end of thruput is? I'm sure a few >thousand packets per second is doable, but how abot the tens of >thousands? Last February I did some experimenting using a P-133 box and could route just over 10,000 (small) packets/sec (CPU limited) between different LANs. The throughput testing gave me pretty much wire speed[1]. This was using a couple of Intel Pro/100+ cards connecting to 100baseTX half-duplex hubs. Based on this, I'd say you'd be looking at hundreds of thousands of packets/sec on a high-end processor. Your overall throughput would come down to bus bandwidth (PCI and RAM). > Is this an area where a big cache on a >xeon processor would help more than extra CPU cycles? As long as routing code, device driver code and your routing tables fit into the cache, you should be OK. Cache is pretty much irrelevant to the actual packets you are routing - the CPU only needs to read the destination IP address out of the header once for each packet (and do a few mbuf management accesses). It primarily just gets in the way of the PCI DMA :-). [1] Given a decent NIC, the CPU load is pretty much determined by the packet rate, independent of the packet size. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message