Re: HEADS-UP: ULE scheduler coming to 8.0-CURRENT soon...

From: Ken Smith <kensmith_at_cse.Buffalo.EDU>
Date: Mon, 15 Oct 2007 14:28:26 -0400
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
_at__at_ -28,7 +28,7 _at__at_
 
 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_at_cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


Received on Mon Oct 15 2007 - 16:28:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC