From owner-freebsd-questions Wed Mar 6 10:00:07 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA08995 for questions-outgoing; Wed, 6 Mar 1996 10:00:07 -0800 (PST) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA08892 for ; Wed, 6 Mar 1996 10:00:00 -0800 (PST) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA08697; Wed, 6 Mar 1996 18:53:39 +0100 From: Luigi Rizzo Message-Id: <199603061753.SAA08697@labinfo.iet.unipi.it> Subject: Re: Bad Ethernet cards To: wollman@lcs.mit.edu (Garrett A. Wollman) Date: Wed, 6 Mar 1996 18:53:39 +0100 (MET) Cc: questions@freebsd.org In-Reply-To: <9603061611.AA28988@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Mar 6, 96 11:11:31 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk > > sell for approx US$60 here. Programmed I/O on the PCI bus should not be > > slow at all. > > It doesn't matter what sort of bus it's on; if the CPU has to do all > the work, when it could (should) be doing higher-level processing, then > performance is going to suck. There is no way around it. The bus' speed changes things a lot. An ethernet has a bandwidth of 1MB/s. I agree that on the ISA bus you are likely to move data at 2MB/s or so, thus the CPU overhead is 50% just for getting data from the board. But moving data on VLB or PCI bus with programmed I/O is much faster (possibly limited by the on-board memory speed, but many boards use 25ns or so SRAMS). On the VLB I have measured at least 10MB/s, on the PCI I expect the number to be higher, possibly around 20MB/s. Thus the CPU overhead is at most 5% per card, assuming you consume the whole bandwidth of the net segment. This is something that I can afford, except perhaps for a multiport high speed router. Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ====================================================================