Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756245AbZA3OQH (ORCPT ); Fri, 30 Jan 2009 09:16:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753461AbZA3OPx (ORCPT ); Fri, 30 Jan 2009 09:15:53 -0500 Received: from sovereign.computergmbh.de ([85.214.69.204]:45298 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752560AbZA3OPw (ORCPT ); Fri, 30 Jan 2009 09:15:52 -0500 Date: Fri, 30 Jan 2009 15:15:51 +0100 (CET) From: Jan Engelhardt To: Nathanael Hoyle cc: Linux Kernel Mailing List Subject: Re: scheduler nice 19 versus 'idle' behavior / static low-priority scheduling In-Reply-To: <1233302349.17301.27.camel@localhost> Message-ID: References: <1233294584.28741.2.camel@localhost> <1233297635.17301.11.camel@localhost> <1233302349.17301.27.camel@localhost> User-Agent: Alpine 2.00 (LSU 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 861 Lines: 20 On Friday 2009-01-30 08:59, Nathanael Hoyle wrote: >> >Is there currently a standardized userspace tool to use to run a command >> >in order to alter its scheduling class? Obviously writing one would be >> >trivial, but didn't know if something like: >> >> man chrt > >The latest version of man chrt that I can find implies that it handles >SCHED_BATCH but not SCHED_IDLE. To that end, if anyone else is >interested, I have thrown together the above-suggested 'runidle' which >will invoke the passed command using the SCHED_IDLE scheduler; it's >nothing fancy. Should have added -i to chrt instead and submit ;-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/