[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070828152309.7fe1ce91@freepuppy.rosehill.hemminger.net>
Date: Tue, 28 Aug 2007 15:23:09 -0700
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: DervishD <lkml@...vishd.net>
Cc: Linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: cpufreq affects traffic control rates
On Tue, 28 Aug 2007 09:51:55 +0200
DervishD <lkml@...vishd.net> wrote:
> Hi all :)
>
> I noticed lately that my traffic control rates were being very slow,
> about 40% less than expected, and finally spotted the problem: cpufreq.
>
> Looks like HTB puts buckets according to the requested rate but
> assuming that the CPU is running at its default clock or something like
> that.
>
> Any way of fixing this without disabling cpufreq?
>
> I'm using kernel 2.6.20.14, Athlon64 1000/1800MHz, HZ=1000 and a
> combination of HTB/SFQ in my traffic control.
>
> Thanks a lot in advance :)
>
> Raúl Núñez de Arenas Coronado
>
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.
--
Stephen Hemminger <shemminger@...ux-foundation.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists