Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 6 Mar 2003 12:14:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 6 Mar 2003 12:14:37 -0500 Received: from mx2.elte.hu ([157.181.151.9]:18608 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Thu, 6 Mar 2003 12:14:34 -0500 Date: Thu, 6 Mar 2003 18:24:51 +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: 1431 Lines: 30 another thing. What really happens in the 'recompile job' thing is not that X gets non-interactive. Most of the time it _is_ interactive. The problem is that the gcc processes and make processes themselves, which do use up a considerable portion of CPU time (generate a load of 4-5 with make -j2), get rated as interactive as well. Shells, gnome-terminal, X itself will be often preempted by these gcc and make processes. Making X more interactive does not help in this case. so my patchset attempts to tune things in the direction of making the scheduler recognize the compile job as truly CPU-bound. It was a bad interaction of child-inherits-priority plus child-wakeup priorities. My suggestion to increase X's priority was just an unrelated suggestion - if Andrew is dragging windows around then X does get 100% CPU-bound, and the only good way to get out of that situation is to tell the system that it's rightfully monopolizing the CPU, and that the user has no problem with that. I also had feedback from people who reniced X in the _other_ direction, because they did not want their rare administration work done under X impact the generic performance of the server. 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/