Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2004 20:26:56 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        "Louis A. Mamakos" <louie@TransSys.COM>
Cc:        atkin901@yahoo.com
Subject:   Re: polling for sio?
Message-ID:  <20040409182655.GO5279@cicely12.cicely.de>
In-Reply-To: <200404091801.i39I1uUQ039151@whizzo.transsys.com>
References:  <20040407170422.GF567@funkthat.com> <c51voo$jt$1@sea.gmane.org> <20040408024455.GC20138@dhcp01.pn.xcllnt.net> <20040408.123443.101835222.imp@bsdimp.com> <20040409113021.GK5279@cicely12.cicely.de> <200404091801.i39I1uUQ039151@whizzo.transsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 09, 2004 at 02:01:56PM -0400, Louis A. Mamakos wrote:
> > Those cards are just what they are - cheap.
> > They have very small FIFOs and they don't use DMA.
> > IRQ sharing makes them even worse than traditional ISA stuff.
> > My advise for cost efficient and fast serials is getting USB ones.
> > Even noname USB serials do much better then puc(4) based.
> > E.g. the FT232BM (uftdi(4)) has 128 bytes send and 384 bytes receive
> > buffer plus your USB controller does DMA.
> > At best you would add a cheap OHCI card if your onboard USB is UHCI
> > based as OHCI is less CPU intensive.
> 
> I used to use 9600 bps serial links on LSI-11/23 systems 20 years ago
> to run SLIP over.  This was with dumb DL-11 serial adapters on way
> slower CPUs and busses than we have today.  The difference was a
> much lower interrupt latency.  You'd think that running serial links
> 10 times faster on CPUs that are a few hundred times faster wouldn't
> be too hard.

I'm not saying that interrupt latency is OK and that it's impossible
to get things running with this kind of hardware, but it's very
questionable that you have a fast CPU with fast IO bandwidth just to
waste cycles for cheap hardware while you can easily get much more
efficient hardware for your money.
16550 design is ancient - having them addressed via PCI doesn't change
very much.
You are also not running your Fastethernet with the same mechanisms as
you did with your 10 times slower ISA NIC.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



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