freebsd-nq/sys/dev/syscons
Ed Schouten 5bbae50149 Reduce the default baud rate of PTY's to 9600.
On RELENG_6 (and probably RELENG_7) we see our syscons windows and
pseudo-terminals have the following buffer sizes:

| LINE RAW CAN OUT IHIWT ILOWT OHWT LWT     COL STATE  SESS      PGID DISC
| ttyv0  0   0   0  7680  6720 2052 256       7 OCcl       1146  1146 term
| ttyp0  0   0   0  7680  6720 1296 256       0 OCc       82033 82033 term

These buffer sizes make no sense, because we often have much more output
than input, but I guess having higher input buffer sizes improves
guarantees of the system.

On MPSAFE TTY I just sent both the input and output buffer sizes to 7
KB, which is pretty big on a standard FreeBSD install with 8 syscons
windows and some PTY's. Reduce the baud rate to 9600 baud, which means
we now have the following buffer sizes:

|  LINE   INQ  CAN  LIN  LOW  OUTQ  USE  LOW   COL  SESS  PGID STATE
| ttyv0  1920    0    0  192  1984    0  199     7  2401  2401 Oil
| pts/0  1920    0    0  192  1984    0  199  5631  1305  2526 Oi

This is a lot smaller, but for pseudo-devices this should be good
enough. You need to do a lot of punching to fill up a 7.5 KB input
buffer. If it turns out things don't work out this way, we'll just
switch to 19200 baud.
2008-11-08 20:40:39 +00:00
..
apm APM was calling the suspend process from a timeout. This meant that 2006-05-25 23:06:38 +00:00
blank Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
daemon Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
dragon Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
fade Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
fire Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
green Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
logo Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
rain Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
snake Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
star Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
warp Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
scgfbrndr.c Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
schistory.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scmouse.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scterm-dumb.c
scterm-sc.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scterm.c
sctermvar.h
scvesactl.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scvgarndr.c Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
scvidctl.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scvtb.c
syscons.c Disable processing of output data after disabling scroll lock by force. 2008-08-31 10:17:40 +00:00
syscons.h Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
sysmouse.c Reduce the default baud rate of PTY's to 9600. 2008-11-08 20:40:39 +00:00