From owner-cvs-all@FreeBSD.ORG Sun Mar 2 11:00:10 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC5581065675; Sun, 2 Mar 2008 11:00:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by mx1.freebsd.org (Postfix) with ESMTP id 475F58FC20; Sun, 2 Mar 2008 11:00:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m22AxwI6005911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Mar 2008 21:59:59 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m22AxwA2001565; Sun, 2 Mar 2008 21:59:58 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m22AxwQH001564; Sun, 2 Mar 2008 21:59:58 +1100 (EST) (envelope-from peter) Date: Sun, 2 Mar 2008 21:59:58 +1100 From: Peter Jeremy To: Jeff Roberson Message-ID: <20080302105958.GF67687@server.vk2pj.dyndns.org> References: <200803020821.m228L0Yw042389@repoman.freebsd.org> <20080301222513.Y920@desktop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cPi+lWm09sJ+d57q" Content-Disposition: inline In-Reply-To: <20080301222513.Y920@desktop> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 11:00:11 -0000 --cPi+lWm09sJ+d57q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 01, 2008 at 10:29:50PM -1000, Jeff Roberson wrote: >With these changes ULE is the only scheduler that supports the new cpuset= =20 >api. Excellent work. I didn't expect it to be implemented so quickly. > It succeeds on 4BSD but the scheduler doesn't obey the masks. I don't=20 >presently have a plan to implement it on 4BSD as it will be potentially=20 >very inefficient to search the runq for a compatible thread on every=20 >context switch. I won't object if someone else wants to implement this,= =20 >otherwise I'll make the syscalls return ENOSYS if 4BSD is compiled in. I would prefer to see the project devote available resources to improving ULE - with a view to deprecating 4BSD ASAP - rather than retrofitting new features into 4BSD. IMHO, it's not clear whether requests via the cpuset API should be mandatory or advisory - I believe valid cases can be made for either approach. In the latter case, it would be more reasonable for the cpuset implementation on 4BSD to just be a no-op, rather than failing. >Kris has done some excellent benchmarking as usual. Here you can see the= =20 >improvement in postgres depending on various scheduler debug settings: > >http://people.freebsd.org/~kris/scaling/pgsql-16cpu.png The improvement is quite substantial. Congratulations Jeff. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --cPi+lWm09sJ+d57q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHyoiu/opHv/APuIcRAuhKAJ4/cXLP36hGxqKgBKshyj4dDPerTwCdH9GA nK/6VWjsh20RK3sFAIk2Mdc= =ArkA -----END PGP SIGNATURE----- --cPi+lWm09sJ+d57q--