From owner-freebsd-performance@FreeBSD.ORG Thu Nov 18 20:20:23 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 1320A106564A; Thu, 18 Nov 2010 20:20:23 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from out-0.mx.aerioconnect.net (out-0-16.mx.aerioconnect.net [216.240.47.76]) by mx1.freebsd.org (Postfix) with ESMTP id E49368FC0C; Thu, 18 Nov 2010 20:20:22 +0000 (UTC) Received: from idiom.com (postfix@mx0.idiom.com [216.240.32.160]) by out-0.mx.aerioconnect.net (8.13.8/8.13.8) with ESMTP id oAIKKMB0024055; Thu, 18 Nov 2010 12:20:22 -0800 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 31AEF2D601A; Thu, 18 Nov 2010 12:20:20 -0800 (PST) Message-ID: <4CE58A86.6010406@freebsd.org> Date: Thu, 18 Nov 2010 12:20:22 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Lucius Windschuh References: <4CE50849.106@zedat.fu-berlin.de> <4CE52177.3020306@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 216.240.47.51 Cc: freebsd-performance@freebsd.org, FreeBSD Current , FreeBSD Stable , 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:20:23 -0000 On 11/18/10 10:55 AM, Lucius Windschuh wrote: > 2010/11/18 Andriy Gapon: >> [Grouping of processes into TTY groups] >> >> Well, I think that those improvements apply only to a very specific usage pattern >> and are greatly over-hyped. > But there are serious issue if you use FreeBSD as a desktop OS with > SMP and SCHED_ULE, or? > 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?!? > And using "idprio 1 $cmd" as a workaround is, well, a kludge. > I am not sure if TTY grouping is the right solution, if you look at > potentially CPU-intensive GUI applications that all run on the same > TTY (or no TTY at all? Same problem). > Maybe, we could simply enhance the algorithm that decides if a task is > interactive? That would also improve the described situation. tty grouping is a variant of what we used to have at one stage which is a "kernel schedulable entity group".. KSEG the idea is that all items in a group share some characteristic and some amount of resources. We stripped the KSEG out of the picture because it really complicated the picture. > Regards, > > Lucius > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >