All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] I seem to have a problem with HTB
@ 2001-12-13  9:01 Leszek Olszewski
  2001-12-13  9:49 ` bert hubert
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Leszek Olszewski @ 2001-12-13  9:01 UTC (permalink / raw)
  To: lartc

Hello,

I have compiled HTB into kernel 2.4.16 and set up simple traffic shaping 
just to figure how it works. My init script looks as follows:

tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: htb default 30
tceth0="tc class add dev eth1"
$tceth0 parent 1: classid 1:1 htb rate 128kbit burst 2k
$tceth0 parent 1:1 classid 1:10 htb rate 128kbit burst 2k
$tceth0 parent 1:1 classid 1:20 htb rate 64kbit ceil 96kbit burst 2k
$tceth0 parent 1:1 classid 1:30 htb rate 1kbit ceil 96kbit burst 2k
tcqdisc="tc qdisc add dev"
$tcqdisc eth1 parent 1:10 handle 10: sfq perturb 10
$tcqdisc eth1 parent 1:20 handle 20: sfq perturb 10
$tcqdisc eth1 parent 1:30 handle 30: sfq perturb 10
u32="tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32"
$u32 match ip protocol 1 0xff flowid 1:10
$u32 match ip sport 22 0xffff flowid 1:10
$u32 match ip sport 119 0xffff flowid 1:10
$u32 match ip sport 80 0xffff flowid 1:20
$u32 match ip sport 110 0xffff flowid 1:20

- Pretty much the example script from Advanced Routing HowTo. I have 
Internet on eth0 and LAN via NAT on eth1.

The problem is that after appx. 6 hours or so the local network starts 
behaving strange - either it doesn't work at all or just packets from 
certain classes don't go through the NAT and get dropped. In syslog I have 
found following entries:

Dec 13 09:33:25 mail kernel: HTB delay 224640 > 5sec
Dec 13 09:33:27 mail kernel: HTB delay 224474 > 5sec
Dec 13 09:33:29 mail kernel: HTB delay 224272 > 5sec
Dec 13 09:33:32 mail kernel: HTB delay 223977 > 5sec
Dec 13 09:33:32 mail kernel: HTB delay 223973 > 5sec
Dec 13 09:33:37 mail kernel: HTB delay 223473 > 5sec
Dec 13 09:33:38 mail kernel: HTB delay 223377 > 5sec
Dec 13 09:33:38 mail kernel: HTB delay 223373 > 5sec

There is many more of them, they start to appear just at the time when the 
network starts dying.

Any ideas what is wrong pretty please ;) ??

Regards,
Leszek



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] I seem to have a problem with HTB
  2001-12-13  9:01 [LARTC] I seem to have a problem with HTB Leszek Olszewski
@ 2001-12-13  9:49 ` bert hubert
  2001-12-14 16:15 ` Stefan Rompf
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bert hubert @ 2001-12-13  9:49 UTC (permalink / raw)
  To: lartc

On Thu, Dec 13, 2001 at 10:01:10AM +0100, Leszek Olszewski wrote:

> behaving strange - either it doesn't work at all or just packets from 
> certain classes don't go through the NAT and get dropped. In syslog I have 
> found following entries:
> 
> Dec 13 09:33:25 mail kernel: HTB delay 224640 > 5sec

Try a newer HTB patch, it fixes this problem.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] I seem to have a problem with HTB
  2001-12-13  9:01 [LARTC] I seem to have a problem with HTB Leszek Olszewski
  2001-12-13  9:49 ` bert hubert
@ 2001-12-14 16:15 ` Stefan Rompf
  2001-12-14 16:20 ` Leszek Olszewski
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Stefan Rompf @ 2001-12-14 16:15 UTC (permalink / raw)
  To: lartc

Hi Bert,

> > Dec 13 09:33:25 mail kernel: HTB delay 224640 > 5sec
> 
> Try a newer HTB patch, it fixes this problem.

what is newer? I'm currently experiencing the same problem on a SMP box,
kernel 2.4.13 patched with the 39085 bytes htb_2.4.14.diff, HZ set to
1024.

tc qdisc add dev eth0 root handle 1: htb default 3

tc class add dev eth0 parent 1: classid 1:1 htb rate 10Mbit burst 10kB
tc qdisc add dev eth0 parent 1:1 sfq perturb 10
tc class add dev eth0 parent 1: classid 1:3 htb rate 90Mbit burst 90kB

Whenever the overlimit for 1:1 kicks in, "HTB delay > 5sec" messages
appear and traffic stalls immediately. Any ideas?

Thanks, Stefan

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] I seem to have a problem with HTB
  2001-12-13  9:01 [LARTC] I seem to have a problem with HTB Leszek Olszewski
  2001-12-13  9:49 ` bert hubert
  2001-12-14 16:15 ` Stefan Rompf
@ 2001-12-14 16:20 ` Leszek Olszewski
  2001-12-14 17:24 ` Patrik
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Leszek Olszewski @ 2001-12-14 16:20 UTC (permalink / raw)
  To: lartc

At 17:15 2001-12-14 +0100, Stefan Rompf wrote:
>Hi Bert,
>
> > > Dec 13 09:33:25 mail kernel: HTB delay 224640 > 5sec
> >
> > Try a newer HTB patch, it fixes this problem.
>
>what is newer? I'm currently experiencing the same problem on a SMP box,
>kernel 2.4.13 patched with the 39085 bytes htb_2.4.14.diff, HZ set to
>1024.
>
>tc qdisc add dev eth0 root handle 1: htb default 3
>
>tc class add dev eth0 parent 1: classid 1:1 htb rate 10Mbit burst 10kB
>tc qdisc add dev eth0 parent 1:1 sfq perturb 10
>tc class add dev eth0 parent 1: classid 1:3 htb rate 90Mbit burst 90kB
>
>Whenever the overlimit for 1:1 kicks in, "HTB delay > 5sec" messages
>appear and traffic stalls immediately. Any ideas?
>
>Thanks, Stefan

