All of lore.kernel.org
 help / color / mirror / Atom feed
From: DervishD <lkml@dervishd.net>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: cpufreq affects traffic control rates
Date: Wed, 29 Aug 2007 09:59:36 +0200	[thread overview]
Message-ID: <20070829075936.GD18688@DervishD> (raw)
In-Reply-To: <20070828152309.7fe1ce91@freepuppy.rosehill.hemminger.net>

    Hi Stephen :)

 * Stephen Hemminger <shemminger@linux-foundation.org> dixit:
> On Tue, 28 Aug 2007 09:51:55 +0200 DervishD <lkml@dervishd.net>
> 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!

  reply	other threads:[~2007-08-29  7:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-28  7:51 cpufreq affects traffic control rates DervishD
2007-08-28 22:23 ` Stephen Hemminger
2007-08-29  7:59   ` DervishD [this message]
2007-08-29 15:26   ` Jan Engelhardt
2007-08-29 17:20     ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070829075936.GD18688@DervishD \
    --to=lkml@dervishd.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shemminger@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.