Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Mindaugas Riauba" <mind@bi.lt>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Semi-shaped traffic
Date: Mon, 30 Dec 2002 08:21:46 +0000	[thread overview]
Message-ID: <marc-lartc-104123658632746@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104045399325537@msgid-missing>



> > Setting HZ back to 100 fixed the problem.
> >
> >   Is this some bug in HTB or HZ has to be set to 100?
> 
> ehh other thought - htb is tested with HZ\x1024 or HZ\x100.
> You said that you use HZ 1000.

  Yes. You are right. If I set HZ to 1024 everything worked OK.

> In include/net/pkt_sched.h:
> #if HZ = 100
> #define PSCHED_JSCALE 13
> #elif HZ = 1024
> #define PSCHED_JSCALE 10
> #else
> #define PSCHED_JSCALE 0
> #endif
> 
> I'm not sure if variable-HZ patch repaired this too. Simply
> QoS subsystem is not aware what to do with this HZ rate.
> You might try to redefine PSCHED_JSCALE to be 10 for your
> case.
> Also try to set PSCHED_CLOCK_SOURCE to PSCHED_CPU in the same
> file. It might help.

  Well I'd prefer to leave that to professionals :). Who is packet
filters maintainer? Alexey Kuznetsov?

  Mindaugas

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-12-30  8:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-21  6:58 [LARTC] Semi-shaped traffic Mindaugas Riauba
2002-12-24 11:48 ` Mindaugas Riauba
2002-12-27  9:12 ` devik
2002-12-27  9:19 ` devik
2002-12-30  8:21 ` Mindaugas Riauba [this message]
2002-12-30 10:02 ` devik
2002-12-30 13:47 ` Mindaugas Riauba

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=marc-lartc-104123658632746@msgid-missing \
    --to=mind@bi.lt \
    --cc=lartc@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox