From owner-freebsd-current@FreeBSD.ORG Mon Oct 15 18:28:39 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 962F616A421 for ; Mon, 15 Oct 2007 18:28:39 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from phoebe.cse.buffalo.edu (phoebe.cse.buffalo.edu [128.205.32.89]) by mx1.freebsd.org (Postfix) with ESMTP id 14BC913C474 for ; Mon, 15 Oct 2007 18:28:36 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [128.205.32.4] (opus.cse.buffalo.edu [128.205.32.4]) (authenticated bits=0) by phoebe.cse.buffalo.edu (8.14.1/8.13.7) with ESMTP id l9FISQAs007664 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 15 Oct 2007 14:28:27 -0400 (EDT) (envelope-from kensmith@cse.buffalo.edu) From: Ken Smith To: "P.U.Kruppa" In-Reply-To: <20071015201712.Q1559@small> References: <1192464248.95331.22.camel@opus.cse.buffalo.edu> <20071015201712.Q1559@small> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-D/PgUzoHRSTdbNjuxYlZ" Organization: U. Buffalo CSE Department Date: Mon, 15 Oct 2007 14:28:26 -0400 Message-Id: <1192472906.95331.44.camel@opus.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port X-DCC-Buffalo.EDU-Metrics: phoebe.cse.buffalo.edu 1029; Body=0 Fuz1=0 Fuz2=0 X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on phoebe.cse.buffalo.edu Cc: freebsd-current@freebsd.org Subject: Re: HEADS-UP: ULE scheduler coming to 8.0-CURRENT soon... 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: Mon, 15 Oct 2007 18:28:39 -0000 --=-D/PgUzoHRSTdbNjuxYlZ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2007-10-15 at 20:18 +0200, P.U.Kruppa wrote: > On Mon, 15 Oct 2007, Ken Smith wrote: >=20 > > > > I think it's fairly common knowledge by now but... The ULE scheduler i= s > > "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 jus= t > > 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 mak= e > > 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 coupl= e > > days (Wednesday-ish). > But it is and will be available for 7.0 ??? >=20 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 @@ =20 makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols =20 -options SCHED_4BSD # 4BSD scheduler +options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-D/PgUzoHRSTdbNjuxYlZ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHE7FK/G14VSmup/YRApCQAJ9YZg2f70GtHgO2WE5fZef5YahqugCfS2ZH SX3hB23uHI5OB9Jj4evKKzg= =plkw -----END PGP SIGNATURE----- --=-D/PgUzoHRSTdbNjuxYlZ--