Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Feb 1997 15:06:07 -0800 (PST)
From:      Simon Shapiro <Shimon@i-Connect.Net>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Pppd Drops Under Heavy Load
Message-ID:  <XFMail.970208194342.Shimon@i-Connect.Net>
In-Reply-To: <199702072223.JAA19401@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Bruce Evans;  On 07-Feb-97 you wrote: 
> >a.  A USR Sportster 33.6 and a on the MB 16550-like UART running at
> >    115,200 baud. (ccua1)
> >
> >b.  Motorola BitSRFR-Pro ISDN on a 16550 card, running at 230,400
(frequency
> >    doubler; it appears 115,200 to the kernel). (ccua2)
> >
> >Symptoms:  As the Subject says.  After a while, under heavy load, the
line
> >silently drops.  Rarely, I get in the log:
> 
> Some buffers are scaled for 115200 bps max.  Double RS_IBUFSIZE and TTYHOG
> for 230400 bps (the latter is optional and best not done if you only use
> kernel ppp).  Also, perhaps user mode ppp depends on 115200 really being
> 115200.

Thanx.  I found these in /usr/src/sys/sys/tty.h and
/usr/src/sys/i386/isa/cy.c.

The way the board provides 230,400 is by using a faster crystal.  There is
no
way for software to know how fast the bits flow in the wire.

Although larger buffers are better for faster wires, why the disconnects?
There is flow control in the RS-232 and it is actually active.

Simon

P.S.  Neophite question?  How do I maintain these deltas on my local tree,
so that the next cvs checkout does not wipe them out?  In this case it looks
as if the total increase in memory footprint will be 1.25KB... but I would
like to knowwhat is the best rule to follow.

Simon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.970208194342.Shimon>