From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762137AbXGRK2G (ORCPT ); Wed, 18 Jul 2007 06:28:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752109AbXGRK1z (ORCPT ); Wed, 18 Jul 2007 06:27:55 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:50351 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752085AbXGRK1y (ORCPT ); Wed, 18 Jul 2007 06:27:54 -0400 Subject: Re: [PATCH] CFS: Fix missing digit off in wmult table From: Peter Zijlstra To: Linus Torvalds Cc: Roman Zippel , Ingo Molnar , James Bruce , Thomas Gleixner , Mike Galbraith , Andrea Arcangeli , Andi Kleen , Andrew Morton , linux-kernel@vger.kernel.org, Arjan van de Ven , Chris Wright In-Reply-To: References: <20070711211638.GE18767@one.firstfloor.org> <20070711214649.GK14435@v2.random> <1184302024.6709.11.camel@Homer.simpson.net> <1184355835.12353.321.camel@chaos> <469B0D9E.3030402@andrew.cmu.edu> <20070716070610.GA10907@elte.hu> <20070716112037.GA6895@elte.hu> Content-Type: text/plain Date: Wed, 18 Jul 2007 12:27:10 +0200 Message-Id: <1184754430.20032.130.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2007-07-16 at 10:47 -0700, Linus Torvalds wrote: > > On Mon, 16 Jul 2007, Roman Zippel wrote: > > > > To illustrate the problem a little different: a task with a nice level -20 > > got around 700% more cpu time (or 8 times more), now it gets 8500% more > > cpu time (or 86.7 times more). > > Ingo, that _does_ sound excessive. > > How about trying a much less aggressive nice-level (and preferably linear, > not exponential)? I actually like the extra range, it allows for a much softer punch of background tasks even on somewhat slower boxen. I've been testing CFS on my 1200 MHz lappy for some time and a strongly niced kbuild leaves a very usable system. The old scheduler would leave the thing rather jumpy. And while CFS fully fixes the jumpyness, I just did a nice +13 (which should be equivalent to the old schedulers nice +19 for my HZ) and did a nice +19 kbuild and I can definitely feel the difference between them. Early CFS versions had an pretty aggressive nice range (0.1% for +19), and that has been toned down based on feedback. The current levels seem to work well, at least on my boxen. - Peter