Skip site navigation (1)Skip section navigation (2)
Date:      11 Apr 1998 20:43:34 +0200
From:      dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= )
To:        freebsd-bugs@hub.freebsd.org, freebsd-hackers@FreeBSD.ORG
Subject:   Re: kern/6099: LPIP to slow machine causes hang
Message-ID:  <xzp67kgurl5.fsf@hrotti.ifi.uio.no>
In-Reply-To: dag-erli@ifi.uio.no's message of "Sat, 11 Apr 1998 08:50:02 -0700 (PDT)"
References:  <199804111550.IAA18671@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
dag-erli@ifi.uio.no (Dag-Erling Coidan Smørgrav ) writes:
>  Peter Jeremy <Peter.Jeremy@alcatel.com.au> writes:
>  > The problem with LPIP is that enabling an lpt port for LPIP does not
>  > update net_imask.  This means that LPIP interrupts can break splimp()
>  > critical regions - which includes all mbuf handling.
>  > 
>  > The following patches correct the problem in 2.2.5R.  The problem also
>  > exists in older versions of 2.2, -stable and -current.  The same patches
>  >
>  > [patch deleted]
>  
>  Here's a patch for 2.2.6-STABLE:
>
>  [patch deleted]
>
>  I haven't had time to test it thoroughly yet though.

I applied the patch on Valinor (P166, 128MB/9GB, 2.2.6-STABLE) and
Helen (ThinkPad 380E, 16MB/2GB, 2.2.6-STABLE) and ran 'rcsh valinor
cat /dev/urandom > /usr/tmp/urandom' from Helen successfully for five
minutes. The throughput seems to have gone down 15% or 20% after the
patch, from ~90 kBps to ~75 kBps, but at least the machine does not
hang and it is possible to do something while it's transferring. As I
type this, Helen is downloading the entire package collection from
2.2.6 over LPIP (it's gone through packages-2.2.6/All/[a-e]* already)

I suggest that somebody commit the patch to -current now, and if it
does not break anything and everybody is happy I'll merge lpt.c from
-current into -stable and close the affected PRs in a while.

-- 
fprintf(stderr, "I have a closed mind. It helps keeping the rain out.\n");

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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