[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange pppd behaviour in RH4.1 Linux
Hello!
To end this long thread I have to say thank you very much
to mr. Ariel Biener for his instuctions which helped me
finally to find the right answer.
The answer was 'asyncmap 0'
In my /etc/ppp/options
Thank to everyone who tried to help me.
Alexander Indenbaum
baum@actcom.co.il
On Tue, 25 Mar 1997, Biener Ariel wrote:
> On Mon, 24 Mar 1997, Alexander Indenbaum wrote:
>
> > First of all I have to say that I really apprciate the
> > help that I'm getting here and I'm not being cinic nor
> > snobic ( snobic I'll be later ) :{)
> >
> > Yet, I must say that I use Linux for a long time and
> > and in same time I'm working in ISP and have a *LOT*
> > of expiriance with SLIP/PPP, Unix. This meens that I
> > read PPP-Howto in several editions for several platforms
> > and know adantanges and disadvantages of setting MTU
> > to be 1500 still find it the right thing to do.
> >
> > Although I'm such an expert and smart guy :{) I can
> > not see the reason why my ppp's connection speed
> > is only 19200.
> >
> > - it is not a modem hardware problem
>
> Correct.
> > - my modem claims that it connects 38400
>
> Ok.
> > - it is not an init string problem
>
> No.
> > - it is not an ISP problem
>
> FleaBSD is nice..(win95 ..strikeout strikeout :)
> > - I get 3.6K rate with ppp in Win95/FreeBSD
> > and Linux slip on the same PC
> >
> > I think that it is probably pppd problem but what is it?
> > I even added 38400 line to my /etc/ppp/options to force
> > fast speed to my pppd still no results.
>
> Ok...my /etc/ppp/options
>
> 115200
> asyncmap 0
> crtscts
> mtu 1024
> mru 1024
> noipdefault
> bsdcomp 12,12
> passive
>
>
> You might wanna add defaultroute.
> You should have compiled the bsdcomp module.
> Now, take a look at you rc.serial.Be sure the machine runs it, and I'll
> give you an example of what mine looks like:(I am removing the parts that
> are commeneted out:
>
> cd /dev
>
> SETSERIAL="/bin/setserial -b"
> PORTS=`echo cua? cua??`
>
> echo -n "Configuring serial ports...."
>
> ${SETSERIAL} /dev/cua0 uart 16550A port 0x3F8 irq 4 spd_vhi
> ${SETSERIAL} /dev/cua1 uart 16550A port 0x2F8 irq 3 spd_vhi
> ${SETSERIAL} /dev/cua2 uart 16550A port 0x3E8 irq 4 spd_vhi
> #${SETSERIAL} /dev/cua3 uart 16550A port 0x2E8 irq 3 spd_hi
>
> echo "done."
>
> ${SETSERIAL} -bg ${PORTS}
>
>
> This should set your ports to use high speed, and enjoy the fast UART. Of
> course that if some of the ports use 16450 UARTS, you'll need to update
> the info accordingly(though I would guess that you use a new machine, and
> it doesn't use the 16450 UART anymore).
>
> For example, I am connecting at 24000 (That is my modem's connect message),
> since my modem is a broken Vfast Dynamode. With this connection speeds, I
> get a 2.4Kb/s-2.6Kb/s transfer rate for gzipped files (when no other
> bottlenecks interfere). I would guess this states clearly that it is
> effective. The previous configuration gave me around 1.8-1.9 rates. So,
> to conclude. The MUSTS here are the following:
> 1). Be sure to configure your serial ports correctly, otherwise nothing is
> accomplished.
> 2). set asyncmap 0 !!!! This gives the highest and most noticeable
> performance boost.
> 3). reduce MTU, since the time delay is too big, while the speed is too small
> to chunk data into 1496 bytes a chunk.
> 4). Use the bsdcomp.o module. It also gives a perfomance improvement in
> most cases.
>
> These are the 4 basic rules, thoughthere might be more. They are listed
> in the importance order...
>
> I know you are knowleadgeable, and have read PPP-howto and whatever
> other FAQs/MANs there are. This here is a turn-key solution to your
> problem, at least try it out, although you think that it's bullshit, and
> see for yourself. You can always put things back the way they were
> afterwards, though I have a gut feeling telling me you wont do that :)
>
> Regards,
>
> --Ariel
>
> >
> >
> > Thank you for your help,
> >
> > Alexander Indenbaum
> > baum@actcom.co.il
> >
> >
> > > Regards,
> > >
> > > --Ariel
> > >
> > > >
> > > > >
> > > > > Check how it improves your transfer rate..
> > > > >
> > > > > --Ariel
> > > > >
> > > > > > Alexander Indenbaum
> > > > > > baum@actcom.co.il
> > > > > >
> > > > > >
> > > > >
> > > > > +---------------------------------------------------------+
> > > > > | Ariel Biener |
> > > > > | e-mail: ariel@post.tau.ac.il Work ph: 03-6406086 |
> > > > > +---------------------------------------------------------+
> > > > >
> > > >
> > > > Alexander Indenbaum
> > > > baum@actcom.co.il
> > > >
> > > >
> > >
> > > +---------------------------------------------------------+
> > > | Ariel Biener |
> > > | e-mail: ariel@post.tau.ac.il Work ph: 03-6406086 |
> > > +---------------------------------------------------------+
> > >
> >
> >
>
> +---------------------------------------------------------+
> | Ariel Biener |
> | e-mail: ariel@post.tau.ac.il Work ph: 03-6406086 |
> +---------------------------------------------------------+
>
>
Alexander Indenbaum
baum@actcom.co.il