From owner-freebsd-current@FreeBSD.ORG Tue Jul 17 09:08:27 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 16D7416A402 for ; Tue, 17 Jul 2007 09:08:27 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id CFF3C13C494 for ; Tue, 17 Jul 2007 09:08:26 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so339972anc for ; Tue, 17 Jul 2007 02:08:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B4aTOWNvMkRRV1JARwsnQztMqclaioHcv+u9FjHmbg+tiErTvkxfe+nIGciXR6jbQy/TqOEvzoNoiGEr6JnTgOqxxyAwFsWpfWRIcsuKlqBPHFyT8fDCptVyUinN9GCBEYWObFqWEjJidhtSzJ5/IWfKHMjCmfIiWD9CUND9vBk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Gkc1OfQQyyEP7dzGPILN0zNd+LmhfWFREVVFELz7lmEDHgem080uZWCcmcQa31Ki6CxzPaJ6+JGw/jUAQMdW7RrUanSmZCIWGGgVbrAhsrGl+8w+UrbeO/S01ZDXN29qMxhNuNMBY5o5Xa8bChu5SKIXzFyPNXEsEOTwvv+E+ss= Received: by 10.100.120.5 with SMTP id s5mr91619anc.1184663306029; Tue, 17 Jul 2007 02:08:26 -0700 (PDT) Received: by 10.100.137.3 with HTTP; Tue, 17 Jul 2007 02:08:25 -0700 (PDT) Message-ID: Date: Tue, 17 Jul 2007 17:08:25 +0800 From: "Jiawei Ye" To: "Claus Guttesen" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070716233030.D92541@10.0.0.1> 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:08:27 -0000 On 7/17/07, 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. > > -- > regards > Claus > > When lenity and cruelty play for a kingdom, > the gentlest gamester is the soonest winner. > > Shakespeare > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > The patch patches SCHED_ULE with SCHED_SMP bits, so you need SCHED_ULE instead of SMP in the kernel. Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant."