[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: speed up modem connection



on Thu, May 31, 2001 at 12:24:47AM -0700, John Joe (zhoupp@yahoo.com) wrote:

> I surf with Netscape 4.0 for Linux and find it much 
> slower than IE 5.0 of MS Winodws. I've change MTU to 576 (MTU is an
> argument to pppd) and it didn't help.
> 
> I connect by 33.6k internal modem. I use Debian 2.1.

you could try editing your /etc/serial.conf and add low_latency to the line
that coresponds with the serial port of your modem, here is what it does:

[snip from setserial (8) manpage]

Minimize the receive latency of the serial device at the cost of
greater CPU utilization.  (Normally there is an average of 5-10ms
latency before characters are handed off to the line discpline to
minimize overhead.)  This is off by default, but certain real-time
applications may find this useful.

i used to had problems with downloads getting interrupted due to some other
process hogged temporarily all the cpu, now i don't have this problem anymore
and my download speed averages 3.6kb/s when connected at 31k, and the downloads
doesn't get interrupted anymore. I have p166 with 96mb ram and i haven't
noticed any cpu utilization increase yet, 90% of the cpu is eaten by the
seti@home client anyway :)

My MTU is set to 1500 and txqueuelen to 10. For the miserable telephone line
that i have this is pretty much the best i could squeeze out of it :)

Don't forget to re-run /etc/init.d/setserial when you done ;)

					HTH
                                                Dingo.


                                      ).|.(
                                    '.'___'.'
                                   ' '(>~<)' '
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-=(_)=-Ooo-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Petr [Dingo] Dvorak                                 dingo@pdragon.org
    Coder - Purple Dragon MUD                       pdragon.org port 3333
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 369D93 ]=-=-
     Debian version 2.2.18pre21, up 4 days, 12 users, load average: 1.01
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




Reply to: