Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Low latency flag for serial ports on modems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
hungarian
n00b
n00b


Joined: 16 Jul 2002
Posts: 51
Location: New Zealand

PostPosted: Sat Aug 10, 2002 8:39 am    Post subject: Low latency flag for serial ports on modems Reply with quote

I experimented for a couple of weeks with different flags on my 56k modem on the serial port.
The serial port my modem use is /dev/ttyS3.

I found that adding the low_latency flag provides a bit more burst speed.
My speed often goes up to 115200bps which is the maximum my modem can handle...

These are burst speeds but still browsing the net is better with this setting.

Details:

As root add the low_latency flag to your serial port: see man setserial
I just add this line to my /etc/conf.d/local.start

## speed up my 56k ISA hardware modem
/bin/setserial /dev/ttyS3 uart 16550A irq 3 low_latency

So it gets set at each boot.

You should see something like:

[root@babe pts/0] setserial -a /dev/ttyS3
/dev/ttyS3, Line 3, UART: 16550A, Port: 0x02e8, IRQ: 3
Baud_base: 115200, close_delay: 5000, divisor: 0
closing_wait: 37856
Flags: spd_normal low_latency


you see the flag on the bottom raw above.

I tried the spd_vhi flag but it appears that low_latency provides the best result for me.
_________________
Sophisticated, cultivated, technically superior,
Gentoo Linux delivers the most rewarding computing experience.
www.gentoo.org
BSc(Hons) CompSci / BSc. CompSci / RHCE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum