Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2007 12:53:52 +0400
From:      Yuri Pankov <yuri@darklight.org.ru>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        current@freebsd.org
Subject:   Re: cvs commit: src/sys/kern sched_ule.c (fwd)
Message-ID:  <20070719085352.GA37441@darklight.org.ru>
In-Reply-To: <20070717182819.L92541@10.0.0.1>
References:  <20070717182819.L92541@10.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070719085352.GA37441>