Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755128AbYHaRFv (ORCPT ); Sun, 31 Aug 2008 13:05:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753298AbYHaRFk (ORCPT ); Sun, 31 Aug 2008 13:05:40 -0400 Received: from mail.vyatta.com ([216.93.170.194]:54248 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753292AbYHaRFj (ORCPT ); Sun, 31 Aug 2008 13:05:39 -0400 X-Spam-Flag: NO X-Spam-Score: -1.652 Date: Sun, 31 Aug 2008 10:05:37 -0700 From: Stephen Hemminger To: "Dushan Tcholich" Cc: "Francois Romieu" , "Robert Hancock" , netdev@vger.kernel.org, LKML Subject: Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27-rc1-mm1 Message-ID: <20080831100537.6929c51e@extreme> In-Reply-To: References: <48975BD3.6040709@shaw.ca> <20080807185802.GA16327@electric-eye.fr.zoreil.com> Organization: Vyatta X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 907 Lines: 26 On Sun, 31 Aug 2008 10:51:46 +0200 "Dushan Tcholich" wrote: > Hello > I found the culprit. > > When using powertop I get: > Top causes for wakeups: > 35,2% (251,0) ip : br_stp_enable_bridge (br_hello_timer_expired > > So I tried to turn them off with: > brctl sethello br0 0 > but the problem persisted. You can't turn off the hello timer, it is needed for Spanning Tree to work. The kernel should reject requests to set hello timer < 1sec. Most routers allow 1 - 10sec. I am going to do a new patch to add tighter range checking for STP timer settings and another to default fowarding delay of zero if STP is disabled. -- 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/