From owner-freebsd-current Sat Feb 8 20:49:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA25958 for current-outgoing; Sat, 8 Feb 1997 20:49:08 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA25946 for ; Sat, 8 Feb 1997 20:49:02 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id PAA14069; Sun, 9 Feb 1997 15:45:55 +1100 Date: Sun, 9 Feb 1997 15:45:55 +1100 From: Bruce Evans Message-Id: <199702090445.PAA14069@godzilla.zeta.org.au> To: bde@zeta.org.au, Shimon@i-Connect.Net Subject: Re: Pppd Drops Under Heavy Load Cc: freebsd-current@freebsd.org Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> 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. You want the RS_IBUFSIZE in isa/sio.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. It could output stuff and time how long it takes. >Although larger buffers are better for faster wires, why the disconnects? >There is flow control in the RS-232 and it is actually active. Don't know. It should work if both sides honour flow control. The problem that I was thinking of occurs on overloaded systems without flow control. >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. There is no simple way. I use separate diffs and reapply them after each update. Bruce