Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Mar 2003 00:47:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Mar 2003 00:47:41 -0500 Received: from mx1.elte.hu ([157.181.1.137]:18314 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Fri, 7 Mar 2003 00:47:41 -0500 Date: Fri, 7 Mar 2003 06:57:58 +0100 (CET) From: Ingo Molnar Reply-To: Ingo Molnar To: Linus Torvalds Cc: Andrew Morton , Robert Love , Subject: Re: [patch] "HT scheduler", sched-2.5.63-B3 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1385 Lines: 31 On Thu, 6 Mar 2003, Linus Torvalds wrote: > The multi-second "freezes" are the thing that bothered me, and those > were definitely due to the fact that X was competing as a > _non_interactive member against other non-interactive members, causing > it to still get 10% of the CPU, but only every few seconds. So you'd get > a very bursty behaviour with very visible pauses. this is only part of what happens in the 'X freeze' case. A CPU hog competing against another CPU hog can never result in a multi-second freeze, unless the system is hopelessly overloaded. What happens is that the CPU-hog estimation is off for compile jobs, and that _they_ end up being partly interactive, and starve X which does happen to fall into the CPU-hog category briefly. The 10-15 seconds timeout is the starvation limit kicking in. so the correct approach is both to make X more interactive (your patch), _and_ to make the compilation jobs less interactive (my patch). This is that explains why Andrew saw roughly similar interactivity with you and my patch applied separately, but the best result was when the combo patch was applied. Agreed? Ingo - 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/