From owner-FreeBSD-tech-jp@jp.freebsd.org  Tue Sep  2 08:07:12 1997
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta7/8.7.3) id IAA09904
	Tue, 2 Sep 1997 08:07:12 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta7/8.7.3) with ESMTP id IAA09891
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 2 Sep 1997 08:07:11 +0900 (JST)
Received: from cubic.shisham.co.jp (tksm2DS26.tks.mesh.ad.jp [133.205.221.176]) by meshsv88.tk.mesh.ad.jp (8.8.4+2.7Wbeta4/3.5Wpl1-) with ESMTP id IAA08227 for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 2 Sep 1997 08:07:09 +0900 (JST)
Received: foo.bar.org; Tue, 2 Sep 1997 07:40:15 +0900 (JST)
Message-Id: <Lucky.199709012240.HAA25038.Lucky>
To: FreeBSD-tech-jp@jp.freebsd.org
From: Shiba <shiba@mxs.meshnet.or.jp>
In-Reply-To: Your message of "Mon, 01 Sep 1997 11:06:29 +0900"
	<199709010206.LAA10035@stone.astec.co.jp>
References: <199709010206.LAA10035@stone.astec.co.jp>
X-Mailer: Mew version 1.90 on XEmacs 20.3 (Bratislava)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Tue, 02 Sep 1997 07:40:14 +0900
X-Dispatcher: imput version 970826
Lines: 71
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=20]
X-Sequence: FreeBSD-tech-jp 572
Subject: [FreeBSD-tech-jp 572] Re: Overflow problem
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org

$B$3$s$K$A$O!#(B
$BC/$b!"(Breply$B$7$J$$$h$&$J$N$G!"(B

>><199709010206.LAA10035@stone.astec.co.jp>$B$G(B
>>SJ=Satoh Junichi <junichi@astec.co.jp> $B;a$O$3$&8@$$$^$7$?!#(B:-<

SJ } $B%7%j%"%k$N(B Overflow $B$N7o$G$9!#(B
SJ } $B%F%/%K%+%k$JOCBj$K$J$C$F$-$F$7$^$C$?$N$G(B tech $B$KEj$2$^$9!#(B
SJ } $B!t%?%$%H%kJQ$($^$7$?!#(B

SJ } $B$$$m$$$m$HD4$Y$F$_$^$7$?$,!"L$$@$K:G=*E*$J7kO@$KC#$7$F$^$;$s!#(B(^^;

	RSA-DV$B$O(BISA bus clock$B$r(B11MHz$B$K$9$k$H!"(B300000bps$B$G$bA4(B
	$BA3(Boverflow$B$,$G$J$/$J$j$^$7$?!#(B(P5-100$B$G(B)

SJ } $B;3K\$5$s!'(B
SJ } > 3.0-SNAP$B$G$b%P!<%8%g%s$K$h$C$FH/@8$9$kIQEY$,0c$$$^$7$?$+$i!"(BCPU$B%Q%o!<$h$j$O(B
SJ } > OS$B$N%3!<%I$H%?%$%_%s%0$NJ}$,Bg$-$$5$$,$7$F$$$^$9!#(B

	SMP$B$N(Bsio$B$H(Bcy driver$B$G$O(Boverflow$B$,IQH/$7$^$9!#(B(cpu$B$N(B
	lock$B$NMm$_$G(B)
	$BK;$7$$$H$-$K(B1200bps$B$G7Q$C$?%^%&%9$G$9$i=P$?;v$,$"$j$^(B
	$B$9!#(B($B$=$&$$$&;v$G$O$J$$$s$G$7$g$&$+(B?)

SJ } $B$-$C$H$=$&$G$7$g$&!#(B

	$B$A$J$_$K!"(BSMP$B$N(Bsio$B%Q%C%A$,$J$,$l$F$$$^$9!#(B


*** tty.h.orig  1997/08/31 23:03:59     1.1
--- tty.h       1997/08/31 23:04:52
***************
*** 119,125 ****
--- 119,129 ----
  #define       OBUFSIZ 100
  
  #ifndef TTYHOG
+ #ifdef SMP
+ #define       TTYHOG  2048
+ #else
  #define       TTYHOG  1024
+ #endif /* SMP */
  #endif
  
  #ifdef KERNEL

$B$G!"99$K(B

From: Steve Passe <smp@csn.net>

HI,

> I tried the patch you sent and unfortunately it seemed to have little 
> effect.  I even tried increasing the size of TTYHOG to 4096 and had
> essentially the same results.  To give a little more insight, the overflows
> occur during disk access and when I swap virtual screens in X and FVWM.
> My system has 2 IDE drives, used mainly for the system (wd0) and archive
> storage (wd1). Also, /tmp is on wd0.  I have 3 SCSI drives, 1 for swap,
> and the other two as working drives (/usr) and (/home).  The /home  drive
> is my home directory with all the application temp files, etc. on it. The
> serial ports are 16650 types (I have flags=0x200000 set on the sio config
> line) with a 230K link to a Bitsurfer Pro.

do you use hardware flow control?

do you have any problem with same setup under UP kernel?

try undefining srs/sys/i386/include/smptests.h:
FAST_WITHOUTCPL

$B$@$=$&$G$9!#(B
