Thread View: comp.os.linux.misc
3 messages
3 total messages
Started by fwtk
Thu, 20 Mar 1997 00:00
Slow Performance froma "Fast Serial Card"?
Author: fwtk
Date: Thu, 20 Mar 1997 00:00
Date: Thu, 20 Mar 1997 00:00
33 lines
2048 bytes
2048 bytes
Can anyone offer me some pointers on this one please? 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. 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 :-( 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 but it is always the same. If I ping the other end (which is quite a long way) the 14.4 modem gets a response of around 200 msec. The 28.8 takes anything between 1 and 5 seconds :-( I can see the ping packets going out (via LED) but it then takes sometimes as long as ten seconds before a burst of packets comes back. I started to think it might be the terminal server at the other end, but there is no problem when the 14.4 is used. Any other ideas? Thanks, Ian.
Re: Slow Performance froma "Fast Serial Card"?
Author: Nils Faerber
Date: Sat, 22 Mar 1997 00:00
Date: Sat, 22 Mar 1997 00:00
38 lines
2485 bytes
2485 bytes
fwtk@niw.cerberus.navy.gov.au wrote: : Can anyone offer me some pointers on this one please? I hope so ... : 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. : 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 :-( : 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: This sounds like an interrupt conflict to me. More than two serial ports, and an internal modem is a serial port, are always difficult (there recently was a thread about this somewhere in comp.os.linux.* land). So check your interrupt settings. If you use standard settings you will probably have ttyS0 IRQ 4 ttyS1 IRQ 3 ttyS2 IRQ 4 (!!!) Most PC cards are not designed to share interrupts, but it is possible though. If you can avoid shared interrupt whereever possible. : Thanks, Ian. CU nils -- Nils Faerber ASGARD-BBS asgard.si.sub.de Setzetalstr. 13 eMail: nils@asgard.si.sub.de 57078 Siegen/Germany nils@unix-ag.uni-siegen.de voice +49 271 8909277 http://www.unix-ag.uni-siegen.de/~nils/ data/fax +49 271 8909278 isdn/X75 +49 271 8909279 --
Re: Slow Performance froma "Fast Serial Card"?
Author: Chris
Date: Tue, 25 Mar 1997 00:00
Date: Tue, 25 Mar 1997 00:00
50 lines
3166 bytes
3166 bytes
Nils Faerber wrote:
>
> fwtk@niw.cerberus.navy.gov.au wrote:
> : Can anyone offer me some pointers on this one please?
> I hope so ...
>
> : 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.
> : 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 :-(
> : 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:
> This sounds like an interrupt conflict to me. More than two serial ports, and
> an internal modem is a serial port, are always difficult (there recently was
> a thread about this somewhere in comp.os.linux.* land). So check your
> interrupt settings. If you use standard settings you will probably have
> ttyS0 IRQ 4
> ttyS1 IRQ 3
> ttyS2 IRQ 4 (!!!)
> Most PC cards are not designed to share interrupts, but it is possible
> though. If you can avoid shared interrupt whereever possible.
You might also want to make sure you're running
'setserial' at boot time. I've got 4 serial ports,
at IRQ 4, 3, 7, and 11. Even though they're all
on separate IRQs I was getting miserable results
until I ran setserial set to autoprobe everything
in my /etc/rc.d files (slackware distribution).
Once setserial ran everything was peachy-keen.
--
....... The free UNIX operating
system
Chris Harshman `:::' .......
......
XCC System Administrator ::: * `::. ::'
harshman@paradigm.uor.edu ::: .:: .:.::. .:: .:: `::. :'
http://paradigm.uor.edu/harshman ::: :: :: :: :: :: :::.
909.307.7692 ::: .::. .:: ::. `::::. .:' ::.
..:::.....................::'
.::::.
"Linux - the OS people choose without $200,000,000 in persuasion."
UNIX is user-friendly. It's just selective about who its friends are.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads