From owner-freebsd-current@FreeBSD.ORG Mon Sep 17 21:19:36 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 78CE216A420; Mon, 17 Sep 2007 21:19:36 +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 3479F13C4D1; Mon, 17 Sep 2007 21:19:36 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.103] (c-67-160-44-208.hsd1.wa.comcast.net [67.160.44.208]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l8HLJYg1036807 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Mon, 17 Sep 2007 17:19:35 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Mon, 17 Sep 2007 14:22:29 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Roman Bogorodskiy In-Reply-To: <20070917162400.GA42669@underworld.novel.ru> Message-ID: <20070917141820.M558@10.0.0.1> References: <20070916061932.GA93480@underworld.novel.ru> <20070915234855.G531@10.0.0.1> <20070916071421.GA1320@underworld.novel.ru> <20070916003323.U4507@10.0.0.1> <20070917044351.GA17565@underworld.novel.ru> <20070917162400.GA42669@underworld.novel.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org 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: Mon, 17 Sep 2007 21:19:36 -0000 On Mon, 17 Sep 2007, Roman Bogorodskiy wrote: > Roman Bogorodskiy wrote: > >> Jeff Roberson wrote: >> >>> On Sun, 16 Sep 2007, Roman Bogorodskiy wrote: >>> >>>> Jeff Roberson wrote: >>>> >>>>> This is contrary to the experiences of many others. Can you send me your >>>>> dmesg? There may be something about your particular hardware that is >>>>> triggering a bug. ULE is definitely designed to be responsive on the >>>>> desktop. >>>> >>>> Thanks for the quick answer! >>>> >>>> Here's my dmesg: http://people.freebsd.org/~novel/misc/dmesg.txt >>> >>> Roman, >>> >>> The enclosed patch helps things on my system, however, there are still some >>> delays due to IO issues. Let me know if this helps. >> >> This patch seems to make my system react faster. However I need some >> time to test it more carefully. > > It looks like it's not really so, it's still very slow under load. :( Roman, Can you please verify that you are not swapping. If you are, try the patch that I sent. Otherwise, can you try getting KTR_SCHED output for me? Put the following in your kernel config file: options KTR options KTR_COMPILE=KTR_SCHED options KTR_MASK=KTR_SCHED options KTR_ENTRIES=65536 Then run the load that exhibits the problem. compile, play a movie, etc. wait for a particularly bad pause and then run the following: sysctl debug.ktr.mask=0 && ktrdump -ct > out && sysctl debug.ktr.mask=536870 It's best to have the command ready in a shell so you can run it in the closest proximity to the incident. Then gzip the results and email them to me. On my system I'm not able to play a movie while running buildworld due to long disk waits. However, if I use a dvd driver, mplayer and x windows both get enough cpu time to play the movie skip free. So this is not a cpu scheduler problem as such. IO scheduling does feel less responsive than 6.x but I have not done a side by side comparison. Jeff > >>> Thanks, >>> Jeff >>> >>>> >>>> Roman Bogorodskiy >>>> >> >> >> Roman Bogorodskiy > > > Roman Bogorodskiy >