Article View: comp.os.linux.misc
Article #566Re: Slow Performance froma "Fast Serial Card"?
From: Dan and Joanne Tucker
Date: Thu, 20 Mar 1997 00:00
Date: Thu, 20 Mar 1997 00:00
71 lines
3167 bytes
3167 bytes
Man, you people downunder! 8-)
In article <33308CB0.170C@niw.cerberus.navy.gov.au> you wrote:
: Can anyone offer me some pointers on this one please?
Sure - you have an interrupt conflict!
: I am using a Linux box as an Internet gateway for a LAN and some dial-in
: lines. The box has two internal 14.4kbps modems and one external 28.8
: kbps modem. Two lines are for dialling in and on to dial out to the
: ISP.
The two 14.4s are on /dev/ttys0 and /devttys1 right?
: If I use one of the 14.4 kbps modems to dial the ISP I get a download
: speed of around 1000-1300 bytes/sec. I think this is pretty
: reasonable. However, when I try to use the 28.8 kbps modem to dial the
: ISP (preferable) the download speed drops to between 100-200 bytes/sec!
: ie, about 10 times SLOWER :-(
And your 28.8 is on /dev/ttys2 right?
: I think it must be the serial card, but it is a new serial card with
: 16550 UARTS. I have tried configuring it at boot time with:
:
: setserial /dev/cua1 irq 3 autoconfig
: setserial /dev/cua1 irq 3 autoconfig spd_hi and
: setserial /dev/cua1 irq 3 autoconfig spd_vhi
Ok, I'm wrong 8-)
If you read the Serial-HOWTO 8-)!
Quick version -
COM1 of DOS PC is - /dev/cua0 or /dev/ttys0
Address 0x03F8
Interrupt 4
COM2 of DOS PC is - /dev/cua1 or /dev/ttys1
Address 0x02F8
Interrupt 3
COM3 of DOS PC is - /dev/cua2 or /dev/ttys2
Address 0x03E8
Interrupt 4 - Oopps Conflict with COM1
COM4 of DOS PC is - /dev/cua3 or /dev/ttys3
Address 0x02E8
Interrupt 3 - Oopps Conflict with COM2
Linux prefers individual interrupts on high speed ports - so does DOS it
just starts ingoring the one that is not as busy (reason for mouse dieing
if you have a conflict in Winders). Just change the interrupt for the
COM3 and COM4 ports (usually a jumper but in Plug-n-Pray use the software)
to something else 5 is good - unless you have a SoundBlaster board or two
printers.
: but it is always the same.
If you use a serial mouse, and three modems, you are basically out of
ports on the PC arch. You might do better to get a 4-port board and
ALWAYS use EXTERNAL modems - they may cost more but they WORK ANYWHERE
even on my old ADM-3+ terminal.
: Thanks, Ian.
Have a Foster's(or insert favorite beverage) on me 8-)
BC
Technical Details
Message-ID:
<199703201725.LAA20949@xnet.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,d120540d33c72067 X-Google-Attributes: gid1103af,public X-Google-Thread: f9b51,d120540d33c72067 X-Google-Attributes: gidf9b51,public X-Google-Thread: 102983,d120540d33c72067 X-Google-Attributes: gid102983,public X-Google-Thread: 10669a,d120540d33c72067 X-Google-Attributes: gid10669a,public From: danjo@xnet.com (Dan and Joanne Tucker) Subject: Re: Slow Performance froma "Fast Serial Card"? Date: 1997/03/20 Message-ID: <199703201725.LAA20949@xnet.com> X-Deja-AN: 227139067 Newsgroups: comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.setup,aus.computers.linux Organisation: (mail2news gateway)