From: devik <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Semi-shaped traffic
Date: Fri, 27 Dec 2002 09:19:58 +0000 [thread overview]
Message-ID: <marc-lartc-104098878409613@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.
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.
devik
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-12-27 9:19 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 [this message]
2002-12-30 8:21 ` Mindaugas Riauba
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-104098878409613@msgid-missing \
--to=devik@cdi.cz \
--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;
as well as URLs for NNTP newsgroup(s).