All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] prio, kernel 2.6: patch?
@ 2006-03-28  8:44 Fabio
  2006-03-28  9:05 ` Fabio
  2006-03-28  9:47 ` Radoslaw Horodniczy
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio @ 2006-03-28  8:44 UTC (permalink / raw)
  To: lartc

hi to all,
I'm studying traffic shaping using kernel 2.6.8 (debian sarge).

well, I have this problem: priority doesn't work.
I try with:
 - qdisc prio:
     tc qdisc add dev eth1 root handle 12: prio bands 3
     tc qdisc add dev eth1 parent 12:1 handle 13: tbf rate 10Mbit buffer
1600   limit 3000

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

* [LARTC] prio, kernel 2.6: patch?
  2006-03-28  8:44 [LARTC] prio, kernel 2.6: patch? Fabio
@ 2006-03-28  9:05 ` Fabio
  2006-03-28  9:47 ` Radoslaw Horodniczy
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio @ 2006-03-28  9:05 UTC (permalink / raw)
  To: lartc

hi to all,
I'm sorry, the previous mail was incomplete. I rewrite all COMPLETE
informations.

I'm studying traffic shaping using kernel 2.6.8 (debian sarge).

well, I have this problem: priority doesn't work.
I try with:
 - qdisc prio:
     tc qdisc add dev eth1 root handle 12: prio bands 3
     tc qdisc add dev eth1 parent 12:1 handle 13: tbf rate 10Mbit \
              buffer 1600 limit 3000
     tc qdisc add dev eth1 parent 12:2 handle 14: tbf rate 10Mbit \
              buffer 1600 limit 3000
     tc qdisc add dev eth1 parent 12:3 handle 15: tbf rate 10Mbit \
              buffer 1600 limit 3000

     tc filter add dev eth1 protocol ip handle $MARK1 fw flowid 12:1
     tc filter add dev eth1 protocol ip handle $MARK2 fw flowid 12:2
     tc filter add dev eth1 protocol ip handle $MARK3 fw flowid 12:3
 - and setting prio in htb class

both with no results: data rate (trasmitted packets in a time unit) is the
same for the 3 queue.

someone knows if kernel 2.6 manage correctly priority or it needs a patch?

Thanks in advance,
Fabio Marcone


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

* Re: [LARTC] prio, kernel 2.6: patch?
  2006-03-28  8:44 [LARTC] prio, kernel 2.6: patch? Fabio
  2006-03-28  9:05 ` Fabio
@ 2006-03-28  9:47 ` Radoslaw Horodniczy
  1 sibling, 0 replies; 3+ messages in thread
From: Radoslaw Horodniczy @ 2006-03-28  9:47 UTC (permalink / raw)
  To: lartc



> hi to all,
> I'm sorry, the previous mail was incomplete. I rewrite all COMPLETE
> informations.
>
> I'm studying traffic shaping using kernel 2.6.8 (debian sarge).
>
> well, I have this problem: priority doesn't work.
> I try with:
> - qdisc prio:
>     tc qdisc add dev eth1 root handle 12: prio bands 3
>     tc qdisc add dev eth1 parent 12:1 handle 13: tbf rate 10Mbit \
>              buffer 1600 limit 3000
>     tc qdisc add dev eth1 parent 12:2 handle 14: tbf rate 10Mbit \
>              buffer 1600 limit 3000
>     tc qdisc add dev eth1 parent 12:3 handle 15: tbf rate 10Mbit \
>              buffer 1600 limit 3000
>
>     tc filter add dev eth1 protocol ip handle $MARK1 fw flowid 12:1
>     tc filter add dev eth1 protocol ip handle $MARK2 fw flowid 12:2
>     tc filter add dev eth1 protocol ip handle $MARK3 fw flowid 12:3

Yes there is a bug with PRIO, as I know from kernel 2.6.12 there is no this 
bug.
Try to find patch for file cls_u32.c or install new kernel

Regards

Radek 

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2006-03-28  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-28  8:44 [LARTC] prio, kernel 2.6: patch? Fabio
2006-03-28  9:05 ` Fabio
2006-03-28  9:47 ` Radoslaw Horodniczy

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.