From owner-freebsd-current@FreeBSD.ORG Sat Jul 10 08:55:03 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 A37C616A4CE; Sat, 10 Jul 2004 08:55:03 +0000 (GMT) Received: from mx1.imp.ch (mx1.imp.ch [157.161.9.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1670E43D1D; Sat, 10 Jul 2004 08:55:03 +0000 (GMT) (envelope-from mb@imp.ch) Received: from mx1.imp.ch (mx.imp.ch [157.161.9.64]) by mx1.imp.ch (8.12.11/8.12.11) with ESMTP id i6A8sw9A089191; Sat, 10 Jul 2004 10:54:59 +0200 (CEST) (envelope-from mb@imp.ch) Received: from mx1.imp.ch (localhost [127.0.0.1]) by mx1.imp.ch (8.12.11/8.12.11/Submit) with ESMTP id i6A8stNa089112; Sat, 10 Jul 2004 10:54:55 +0200 (CEST) (envelope-from mb@imp.ch) Received: (from clamav@localhost) by mx1.imp.ch (8.12.11/8.12.11/Submit) id i6A8ssNR089104; Sat, 10 Jul 2004 10:54:54 +0200 (CEST) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by ns1.imp.ch (MIMEDefang) with ESMTP id i6A8smZl049664; Sat, 10 Jul 2004 10:54:54 +0200 (CEST) Date: Sat, 10 Jul 2004 10:54:48 +0200 (CEST) From: Martin Blapp To: Robert Watson In-Reply-To: Message-ID: <20040710105224.L56824@cvs.imp.ch> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checksum: 5ef8ec527cbef74829708c9c01de6380 X-Virus-Status: No X-Spam-Level: X-Spam-Status: No, hits=-4.897 required=4 tests=BAYES_00, FORGED_RCVD_HELO X-Scanned-By: MIMEDefang 2.42 cc: Taku YAMAMOTO cc: freebsd-current@freebsd.org cc: Steve Kargl 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: Sat, 10 Jul 2004 08:55:03 -0000 Hi, > I'm now experiencing extremely hard hangs in the following configurations: > > SMP kernel running SCHED_ULE with hyperthreads > SMP kernel running SCHED_4BSD with hyperthreads > > To generate the load, I'm using the "supersmack" benchark with the > select-key.smack query set with 30 client workers and 10,000 transactions. > I am able to reliable hang the system with one or two runs. I'm seeing the same effect here on a 2 CPU IBM server running without HTT. The server is completly locked. We have running mimedefang on it and clamd, after 2-3 hours running, suddenly the processlist grows and grows and the box is not accessibe anymore. > By disabling the "#define PREEMPTION" entry in param.h with SCHED_4BSD, > I'm able to complete the benchmark several times in a row without apparent > problems. However, I'll leave it running for a few more hours and see if I > didn't just "get lucky". I'll then try SCHED_ULE w/o PREEMPTION. I'll try that too. Martin