From owner-freebsd-performance@FreeBSD.ORG Thu Nov 18 20:12:00 2010 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4704B106566C; Thu, 18 Nov 2010 20:12:00 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id D5B7E8FC18; Thu, 18 Nov 2010 20:11:59 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 30F65E7203; Thu, 18 Nov 2010 20:11:59 +0000 (GMT) Received: from unknown (client-86-27-40-229.glfd.adsl.virginmedia.com [86.27.40.229]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Thu, 18 Nov 2010 20:11:58 +0000 (GMT) Date: Thu, 18 Nov 2010 20:11:58 +0000 From: Bruce Cran To: Lucius Windschuh Message-ID: <20101118201158.000029b5@unknown> In-Reply-To: References: <4CE50849.106@zedat.fu-berlin.de> <4CE52177.3020306@freebsd.org> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 18 Nov 2010 20:20:29 +0000 Cc: Alexander Best , freebsd-performance@freebsd.org, Andriy Gapon Subject: Re: TTY task group scheduling X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2010 20:12:00 -0000 [removed current and stable from Cc list] On Thu, 18 Nov 2010 19:55:05 +0100 Lucius Windschuh wrote: > Because currently, my machine is barely usable if a compile job with > parallelism is running. Movies stutter, Firefox hangs. And even nice > -n 20 doesn't do the job in every case, as +20 seems not to be the > idle priority anymore?!? Have you tried increasing kern.sched.preempt_thresh? According to http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/05a39f816fd8acc6/82affa9f195b747d?lnk=raot&fwc=1&pli=1 a good value for desktop use would be 224. -- Bruce Cran