From: eric@segate.sunet.se (Eric Thomas)
Subject: Re: DEC 3000-300 serial port speed?
Date: 31 May 94 18:46:15 WET [thread overview]
Message-ID: <1994May31.184615.1@segate.sunet.se> (raw)
In-Reply-To: Cqo93B.An@world.std.com
I think some of the misunderstandings come from lack of information. There are
several types of UARTs, and then several types of drivers.
My 486/25 notebook has an old UART without a FIFO. When transferring files over
a 14.4k connection, 19.2k is as fast as I can configure the COM port under
Windows, and then I can't *touch* the PC during the transfer. I am allowed to
move the mouse, but if I so much as single click on an icon to highlight it, I
get lost data. That's because a 486/25 with standard Windows drivers can't take
much more than the corresponding 2500-odd interrupts per second. Note that I'm
not saying the chip can't take more interrupts; I'm saying it can't dispatch
the interrupt code in COMM.DRV more than 2500 times per second, on a machine
with notebook memory and no external cache.
My desktop 486/66 has a UART with a 16-byte FIFO, 256k of external cache, and
Dell memory. I can transfer at 38.4k/14.4k with *DOS under Windows* and do
something else at the same time, as long as I don't do too much disk I/O. But
occasionally I did lose characters when doing plain dialup, especially if the
terminal emulator decided to update the scrollback file at the same time. This
got worse when I got a 28.8k driver and ran the port at 57.6k. Some "screens" I
simply could not get past without getting all sorts of rubbish on the screen.
This is because the default COMM.DRV does not actually use the FIFO. It enables
it, but programs it to interrupt every time a new character shows up, and then
only in the incoming direction. In the outgoing direction, it doesn't even
enable the FIFO. Better drivers are available from the usual PC archive sites.
I installed one CYBERDRV.DRV, which programs the FIFO to interrupt after 8
bytes in either direction, and all my problems were solved. I could reduce the
interrupt rate even further by interrupting every 15, but given the way Windows
3.1 multitasks, it might impact reliability. With NT I never had any problem -
the FIFO is fully used and I've never lost a single byte.
So in fact most of the problems you've been witnessing are not due to the PC or
its hardware, but to the idiocy of the drivers and Windows 3.1's inability to
schedule a driver in a dependable time frame.
Eric
next prev parent reply other threads:[~1994-05-31 18:46 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 [this message]
1994-06-01 22:40 ` Peter da Silva
1994-05-31 1:35 ` John Wilson
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