Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 23 Aug 2002 10:15:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 23 Aug 2002 10:15:49 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.101]:49066 "EHLO e1.ny.us.ibm.com") by vger.kernel.org with ESMTP id ; Fri, 23 Aug 2002 10:15:48 -0400 Date: Fri, 23 Aug 2002 07:12:43 -0700 From: "Martin J. Bligh" Reply-To: "Martin J. Bligh" To: Andi Kleen , James Cleverdon cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] 2.5.31 Summit NUMA patch with dynamic IRQ balancing Message-ID: <2710659712.1030086762@[10.10.2.3]> In-Reply-To: References: X-Mailer: Mulberry/2.1.2 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1704 Lines: 38 > Doing the TPR change is certainly very involved - testing that on > a lot of different SMP machines will be definitely needed. I think > it is the right way to go I agree, balance_irq always looked fishy to > me, especially with HyperThreading. The one advantage it would seem to have is cache warmth for the interrupt processor - some stickiness is good. But I think using idle CPUs properly is more important. I don't think an explicit IO apic programming method can do this fast enough without being horribly inefficient in terms of constantly reprogramming things. > How even is the distribution of the interrupts under load? Do you really care? I fail to understand why this is a goal for people. Pretty numbers in /proc/interrupts are meaningless ... what we really want is to direct interrupts to CPUs where they can be efficiently processed. That means idle cpus, or cpus with cache context (warmth) in some form, whether that be for the int processing code, or the task the interrupt's data is really destined for (very hard to determine). If they all end up on one CPU because that just happens to be efficient, so be it. There was some concern at one point about timer irq's not being distributed which I don't understand the problem with, but let's deal with that seperately if necessary. > [I'm surprised you are not using ACPI for this on your boxes] We don't have ACPI on all our boxes ... some of us are happy about that ;-) M. - 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/