Subject: Re: NetBSD 1.3.2 lags while compiling
To: None <port-i386@netbsd.org, Thilo.Manske@HEH.Uni-Oldenburg.DE>
From: Ross Harvey <ross@ghs.com>
List: port-i386
Date: 03/11/1999 16:58:15
: From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>

: : Tony Hernandez...

> > Has anyone come across this? Heres a scenario:
> > Ill be compiling a program and meanwhile trying to use another program in X
> > ..
> > Ill be moving my mouse around and it freezes for a moment and then the mouse
> > moves and freezes for a sec ... etc .. you get the picture ..
>
> I suppose you have IDE-drives and don't have Manuel Bouyer's IDE-Patches 
> applied.  Because of this disc I/O is PIO-driven and may freeze the system for
> short periods. 
>
> [ more stuff about IDE, ramdisks, and UDMA deleted ]


It's not related to IDE hardware or IDE software.

This is due to the problem discussed on tech-kern using the highly technical
designation ``sucky performance''. :-)

This problem was solved by scheduler mods in -current on 1/23/99, and if
the SOURCE_DATE in the latest i386 snapshot is accurate, then the fix is
in those binaries.

Or, you can apply the patch below to 1.3.x or to a 1998-era snapshot of
NetBSD-current.

	Ross.Harvey@Computer.Org

-------------------------------------------------------------
Instructions: patch -d /sys/kern < 1.3schedpatch

begin 664 1.3schedpatch
M26YD97@Z(&ME<FY?97AI="YC"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3
M(&9I;&4Z("]C=G-R;V]T+W-R8R]S>7,O:V5R;B]K97)N7V5X:70N8RQV"G)E
M=')I979I;F<@<F5V:7-I;VX@,2XV,0IR971R:65V:6YG(')E=FES:6]N(#$N
M-C,*9&EF9B`M=2`M<C$N-C$@+7(Q+C8S"BTM+2!K97)N7V5X:70N8PDQ.3DX
M+S$Q+S$Q(#(R.C,W.C$S"3$N-C$**RLK(&ME<FY?97AI="YC"3$Y.3DO,#$O
M,C,@,C(Z,C,Z,3D),2XV,PI`0"`M-#4R+#8@*S0U,BPQ,2!`0`H@"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