From owner-freebsd-current@FreeBSD.ORG Tue Jul 20 20:25:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D712916A4CE for ; Tue, 20 Jul 2004 20:25:39 +0000 (GMT) Received: from mail.corrupt.co.nz (222-152-17-24.jetstream.xtra.co.nz [222.152.17.24]) by mx1.FreeBSD.org (Postfix) with SMTP id ADAE843D48 for ; Tue, 20 Jul 2004 20:25:38 +0000 (GMT) (envelope-from drew@corrupt.co.nz) Received: (qmail 86894 invoked by uid 1011); 20 Jul 2004 20:25:45 -0000 Received: from drew@corrupt.co.nz by tweety.lan.corrupt.co.nz by uid 1009 with qmail-scanner-1.22 Clear:RC:0(10.10.69.146):SA:0(0.0/3.8):. Processed in 5.576494 secs); 20 Jul 2004 20:25:45 -0000 X-Spam-Status: No, hits=0.0 required=3.8 Received: from unknown (HELO ?10.10.69.146?) (drew@corrupt.co.nz@10.10.69.146) by mail.corrupt.co.nz with SMTP; 20 Jul 2004 20:25:39 -0000 Message-ID: <40FD7F68.8030601@corrupt.co.nz> Date: Wed, 21 Jul 2004 08:24:08 +1200 From: Drew Broadley User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040714) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Oberman References: <20040720195643.89CA85D08@ptavv.es.net> In-Reply-To: <20040720195643.89CA85D08@ptavv.es.net> X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: Scott Long Subject: Re: HEADS UP [Re: thread+preemption stability improvement] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 20:25:40 -0000 Kevin Oberman wrote: >>Date: Tue, 20 Jul 2004 13:13:48 -0600 >>From: Scott Long >> >>Kevin Oberman wrote: >> >> >>>I just rebuilt my kernel and the problem is back. :-( >>> >>>I sure hope peter or Scott can figure this out soon. The kernel has now >>>changed enough that backing off the 4 files I was backing off is no >>>longer adequate, so I am again running with preemption turned off. >>> >>>System is P4-M 1.8 GHz UP with SCHED_ULE. It reliably dies on a >>>buildworld. >>> >>> >>Does it work better if you remove the PREEMPTION define in >>/sys/i386/include/param.h? >> >> > >Scott, > >That's how I built my current kernel and it's at least fairly painful It >does not freeze any longer, but the interactivity is poor. I'm not sure >if it's as bad as last time I tried, but my editor freezes for seconds >at a time and then catches up once something gets scheduled. (I think >it's the X server and not the editor that is the issue.) > >It's better than the freezes, but it's pretty painful. > >I can provide configs, logs (nothing there, though) or any other >information. > > Change the HZ to 2000 in the kernel. This will help handle the backlog introduced by removing PREEMPTION