From owner-freebsd-current@FreeBSD.ORG Wed Oct 3 15:30:42 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 54B1E16A417 for ; Wed, 3 Oct 2007 15:30:42 +0000 (UTC) (envelope-from nevans@talkpoint.com) Received: from mailbox.talkpoint.com (mailbox.talkpoint.com [204.141.15.162]) by mx1.freebsd.org (Postfix) with ESMTP id 3725F13C45B for ; Wed, 3 Oct 2007 15:30:42 +0000 (UTC) (envelope-from nevans@talkpoint.com) Received: from localhost (localhost [127.0.0.1]) by mailbox.talkpoint.com (Postfix) with ESMTP id B2A62231C497 for ; Wed, 3 Oct 2007 11:07:28 -0400 (EDT) X-Virus-Scanned: amavisd-new at X-Spam-Score: -3.148 X-Spam-Level: X-Spam-Status: No, score=-3.148 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1.8, AWL=1.251, BAYES_00=-2.599] Received: from mailbox.talkpoint.com ([127.0.0.1]) by localhost (mailbox.talkpoint.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h-06Em-np7EA for ; Wed, 3 Oct 2007 11:07:28 -0400 (EDT) Received: from pleiades.nextvenue.com (pleiades.nextvenue.com [204.141.15.194]) by mailbox.talkpoint.com (Postfix) with ESMTP id 35D0B231C463 for ; Wed, 3 Oct 2007 11:07:28 -0400 (EDT) Date: Wed, 3 Oct 2007 11:07:27 -0400 From: Nick Evans To: freebsd-current@freebsd.org Message-ID: <20071003110727.411aa2de@pleiades.nextvenue.com> In-Reply-To: <20071002165007.D587@10.0.0.1> References: <20071002165007.D587@10.0.0.1> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ULE/yielding patch for testing. 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, 03 Oct 2007 15:30:42 -0000 On Tue, 2 Oct 2007 16:53:33 -0700 (PDT) Jeff Roberson wrote: > Enclosed is a patch that does two things: > > 1) Reduces UP context switch time by over 10% making it faster than 4BSD > on UP. On SMP it's hard to compare since ULE can do as many as 30x as > many switches per second on my 8way system. > > 2) Restores old sched_yield() behavior from 6.x. This was changed in > -current unintentionally I think. > > I'd appreciate any extra testing. The ULE context switch time > improvements required some changes to the frequency that we recalculate > priorities. I'm mostly interested in hearing whether this causes any > regression in normal workloads. > > Those of you still using 4BSD can also verify that the yield changes don't > cause any problems there. > > Thanks, > Jeff Jeff, I haven't noticed any adverse affects with this patch on yesterdays CURRENT+ULE. System is a Pentium D 915 with 1 gig ram. Built a bunch of larger ports while browsing in firefox and setting up enlightenment-devel, interactivity was good. Enlightenment's eye-candy stayed very fluid. Nick