From owner-freebsd-current@FreeBSD.ORG Thu Jul 19 08:59:47 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 B42C116A406 for ; Thu, 19 Jul 2007 08:59:47 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 68C2513C4BB for ; Thu, 19 Jul 2007 08:59:47 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l6J8xVF3072174 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Thu, 19 Jul 2007 04:59:32 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Thu, 19 Jul 2007 02:02:44 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Yuri Pankov In-Reply-To: <20070719085352.GA37441@darklight.org.ru> Message-ID: <20070719020201.F561@10.0.0.1> References: <20070717182819.L92541@10.0.0.1> <20070719085352.GA37441@darklight.org.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: cvs commit: src/sys/kern sched_ule.c (fwd) 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: Thu, 19 Jul 2007 08:59:47 -0000 On Thu, 19 Jul 2007, Yuri Pankov wrote: > On Tue, Jul 17, 2007 at 06:31:37PM -0700, Jeff Roberson wrote: >> Thanks everyone for your help. In summary it sounds like there are two >> issues. >> >> 1) kqemu explicitly uses sched_lock. I'll see if I can contact the author >> about fixing this. >> >> 2) As much as a 6-7% slowdown on buildworld on dual core machines as >> compared to 4BSD. I'm not sure if I'm going to do anything about this. >> Once you get to 4 or 8 cores and -j8 or more they even out with ULE having >> significantly less system time. I don't know if I want to compromise that >> for slightly better dual core compile times. >> >> This is in the tree for 7.0 now though. I'm very excited to see this >> happen. >> >> Thanks again, >> Jeff > > Hi Jeff, > > I can't build kernel after this commit, sources updated at Jul, 19, 8am > GMT, amd64: Left a file out of an earlier commit. Sorry! You can delete those asserts or cvsup again. Thanks, Jeff > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g > -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -fno-common -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 > -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 > -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -Werror > /usr/src/sys/kern/sched_ule.c > In file included from /usr/src/sys/kern/sched_ule.c:2554: > /usr/src/sys/kern/kern_switch.c: In function 'maybe_preempt': > /usr/src/sys/kern/kern_switch.c:270: error: 'sched_lock' undeclared > (first use in this function) > /usr/src/sys/kern/kern_switch.c:270: error: (Each undeclared identifier > is reported only once > /usr/src/sys/kern/kern_switch.c:270: error: for each function it appears > in.) > *** Error code 1 > > config: > include GENERIC > ident DARKLIGHT > > nooptions SCHED_4BSD > options SCHED_ULE > > options SHMMAXPGS=65536 > options SEMMNI=40 > options SEMMNS=240 > options SEMUME=40 > options SEMMNU=120 > > options GEOM_JOURNAL > > device sound > device snd_ich > > > TIA and sorry if this is pilot error, > Yuri >