From owner-freebsd-current@FreeBSD.ORG Thu Nov 18 19:21:46 2010 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 2B2CF106566C; Thu, 18 Nov 2010 19:21:46 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id A2FC28FC0A; Thu, 18 Nov 2010 19:21:45 +0000 (UTC) Received: by gxk9 with SMTP id 9so2182912gxk.13 for ; Thu, 18 Nov 2010 11:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=n2z2pECZ4dz5Pikhase/txALObjsijI69ae9TSt7c/o=; b=VX3EyXddnk6u7Mz6Go7lq4XcC88RZuAt7xFtqz0FaOoD1SEt1QQOPNj4ynK0PdUlUY j5TX6BeFzXa1vggkiY5t0VfgRZf6W5H9KfoTbdUouv+gk9ccLYCEIHY0uXkvhqu4e+QL 6yCz+gCqIouoPy3yXi8FXnETPoMoCSK9aCoaE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=r7zFMpZlKPl0hSIJafNGmrlsJkGkvb4cL++NrTsYTvPpIqjVSMT291tIuoppJhCxr4 8PcL0Ij0c3sU+PMYq3nrLSR08JoDSeDl0dlrjSxDi44Okmq9gmpVop36Wkc3lJ9BboQo kJARhQgpCU2PKRmgMt16mpZmERoHnKflLcsrI= MIME-Version: 1.0 Received: by 10.42.240.195 with SMTP id lb3mr657505icb.114.1290106505346; Thu, 18 Nov 2010 10:55:05 -0800 (PST) Received: by 10.231.192.139 with HTTP; Thu, 18 Nov 2010 10:55:05 -0800 (PST) In-Reply-To: <4CE52177.3020306@freebsd.org> References: <4CE50849.106@zedat.fu-berlin.de> <4CE52177.3020306@freebsd.org> Date: Thu, 18 Nov 2010 19:55:05 +0100 Message-ID: From: Lucius Windschuh To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-performance@freebsd.org, FreeBSD Current , FreeBSD Stable Subject: Re: TTY task group scheduling 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: Thu, 18 Nov 2010 19:21:46 -0000 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. Regards, Lucius