From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 19:15:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86AC516A4CF for ; Thu, 4 Mar 2004 19:15:54 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3799A43D39 for ; Thu, 4 Mar 2004 19:15:53 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 23413 invoked from network); 5 Mar 2004 03:15:51 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 5 Mar 2004 03:15:50 -0000 Received: from it.buh.cameradicommercio.ro (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id 98BA36F; Fri, 5 Mar 2004 05:17:48 +0200 (EET) Date: Fri, 5 Mar 2004 05:17:48 +0200 From: Ion-Mihai Tetcu To: "Daniel O'Connor" Message-Id: <20040305051748.50b6a538@it.buh.cameradicommercio.ro> In-Reply-To: <200403051303.17461.doconnor@gsoft.com.au> References: <200403051303.17461.doconnor@gsoft.com.au> X-Mailer: Sylpheed version 0.9.9claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: jeffr@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: SCHED_ULE + nice strangeness? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 05 Mar 2004 03:15:54 -0000 On Fri, 5 Mar 2004 13:03:17 +1030 "Daniel O'Connor" wrote: > Hi, > I have found that if I run Audacity (sound editor > ports/audio/audacity) and do a CPU intensive task (eg noise removal, > FFT filter, etc) my system becomes almost unusable (takes seconds for > the mouse to respond, X shows signs of getting CPU very very rarely > etc). > > I attempted to fudge a fix by reniceing X -20 and Audacity +10 but it > didn't seem to make things any better.. I also found that in top the > NICE column bears little resemblance to my setting.. I saw values like > -100, -140, and 0. > > I haven't tried the same thing in SCHED_4BSD.. My kernel dates from > around the beginning of February (-current) What if you try to rtprio 16 -some_root_own_process ? I got panic: Negative nice count with sources about 2 Feb trying this on portsdb -Uu.. Upgraded to yesterday sources and it's still there. Fully reproducible. I've posted details on 3, but nobody seems to care. Another strange thing: #sh while true do done and watch how sh gets in top. Kill the loop when it's about 70% CPU and switch to top again. It's still there for about 10 seconds. -- IOnut Unregistered ;) FreeBSD user