Skip to contentSkip to conversation

HFSC traffic loss bug, kernel 2.6.16.24

LARTC Leo Wetz 3 participants 4 messages Sep 10, 2006 – Sep 15, 2006

lore
Share & tools
lore

Leo Wetz

author
#0 lore raw

Hello,

I have finally managed to understand HFSC up to a level which allowed me to create a QoS script which maintains low VoIP latency while running stuff like eMule.

Unfortunately, HFSC seems to have a severe bug.
Why do I consider this as a bug defenitely?
Well, my script runs without any errors, then QoS works perfectly for some hours, no error messages in kernel log.
Then randomly the kernel starts saying this:

Sep 10 17:14:51 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:14:56 router kernel: printk: 266 messages suppressed.
Sep 10 17:14:56 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:15:01 router kernel: printk: 259 messages suppressed.
Sep 10 17:15:01 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:15:06 router kernel: printk: 294 messages suppressed.
Sep 10 17:15:06 router kernel: HFSC: Non-work-conserving qdisc ?

It floods the whole kernel log with this.
Traffic is also heavily affected by package loss when this happens, thus I cannot ignore it.
I have to check my kernel log when I notice that I cannot access websites anymore and then restart QoS manually.

My complete QoS script is attached to this mail.
If this is not the right location for the bug report please tell me whom I should contact.

Thanks, Leo

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 26 lines · Leo Wetz

Hello,

I have finally managed to understand HFSC up to a level which allowed me to create a QoS script which maintains low VoIP latency while running stuff like eMule.

Unfortunately, HFSC seems to have a severe bug.
Why do I consider this as a bug defenitely?
Well, my script runs without any errors, then QoS works perfectly for some hours, no error messages in kernel log.
Then randomly the kernel starts saying this:

Sep 10 17:14:51 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:14:56 router kernel: printk: 266 messages suppressed.
Sep 10 17:14:56 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:15:01 router kernel: printk: 259 messages suppressed.
Sep 10 17:15:01 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:15:06 router kernel: printk: 294 messages suppressed.
Sep 10 17:15:06 router kernel: HFSC: Non-work-conserving qdisc ?

It floods the whole kernel log with this.
Traffic is also heavily affected by package loss when this happens, thus I cannot ignore it.
I have to check my kernel log when I notice that I cannot access websites anymore and then restart QoS manually.

Quoted 3 lines

My complete QoS script is attached to this mail.
If this is not the right location for the bug report please tell me whom I should contact.

This is not a bug. You can't attach non-work-conserving qdiscs to HFSC (and it doesn't make any sense). Just use classes instead of adding HTB qdiscs.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to Leo Wetz

hello,

Could you please explain what is a "non-work-conserving qdisc" and why it doesn't make sense ?

Gérald

----- Message d'origine ----
De : Patrick McHardy <[email protected]>
À : Leo Wetz <[email protected]>
Cc : [email protected]
Envoyé le : Mercredi, 13 Septembre 2006, 4h38mn 16s Objet : Re: [LARTC] HFSC traffic loss bug, kernel 2.6.16.24

Quoted 26 lines · Leo Wetz

Hello,

I have finally managed to understand HFSC up to a level which allowed me to create a QoS script which maintains low VoIP latency while running stuff like eMule.

Unfortunately, HFSC seems to have a severe bug.
Why do I consider this as a bug defenitely?
Well, my script runs without any errors, then QoS works perfectly for some hours, no error messages in kernel log.
Then randomly the kernel starts saying this:

Sep 10 17:14:51 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:14:56 router kernel: printk: 266 messages suppressed.
Sep 10 17:14:56 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:15:01 router kernel: printk: 259 messages suppressed.
Sep 10 17:15:01 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:15:06 router kernel: printk: 294 messages suppressed.
Sep 10 17:15:06 router kernel: HFSC: Non-work-conserving qdisc ?

It floods the whole kernel log with this.
Traffic is also heavily affected by package loss when this happens, thus I cannot ignore it.
I have to check my kernel log when I notice that I cannot access websites anymore and then restart QoS manually.

Quoted 3 lines

My complete QoS script is attached to this mail.
If this is not the right location for the bug report please tell me whom I should contact.

This is not a bug. You can't attach non-work-conserving qdiscs to HFSC (and it doesn't make any sense). Just use classes instead of adding HTB qdiscs.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw
In reply to Leo Wetz
Quoted 3 lines · gerald HUET

hello,

Could you please explain what is a "non-work-conserving qdisc" and why it doesn't make sense ?

A non-work-conserving qdisc is a qdisc that limits the total amount of bandwidth by stopping to hand out packets when some limit is reached. HFSC needs to know the length of the next packet to be sent to calculate the deadline, to get it it dequeues the inner qdiscs, peeks at the packet and requeues it again. When the inner qdisc is non-work-conserving it might refuse to hand the packet to HFSC and HFSC can not work properly. It does not make sense to do this since HFSC can operate in non-work-conserving mode itself (using upper-limit curves), so there is no need to attach further non-work-conserving qdiscs as leaves.

Quoted 17 lines

----- Message d'origine ----
De : Patrick McHardy <[email protected]>
À : Leo Wetz <[email protected]>
Cc : [email protected]
Envoyé le : Mercredi, 13 Septembre 2006, 4h38mn 16s Objet : Re: [LARTC] HFSC traffic loss bug, kernel 2.6.16.24

Quoted 7 lines · Leo Wetz
Sep 10 17:14:51 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:14:56 router kernel: printk: 266 messages suppressed.
Sep 10 17:14:56 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:15:01 router kernel: printk: 259 messages suppressed.
Sep 10 17:15:01 router kernel: HFSC: Non-work-conserving qdisc ?
Sep 10 17:15:06 router kernel: printk: 294 messages suppressed.
Sep 10 17:15:06 router kernel: HFSC: Non-work-conserving qdisc ?
Quoted 3 lines

This is not a bug. You can't attach non-work-conserving qdiscs to HFSC (and it doesn't make any sense). Just use classes instead of adding HTB qdiscs.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc