From: Michal Soltys <soltys@ziu.info>
To: 00bormoj@gmail.com
Cc: 631945@bugs.debian.org, fdelawarde@wirelessmundi.com,
netfilter-devel@vger.kernel.org, kaber@trash.net
Subject: Re: Bug#631945: HFSC warning issue
Date: Wed, 13 Jul 2011 01:28:14 +0200 [thread overview]
Message-ID: <4E1CD88E.4030107@ziu.info> (raw)
In-Reply-To: <CAAJ8s-RGocriAycZv4cjkKGd2mwGF1UH_-uyi+fbwdeUhvMk7g@mail.gmail.com>
On 11-07-11 17:07, 00bormoj@gmail.com wrote:
> Oops - my logs are again filled with the WARN_ON from
> net/sched/sch_hfsc.c:1427. Sorry for the confusion, it looks like
> "initialize parent's cl_cfmin properly in init_vf()" is not to blame.
>
Ah, ok then. It would be really weird if that was the actual cause. I
have few patches stacked for later, so it made me feel a bit uneasy :)
> This is an amd64 system. Vanilla kernel.org kernel except with fglrx
> (the amd/ati radeon proprietary driver - yes it is a router and an
> HTPC...) loaded. I should probably start bisecting then, but it's a
> little tough when it can take more than two days to trigger :(
>
From what I can see, and if I haven't missed or misread anything:
That warning that gets triggered when next_time == 0 in
hfsc_schedule_watchdog() implies, that hfsc_dequeue() tried to dequeue a
packet, but no leaf had anything eligible for scheduling (realtime
criterion) and linksharing was upperlimited.
Now if there IS something to dequeue, then I don't see how next_time
could possibly be zero - that would mean there's no packet to schedule
at all. But if that happened, then hfsc_dequeue() would simply exit at
the very beginning due to: if (sch->q.qlen == 0) .
So it does look weird (like if something external messed with hfsc's
qlen) ...
Also note - the changes to sch_hfsc.c were pretty minimal since the last
kernel that worked for you. You might be searching for something else ...
ps.
You don't have to upperlimit every single class (which will cripple
linksharing between siblings) - if your aim is to match some interface's
speed, just set it in the single top class of your class hierarchy.
next prev parent reply other threads:[~2011-07-13 0:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-11 9:26 HFSC warning issue François Delawarde
2011-07-11 11:56 ` Michal Soltys
2011-07-11 12:11 ` Michal Soltys
2011-07-11 14:11 ` François Delawarde
2011-07-11 15:07 ` Bug#631945: " 00bormoj
2011-07-12 23:28 ` Michal Soltys [this message]
2011-07-15 10:57 ` François Delawarde
-- strict thread matches above, loose matches on Subject: below --
2011-07-22 9:58 Michal Pokrywka
2011-07-22 14:23 ` 00bormoj
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=4E1CD88E.4030107@ziu.info \
--to=soltys@ziu.info \
--cc=00bormoj@gmail.com \
--cc=631945@bugs.debian.org \
--cc=fdelawarde@wirelessmundi.com \
--cc=kaber@trash.net \
--cc=netfilter-devel@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).