From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932439AbXBWOjT (ORCPT ); Fri, 23 Feb 2007 09:39:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932436AbXBWOjT (ORCPT ); Fri, 23 Feb 2007 09:39:19 -0500 Received: from shawidc-mo1.cg.shawcable.net ([24.71.223.10]:18417 "EHLO pd3mo3so.prod.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932439AbXBWOjS (ORCPT ); Fri, 23 Feb 2007 09:39:18 -0500 Date: Fri, 23 Feb 2007 08:39:13 -0600 From: Robert Hancock Subject: Re: irq balancing question In-reply-to: To: Imre Gergely Cc: linux-kernel@vger.kernel.org Message-id: <45DEFC91.2050908@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Imre Gergely wrote: > hi > > i have a SMP with 2x duo-core Opteron processors, and i have an ethernet card > (eth0). i want to balance the interrupts generated by the card to all 4 > processors. i can do this by writing to smp_affinity, but on another machine it > get's done by "default", without doing anything. > > is this irq balancing a feature in the chipset, or driver, or kernel ? i got > the idea of the smp_affinity stuff, and i've set it to "f", but nothing > happens, i mean i see only one CPU getting the interrupts. > > i'm using kernel 2.6.18, but tried with 2.6.19, too. You need to run the irqbalance daemon to do this, unless the interrupts are distributed in hardware (which only some machines do). -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/