From owner-freebsd-current@FreeBSD.ORG Wed Oct 3 16:34:06 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 7DC2916A419; Wed, 3 Oct 2007 16:34:06 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id E851013C48A; Wed, 3 Oct 2007 16:34:04 +0000 (UTC) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id l93GXpbN012678; Wed, 3 Oct 2007 18:33:51 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.1/8.14.1) with ESMTP id l93GXpdk017820; Wed, 3 Oct 2007 18:33:51 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.1/8.14.1/Submit) id l93GXogS017819; Wed, 3 Oct 2007 18:33:50 +0200 (CEST) (envelope-from marc) Date: Wed, 3 Oct 2007 18:33:50 +0200 From: Marc Fonvieille To: Jeff Roberson , freebsd-current@freebsd.org, Roman Bogorodskiy Message-ID: <20071003163350.GA2449@gothic.blackend.org> Mail-Followup-To: Jeff Roberson , freebsd-current@freebsd.org, Roman Bogorodskiy References: <20070916061932.GA93480@underworld.novel.ru> <20070918061806.GA85425@blazingdot.com> <20070918004027.G558@10.0.0.1> <20071001101525.GA1530@gothic.blackend.org> <20071001112845.N583@10.0.0.1> <20071001185454.GA72080@abigail.blackend.org> <20071002010703.D6669@10.0.0.1> <20071002190208.GA94380@abigail.blackend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071002190208.GA94380@abigail.blackend.org> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: SCHED_ULE on desktop system 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 16:34:06 -0000 On Tue, Oct 02, 2007 at 09:02:08PM +0200, Marc Fonvieille wrote: > On Tue, Oct 02, 2007 at 01:07:57AM -0700, Jeff Roberson wrote: > > >I tried with _4BSD and it gives the same behavior (I even downgraded > > >Xorg to 7.2). Renicing X does not really help. > > > > > >I use nvidia or nv driver (nvidia one is a bit less worse). The lag can > > >even appears with 4% of CPU usage according to top(1). > > >Thanks to your remarks and my tests, I'm now sure it's scheduler > > >independent. It seems 7-CURRENT is slower than 6.X regarding I/O :( > > >For info the box is a 1.2GHz Athlon with 1GB of RAM and swap is never > > >used. > > > > Can you try with ULE and the attached diff? sched_yield() behavior > > changed between 6.x and 7-CURRENT. This has been referenced in other bug > > reports. Please let me know if this helps. > > > > Ok, I'm going to test with your patch. > No noticeable difference :( I'll try with the patches set you posted today. -- Marc