Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932357AbXH2H7w (ORCPT ); Wed, 29 Aug 2007 03:59:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753832AbXH2H7p (ORCPT ); Wed, 29 Aug 2007 03:59:45 -0400 Received: from smtp.cdmon.com ([212.36.74.230]:57695 "EHLO smtp01.cdmon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752985AbXH2H7o (ORCPT ); Wed, 29 Aug 2007 03:59:44 -0400 Date: Wed, 29 Aug 2007 09:59:36 +0200 From: DervishD To: Stephen Hemminger Cc: Linux-kernel Subject: Re: cpufreq affects traffic control rates Message-ID: <20070829075936.GD18688@DervishD> Mail-Followup-To: Stephen Hemminger , Linux-kernel References: <20070828075155.GG17475@DervishD> <20070828152309.7fe1ce91@freepuppy.rosehill.hemminger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070828152309.7fe1ce91@freepuppy.rosehill.hemminger.net> User-Agent: Mutt/1.4.2.3i Organization: DervishD Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1209 Lines: 32 Hi Stephen :) * Stephen Hemminger dixit: > On Tue, 28 Aug 2007 09:51:55 +0200 DervishD > wrote: > > I noticed lately that my traffic control rates were being very > > slow, about 40% less than expected, and finally spotted the > > problem: cpufreq. > > Is the problem configuration of network scheduler clock? In 2.6.20 and > earlier, you could use CPU cycle counter (later kernels only use time > of day). So try switching to jiffies or gettimeofday. Yes, the problem is that I'm stupid and I thought I was using jiffies, but I have CONFIG_NET_SCH_CLK_CPU. I'll rebuild my kernel ASAP and set the proper value... Thanks for your help. It's embarrassing I didn't check the clock source for the packet scheduler... Sorry for the noise. Ra?l N??ez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! - 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/