From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27-rc1-mm1 Date: Sun, 31 Aug 2008 10:05:37 -0700 Message-ID: <20080831100537.6929c51e@extreme> References: <48975BD3.6040709@shaw.ca> <20080807185802.GA16327@electric-eye.fr.zoreil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "Francois Romieu" , "Robert Hancock" , netdev@vger.kernel.org, LKML To: "Dushan Tcholich" Return-path: 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 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: 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.