From owner-freebsd-current@FreeBSD.ORG Sat Oct 6 12:18:09 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 7478916A420; Sat, 6 Oct 2007 12:18:09 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8FED913C480; Sat, 6 Oct 2007 12:18:08 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FACYVB0d5LYGM/2dsb2JhbACBWQ X-IronPort-AV: E=Sophos;i="4.21,239,1188743400"; d="scan'208";a="205232380" Received: from ppp121-45-129-140.lns11.adl6.internode.on.net (HELO mail.clearchain.com) ([121.45.129.140]) by ipmail01.adl2.internode.on.net with ESMTP; 06 Oct 2007 21:32:46 +0930 Received: from [192.168.155.249] (draco.internal.clearchain.com [192.168.155.249]) (authenticated bits=0) by mail.clearchain.com (8.13.8/8.13.8) with ESMTP id l96C2e6p003935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 6 Oct 2007 21:32:42 +0930 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <47077951.5030906@clearchain.com> Date: Sat, 06 Oct 2007 21:32:25 +0930 From: Benjamin Close User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Marc Fonvieille References: <20071002165007.D587@10.0.0.1> <20071006074429.GB976@gothic.blackend.org> <20071006102113.GC976@gothic.blackend.org> In-Reply-To: <20071006102113.GC976@gothic.blackend.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.clearchain.com [192.168.154.1]); Sat, 06 Oct 2007 21:32:42 +0930 (CST) X-Mailman-Approved-At: Sat, 06 Oct 2007 12:28:13 +0000 Cc: Jeff Roberson , 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: Sat, 06 Oct 2007 12:18:09 -0000 Marc Fonvieille wrote: > On Sat, Oct 06, 2007 at 09:44:29AM +0200, Marc Fonvieille wrote: > >> On Tue, Oct 02, 2007 at 04:53:33PM -0700, 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. >>> >>> >> [tested with _ULE] >> >> This seems to help a bit the things for me (desktop use during >> compilations). But 6.X is still faster, i.e, less lags and less jerky >> mouse movements during port builds. >> Thanks for spending time improving things, I really appreciate it. >> >> > > After more testing, the lag problem is caused by the use of firefox. > Once I try to open a heavy webpage, both firefox and Xorg become slow, > the rest is fine. By the "rest" I mean: audacious playing mp3s, wget and > ncftp downloading huge (100MB) files, compiling wine and aMule running. > I find the lag occuring with the 4BSD scheduler as well. dailytech.com is a particularly good site at lagging the system (though a great website). Perhaps this isn't scheduler related? Cheers, Benjamin