From owner-freebsd-current@FreeBSD.ORG Mon Jul 12 19:07:25 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 AB0A516A4CE; Mon, 12 Jul 2004 19:07:25 +0000 (GMT) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D3B343D45; Mon, 12 Jul 2004 19:07:25 +0000 (GMT) (envelope-from q@uni.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id A1263D3814; Mon, 12 Jul 2004 21:07:23 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 83E79835B9; Mon, 12 Jul 2004 21:07:23 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 3E72E834B6; Mon, 12 Jul 2004 21:07:23 +0200 (CEST) Received: from coyote.q.local (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 135E2D381B; Mon, 12 Jul 2004 21:07:23 +0200 (CEST) Received: from roadrunner.q.local (roadrunner [192.168.0.147]) by coyote.q.local (8.12.10/8.12.10) with ESMTP id i6CJ7Mw2066335; Mon, 12 Jul 2004 21:07:22 +0200 (CEST) (envelope-from q@roadrunner.q.local) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.12.10/8.12.10) with ESMTP id i6CJ7MHb005691; Mon, 12 Jul 2004 21:07:22 +0200 (CEST) (envelope-from q@roadrunner.q.local) Received: (from q@localhost) by roadrunner.q.local (8.12.10/8.12.10/Submit) id i6CJ7G8A005684; Mon, 12 Jul 2004 21:07:16 +0200 (CEST) (envelope-from q) Date: Mon, 12 Jul 2004 21:07:16 +0200 From: Ulrich Spoerlein To: Ariff Abdullah Message-ID: <20040712190716.GA787@galgenberg.net> Mail-Followup-To: Ariff Abdullah , Robert Watson , freebsd-current@FreeBSD.org References: <20040710150620.7595b207.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <20040710150620.7595b207.skywizard@MyBSD.org.my> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) cc: freebsd-current@freebsd.org cc: Robert Watson Subject: Re: Native preemption is the culprit [was Re: today's CURRENT lockups] 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: Mon, 12 Jul 2004 19:07:25 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 10.07.2004 at 15:06:20 +0800, Ariff Abdullah wrote: > I'm suspecting bad combination between threaded apps and current > native preemption, either the preemption itself, or threads. Running > current kernel without any threaded apps turns up nothing suspicious. > Once the threaded apps started, it's like sending the entire system to > the death row. >=20 > I'm reverting following files to pre-July 2 to achive solid stability: >=20 > sys/sys/interrupt.h - v1.27 > sys/kern/kern_intr.c - v1.110 > sys/i386/i386/intr_machdep.c - v1.6 > sys/kern/sched_ule.c - v1.109 I tried to upgrade my kernel from 5.2.1 to -CURRENT and cvsupped post-preemption. Running a UP-Kernel on a UP-Machine with either SCHED_ULE or SCHED_BSD froze the machine under heavy load. It doesn't survive a buildworld or a medium port-build. I tried the revisions above and the machine no longer freezes under load, but does an instant reboot :( Is the machine expected to crash/freeze when running a -CURRENT kernel on a 5.2R userland? I don't wanna installworld unless I get a rock-solid kernel, that's in sync with it. Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Get it while it's hot! PGP Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA8uFkmArGtfDbn0QRAh+SAJ9GBN/W2Svhu55tWnJy3IhpnL9CsACfROYa dN/BG63h4w1JQVjo2ygBe5s= =LZmg -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--