From owner-freebsd-current@FreeBSD.ORG Wed Jun 13 02:29:16 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC8C616A41F; Wed, 13 Jun 2007 02:29:16 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8753D13C484; Wed, 13 Jun 2007 02:29:16 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l5D2TDbT054124 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 12 Jun 2007 22:29:15 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 12 Jun 2007 19:28:39 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: current@freebsd.org Message-ID: <20070612192146.Y60816@10.0.0.1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Call for testers, amd64 only, new scheduler. 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: Wed, 13 Jun 2007 02:29:17 -0000 This is actually a ULE derivative that I have been discussing for some time. It is now stable enough that I would like more people to bang on it and give feedback about performance and tell me about any stability problems they encounter. You can see in the following graph that the ramp-up times for the sysbench benchmark have improved although the tail has suffered a little: http://people.freebsd.org/~jeff/sysbench.png The new scheduler is FreeBSD-7.0-ULE-pcpulocks. On my dual cpu system the results are much less ambiguous. It's a 10-15% win on sysbench across the board. This also improves an artificial thread benchmark included with sysbench by 500% on an 8 way and gives us ebizzy numbers on par with or better than linux. It also includes a mechanism that should improve bde's nfs buildworld times, although I have not yet verified that. Hopefully he'll try it as well. It should reduce CPU idle time while also negating the effects of thrashing other cpus run queues in the idle thread. The new patch is at: http://people.freebsd.org/~jeff/schedsmp.diff You have to change your scheduler to SCHED_SMP. x86 support is forthcoming. Depending on feedback and what re thinks I am going to consider replacing ULE entirely with SCHED_SMP or committing this as a seperate scheduler for 7.0. Thanks, Jeff