Yes, I have the same question.

I downloaded the most current patch from Devik's site, patched the kernel, 
compiled it and again the same problem occurs. Even more, it occurs on a 
link with virtualy no traffic so there is no overlimit packets at all.

Any clue anyone?

Regards,
Leszek





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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [LARTC] I seem to have a problem with HTB
  2001-12-13  9:01 [LARTC] I seem to have a problem with HTB Leszek Olszewski
                   ` (2 preceding siblings ...)
  2001-12-14 16:20 ` Leszek Olszewski
@ 2001-12-14 17:24 ` Patrik
  2001-12-15 13:52 ` bert hubert
  2001-12-17  6:39 ` Martin Devera
  5 siblings, 0 replies; 7+ messages in thread
From: Patrik @ 2001-12-14 17:24 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

> > Try a newer HTB patch, it fixes this problem.

I haven't found any newer.. 

> 
> what is newer? I'm currently experiencing the same problem on a SMP
box,
> kernel 2.4.13 patched with the 39085 bytes htb_2.4.14.diff, HZ set to
> 1024.
> 
> tc qdisc add dev eth0 root handle 1: htb default 3
> 
> tc class add dev eth0 parent 1: classid 1:1 htb rate 10Mbit burst 10kB
> tc qdisc add dev eth0 parent 1:1 sfq perturb 10
> tc class add dev eth0 parent 1: classid 1:3 htb rate 90Mbit burst 90kB
> 
> Whenever the overlimit for 1:1 kicks in, "HTB delay > 5sec" messages
> appear and traffic stalls immediately. Any ideas?

I used to have this problem too. I found out that the parent burst was
set lower than its children burst. When I increased the parent burst, I
didn't receive more of these messages...

I'm not 100% sure if I've done the right decision, but it solved the
problem.

Sincerely Patrik


[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3250 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] I seem to have a problem with HTB
  2001-12-13  9:01 [LARTC] I seem to have a problem with HTB Leszek Olszewski
                   ` (3 preceding siblings ...)
  2001-12-14 17:24 ` Patrik
@ 2001-12-15 13:52 ` bert hubert
  2001-12-17  6:39 ` Martin Devera
  5 siblings, 0 replies; 7+ messages in thread
From: bert hubert @ 2001-12-15 13:52 UTC (permalink / raw)
  To: lartc

On Fri, Dec 14, 2001 at 06:24:02PM +0100, Patrik wrote:
> > > Try a newer HTB patch, it fixes this problem.
> 
> I haven't found any newer.. 

Ok - Devik is a bit quiet right now, I think he is busy setting up his
internet connection. When he's back he'll probably help out.

Regards,

bert.

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] I seem to have a problem with HTB
  2001-12-13  9:01 [LARTC] I seem to have a problem with HTB Leszek Olszewski
                   ` (4 preceding siblings ...)
  2001-12-15 13:52 ` bert hubert
@ 2001-12-17  6:39 ` Martin Devera
  5 siblings, 0 replies; 7+ messages in thread
From: Martin Devera @ 2001-12-17  6:39 UTC (permalink / raw)
  To: lartc

Yes yes yes .. it all falls at me. I've done
big bugfix release but because my compiled kernels
stopped to work I was nt ablr to test nre patch
and thus I didn't released it yet.

For all, there is now hotfix at my page.
devik

On Fri, 14 Dec 2001, Leszek Olszewski wrote:

> At 17:15 2001-12-14 +0100, Stefan Rompf wrote:
> >Hi Bert,
> >
> > > > Dec 13 09:33:25 mail kernel: HTB delay 224640 > 5sec
> > >
> > > Try a newer HTB patch, it fixes this problem.
> >
> >what is newer? I'm currently experiencing the same problem on a SMP box,
> >kernel 2.4.13 patched with the 39085 bytes htb_2.4.14.diff, HZ set to
> >1024.
> >
> >tc qdisc add dev eth0 root handle 1: htb default 3
> >
> >tc class add dev eth0 parent 1: classid 1:1 htb rate 10Mbit burst 10kB
> >tc qdisc add dev eth0 parent 1:1 sfq perturb 10
> >tc class add dev eth0 parent 1: classid 1:3 htb rate 90Mbit burst 90kB
> >
> >Whenever the overlimit for 1:1 kicks in, "HTB delay > 5sec" messages
> >appear and traffic stalls immediately. Any ideas?
> >
> >Thanks, Stefan
> 
> Yes, I have the same question.
> 
> I downloaded the most current patch from Devik's site, patched the kernel, 
> compiled it and again the same problem occurs. Even more, it occurs on a 
> link with virtualy no traffic so there is no overlimit packets at all.
> 
> Any clue anyone?
> 
> Regards,
> Leszek
> 
> 
> 
> 
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
> 
> 


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-12-17  6:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-13  9:01 [LARTC] I seem to have a problem with HTB Leszek Olszewski
2001-12-13  9:49 ` bert hubert
2001-12-14 16:15 ` Stefan Rompf
2001-12-14 16:20 ` Leszek Olszewski
2001-12-14 17:24 ` Patrik
2001-12-15 13:52 ` bert hubert
2001-12-17  6:39 ` Martin Devera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.