From owner-freebsd-current@FreeBSD.ORG Thu Jul 19 08:55:07 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 E574F16A400 for ; Thu, 19 Jul 2007 08:55:07 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7BDFF13C481 for ; Thu, 19 Jul 2007 08:55:05 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l6J8rrR9052049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Jul 2007 12:53:58 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l6J8rqS6052048; Thu, 19 Jul 2007 12:53:52 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Thu, 19 Jul 2007 12:53:52 +0400 From: Yuri Pankov To: Jeff Roberson Message-ID: <20070719085352.GA37441@darklight.org.ru> References: <20070717182819.L92541@10.0.0.1> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <20070717182819.L92541@10.0.0.1> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (darklight.org.ru [127.0.0.1]); Thu, 19 Jul 2007 12:53:59 +0400 (MSD) 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:55:08 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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= =20 > issues. > > 1) kqemu explicitly uses sched_lock. I'll see if I can contact the auth= or=20 > about fixing this. > > 2) As much as a 6-7% slowdown on buildworld on dual core machines as=20 > compared to 4BSD. I'm not sure if I'm going to do anything about this.= =20 > Once you get to 4 or 8 cores and -j8 or more they even out with ULE havin= g=20 > significantly less system time. I don't know if I want to compromise tha= t=20 > for slightly better dual core compile times. > > This is in the tree for 7.0 now though. I'm very excited to see this=20 > happen. > > Thanks again, > Jeff Hi Jeff, I can't build kernel after this commit, sources updated at Jul, 19, 8am GMT, amd64: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=3Dc99 -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=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -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=3D65536 options SEMMNI=3D40 options SEMMNS=3D240 options SEMUME=3D40 options SEMMNU=3D120 options GEOM_JOURNAL device sound device snd_ich TIA and sorry if this is pilot error, Yuri --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGnyageoAklVFrLdgRAq1PAJ476BSabXFFTGX45wc7FkZYszcWPQCfTPc5 ND7Rmto22Hq4A+UPpmAMlrA= =LokT -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--