From owner-freebsd-current@FreeBSD.ORG Tue Jul 17 09:40:05 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7165E16A400 for ; Tue, 17 Jul 2007 09:40:05 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout7.cac.washington.edu (mxout7.cac.washington.edu [140.142.32.178]) by mx1.freebsd.org (Postfix) with ESMTP id 4C40313C4A7 for ; Tue, 17 Jul 2007 09:40:05 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout7.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l6H9dwHQ024882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 17 Jul 2007 02:39:58 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l6H9dvPh030506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 17 Jul 2007 02:39:57 -0700 Message-ID: <469C8E6C.3060404@u.washington.edu> Date: Tue, 17 Jul 2007 02:39:56 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Claus Guttesen References: <20070716233030.D92541@10.0.0.1> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.2.304607, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.7.17.22151 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='SUPERLONG_LINE 0.05, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_PHRASE_7 0, __USER_AGENT 0' Cc: Jeff Roberson , current@freebsd.org Subject: Re: ULE/SCHED_SMP diff for 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 17 Jul 2007 09:40:05 -0000 Claus Guttesen wrote: >> http://people.freebsd.org/~jeff/ule.diff >> >> This patch is scheduled for inclusion in 7.0. I would like anyone who >> cares to run it to validate that it does not create any stability or >> performance regression over the existing ULE. This patch replaces ULE >> with SCHED_SMP, which will now no longer exist as a seperate fork of >> ULE. > > Applied the patch and tried to compile new kernel. However I get: > > julie/usr/src#>time make -j 3 buildkernel > -------------------------------------------------------------- >>>> Kernel build for WEBSRV started on Tue Jul 17 10:56:34 CEST 2007 > -------------------------------------------------------------- > ===> WEBSRV > mkdir -p /usr/obj/usr/src/sys > -------------------------------------------------------------- >>>> stage 1: configuring the kernel > -------------------------------------------------------------- > cd /usr/src/sys/amd64/conf; > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > config -d /usr/obj/usr/src/sys/WEBSRV > /usr/src/sys/amd64/conf/WEBSRV > /usr/src/sys/amd64/conf/WEBSRV: unknown option "SCHED_SMP" > *** Error code 1 > 1 error > *** Error code 2 > 1 error > make -j 3 buildkernel 0.06s user 0.04s system 101% cpu 0.101 total > > I have > > options SCHED_SMP # Newer SMP scheduler > > in my kernel. > > Hunk succeeded everytime, src is from last week. > Excellent work Jeff (with note to whoever modified the fs code as well)! My fat program seems to have survived 4 complete iterations of 1 million reads and writes, all without issue, with my printf statements that appeared to have stimulated a race condition at ~90k reads and writes before. I'll let it run overnight to completion (another 46 tries), and let you know how it goes :).. System is a UP amd64 capable VMware host. Thanks, -Garrett