From owner-freebsd-current@FreeBSD.ORG Wed Oct 3 14:07:08 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24A0316A41B for ; Wed, 3 Oct 2007 14:07:08 +0000 (UTC) (envelope-from sa2c@sa2c.net) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id F3F4113C4A8 for ; Wed, 3 Oct 2007 14:07:07 +0000 (UTC) (envelope-from sa2c@sa2c.net) Received: by an-out-0708.google.com with SMTP id c14so926905anc for ; Wed, 03 Oct 2007 07:07:07 -0700 (PDT) Received: by 10.142.214.5 with SMTP id m5mr539432wfg.1191411295961; Wed, 03 Oct 2007 04:34:55 -0700 (PDT) Received: from ?192.168.1.3? ( [122.135.127.33]) by mx.google.com with ESMTPS id c36sm891204rvf.2007.10.03.04.34.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Oct 2007 04:34:55 -0700 (PDT) Message-ID: <47037E5C.7090006@sa2c.net> Date: Wed, 03 Oct 2007 20:34:52 +0900 From: NIIMI Satoshi MIME-Version: 1.0 To: Jeff Roberson References: <20071002165007.D587@10.0.0.1> In-Reply-To: <20071002165007.D587@10.0.0.1> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org 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 14:07:08 -0000 Hi, Jeff Roberson wrote: > 2) Restores old sched_yield() behavior from 6.x. This was changed in > -current unintentionally I think. sched_yield() is now very fast with SCHED_ULE. On my test, it's faster than 6.2-REL even with HZ=100. > Those of you still using 4BSD can also verify that the yield changes > don't cause any problems there. Unfortunately, sched_yield() is still very slow with SCHED_4BSD. Thanks, -- NIIMI Satoshi