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
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
> 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:3Yes 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