Date: Mon, 15 Oct 2007 14:28:26 -0400 From: Ken Smith <kensmith@cse.Buffalo.EDU> To: "P.U.Kruppa" <ulrich@pukruppa.net> Cc: freebsd-current@freebsd.org Subject: Re: HEADS-UP: ULE scheduler coming to 8.0-CURRENT soon... Message-ID: <1192472906.95331.44.camel@opus.cse.buffalo.edu> In-Reply-To: <20071015201712.Q1559@small> References: <1192464248.95331.22.camel@opus.cse.buffalo.edu> <20071015201712.Q1559@small>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Mon, 2007-10-15 at 20:18 +0200, P.U.Kruppa wrote:
> On Mon, 15 Oct 2007, Ken Smith wrote:
>
> >
> > I think it's fairly common knowledge by now but... The ULE scheduler is
> > "back" and has been doing VERY nicely. We actually had an internal
> > discussion about making it the default for 7.0. In the end it was
> > decided that ULE "just barely missed the bus". Its performance makes
> > giving it a try once 7.0 comes out definitely worthwhile but it was just
> > barely "too new" for us to be truly comfortable with changing it to be
> > the default. We'd like it to have the exposure of one release cycle
> > (7.0-REL) before it becomes the default. For now we're planning to make
> > it the default for 7.1-REL.
> >
> > To that end either Jeff or I will be switching the default scheduler in
> > 8.0-CURRENT for the amd64 and i386 architectures over to ULE in a couple
> > days (Wednesday-ish).
> But it is and will be available for 7.0 ???
>
Yes, it's in RELENG_7 (what will be 7.0) now but it's not the default.
You can switch to it by rebuilding the kernel from a config file that
changes the scheduler to ULE. What you would need to change in a kernel
config file (based on RELENG_7's sys/i386/conf/GENERIC) would be:
Index: sys/i386/conf/GENERIC
===================================================================
RCS file: /home/ncvs/src/sys/i386/conf/GENERIC,v
retrieving revision 1.474.2.1
diff -u -r1.474.2.1 GENERIC
--- sys/i386/conf/GENERIC 11 Oct 2007 06:20:26 -0000 1.474.2.1
+++ sys/i386/conf/GENERIC 15 Oct 2007 18:24:38 -0000
@@ -28,7 +28,7 @@
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
-options SCHED_4BSD # 4BSD scheduler
+options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # IPv6 communications protocols
--
Ken Smith
- From there to here, from here to | kensmith@cse.buffalo.edu
there, funny things are everywhere. |
- Theodore Geisel |
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQBHE7FK/G14VSmup/YRApCQAJ9YZg2f70GtHgO2WE5fZef5YahqugCfS2ZH
SX3hB23uHI5OB9Jj4evKKzg=
=plkw
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1192472906.95331.44.camel>
