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 LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Leo Wetz wrote:> 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.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.
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 <kaber@trash.net> À : Leo Wetz <spam-goes-to-dev-null@gmx.net> Cc : lartc@mailman.ds9a.nl Envoyé le : Mercredi, 13 Septembre 2006, 4h38mn 16s Objet : Re: [LARTC] HFSC traffic loss bug, kernel 2.6.16.24 Leo Wetz wrote:> 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.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 LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
gerald HUET wrote:> 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.> ----- Message d''origine ---- > De : Patrick McHardy <kaber@trash.net> > À : Leo Wetz <spam-goes-to-dev-null@gmx.net> > Cc : lartc@mailman.ds9a.nl > Envoyé le : Mercredi, 13 Septembre 2006, 4h38mn 16s > Objet : Re: [LARTC] HFSC traffic loss bug, kernel 2.6.16.24 > > Leo Wetz wrote: > >>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 ? > > 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.