From: wilsonj@alum01.its.rpi.edu (John Wilson)
Subject: Re: DEC 3000-300 serial port speed?
Date: 31 May 1994 01:35:44 GMT [thread overview]
Message-ID: <2se49g$b7b@usenet.rpi.edu> (raw)
In-Reply-To: 2sdrdd$7cj@lyra.csx.cam.ac.uk
In article <2sdrdd$7cj@lyra.csx.cam.ac.uk>,
Rupert Moss-Eccardt <rwgm1@cus.cam.ac.uk> wrote:
>I still maintain that if you blast huge rates of data at a PC serial port
>it won't be able to take it. Mind you if you hide it in some protocol
>such as SLIP, PPP etc then it won't show.
What on earth are you talking about? Burying your data under SLIP or PPP
makes the effective data rate (slightly) worse, not better.
I don't see what's so hard to accept here. 115200bps is a pathetically
slow data rate, supposing character-at-a-time interrupts in both directions
that gives you 23,040 interrupts/second, which coincidentally is about the
same interrupt rate commonly used to produce digitized sound over the
built-in speaker, which people have been doing since long before the current
crop of fast machines. Now divide by 16 if you're using the FIFOs on a
16550A, and we're talking under 1500 interrupts/second, for SUSTAINED
115.2kbps in both directions, which could potentially be cut in half if
the ISR were sneaky about polling the "other" FIFO while servicing a FIFO
interrupt. It's no wonder a Z80 is up to the job! Of course Z80 interrupt
latency (starting an ISR as compared to executing any normal instruction)
is a lot better than an 80x86 (where the INT instruction from the 8259A
takes dozens of cycles to execute), but the current machines are so much
faster than the Z80s ever were that in terms of absolute speed, you'd need
to have a REALLY badly-written ISR to soak up all the time between interrupts.
People keep describing the backwards-compatible PC serial ports as if they're
a brain-damaged design. It's a perfectly straightforward interrupt-driven
SLU, just like the DL-11 or the console port on a VAX. DMA would have been
nice, but in almost all cases it would be overkill, the line rate maxes out
at 1/40th the data rate of Ethernet (1/80th *2 since it's bidirectional),
and most low-end Ethernet boards do just fine using a dual-ported SRAM
buffer instead of DMA, it's really the same thing as a FIFO anyway.
John Wilson
next prev parent reply other threads:[~1994-05-31 1:35 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-05-26 0:08 DEC 3000-300 serial port speed? Greg Kilcup
1994-05-27 4:50 ` Jerry Leslie
1994-05-27 14:19 ` Peter da Silva
1994-05-27 15:46 ` Charles M Richmond
1994-06-01 20:57 ` George Papison
1994-06-02 13:28 ` Peter da Silva
1994-05-27 21:29 ` Craig Zeller
1994-05-28 0:18 ` Aaron Leonard
1994-05-28 9:45 ` Neill Clift
1994-05-28 14:58 ` Castor Fu
1994-05-28 17:01 ` Terry Kennedy, Operations Mgr.
1994-05-31 21:48 ` Ed Romascan
1994-06-01 15:55 ` ivie
1994-06-01 20:09 ` Carl J Appellof
1994-06-01 22:40 ` Ed Romascan
1994-06-01 22:16 ` Peter da Silva
1994-05-28 19:48 ` Andrew Fullford
1994-05-28 22:40 ` Thor Lancelot Simon
1994-05-30 1:02 ` Jerry Leslie
1994-05-30 11:54 ` Rupert Moss-Eccardt
1994-05-30 15:51 ` Terry Kennedy, Operations Mgr.
1994-05-30 16:05 ` Rupert Moss-Eccardt
1994-05-30 18:30 ` Terry Kennedy, Operations Mgr.
1994-05-30 17:05 ` Andrew Fullford
1994-05-30 23:04 ` Rupert Moss-Eccardt
1994-05-31 0:35 ` Andrew Fullford
1994-05-31 14:47 ` Charles M Richmond
1994-05-31 18:46 ` Eric Thomas
1994-06-01 22:40 ` Peter da Silva
1994-05-31 1:35 ` John Wilson [this message]
1994-05-31 5:41 ` Rupert Moss-Eccardt
1994-05-31 17:03 ` Peter da Silva
1994-05-31 16:57 ` Peter da Silva
[not found] ` <2s62k6$f4c@news.ccit.arizona.edu>
1994-05-28 13:19 ` John Hascall
1994-05-31 16:03 ` Peter da Silva
1994-06-04 3:41 ` Steven Vere
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox