From owner-freebsd-stable@FreeBSD.ORG Fri Feb 11 23:47:33 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B78F416A4CE for ; Fri, 11 Feb 2005 23:47:33 +0000 (GMT) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 8254843D2F for ; Fri, 11 Feb 2005 23:47:32 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 14306 invoked from network); 11 Feb 2005 23:42:51 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 11 Feb 2005 23:42:51 -0000 Received: (qmail 30224 invoked by uid 89); 11 Feb 2005 23:51:02 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 11 Feb 2005 23:51:02 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 8DBDE114CD; Sat, 12 Feb 2005 01:47:27 +0200 (EET) Date: Sat, 12 Feb 2005 01:47:27 +0200 From: Ion-Mihai Tetcu To: Kris Kennaway Message-ID: <20050212014727.39fc2d14@it.buh.tecnik93.com> In-Reply-To: <20050208163915.GC43054@xor.obsecurity.org> References: <200502081333.08964.michaelnottebrock@gmx.net> <4253.213.222.48.10.1107866717.squirrel@mailgw.icon.bg> <20050208155822.29df9373@it.buh.tecnik93.com> <20050208163915.GC43054@xor.obsecurity.org> X-Mailer: Sylpheed-Claws 1.0.0 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: v0rbiz@icon.bg cc: freebsd-stable@freebsd.org Subject: Re: ULE status X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 23:47:33 -0000 On Tue, 8 Feb 2005 08:39:15 -0800 Kris Kennaway wrote: > On Tue, Feb 08, 2005 at 03:58:22PM +0200, Ion-Mihai Tetcu wrote: > > On Tue, 8 Feb 2005 14:45:17 +0200 (EET) > > "Viktor Ivanov" wrote: > > [ ... ] > > > On the other hand, using SCHED_ULE improves sound quality and general > > > system 'response' concerning GUI... don't know 'bout performance. > > > > By any chance does it help with copying from ata disks on different > > controllers ? For me on large files this brings up "swap_pager: > > indefinite wait buffer" with 4BSD. > > That doesn't sound like a scheduler problem, rather a hardware or ata > driver problem. Did you try sos' new driver yet? Well, I'm running my desktop with an ULE kernel now, snippets bellow: options SCHED_ULE # ULE scheduler options ADAPTIVE_GIANT # Giant mutex is adaptive. options HZ=1200 options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # Extra sanity checks of internal structures, # required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed and # sysctl debug.witness debug.witness.skipspin: 1 debug.witness.trace: 1 debug.witness.kdb: 0 debug.witness.watch: 0 And while I don't see may improvements in general operation, at least this problem is gone. I still get a few seconds pauses in sound and switching between app in X is sluggish while copying large files, but at least I don't get swap pager complains and I'd say there's a 3x responsiveness improvement. I didn't test ata patches yet, just to take one step at the time. -- IOnut Unregistered ;) FreeBSD "user"