[LARTC] why I always get video EF class packet dropped? is RED good for UDPtraffic

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, stef

I am measuring the delay and loss rate for MPEG-2 VBR traffic (mean rate is 3Mbit) through MPLS diffserv network, Background traffic is UDP Possion.

I have two class, EF for video reserved 5M (inside EF, I use pfifio qdisc),  BE for Possion reserved 4M (inside BE, I use RED qdisc) ,  The link capacity is 10M, when I send 7M or 9M Possion background,  I find BE traffic no
any loss, it seems RED work well, but my video loss increase when increase background

No matter how I change some paramtere, the result is same.  alawys video packet dropped, BE no drop. I am wondering RED is good for TCP adaptive traffic, how about UDP?

some part of my script is following ( take out from project http://dsmpls.atlantis.rug.ac.be/files/ds_config

## EF class specific setup
echo EF
$TC class add dev $i parent 2:0 classid 2:5 cbq bandwidth 10Mbit rate 5Mbit \
    avpkt 1000 prio 2 bounded allot 1514 weight 0.5Mbit maxburst 10 defmap 0
$TC qdisc add dev $i handle 3:0 parent 2:5 pfifo limit 10
$TC filter add dev $i parent 1:0 prio 1 handle 0x2e tcindex classid 1:151
$TC filter add dev $i parent 2:0 prio 1 handle 5 tcindex classid 2:5

## BE class specific setup
echo BE
$TC class add dev $i parent 2:0 classid 2:6 cbq bandwidth 10Mbit rate 4Mbit \
    avpkt 1000 prio 7 allot 1514 weight 4Mbit maxburst 21 borrow
$TC qdisc add dev $i parent 2:6 handle 4:0 red limit 60KB min 15KB max 45KB burst 20\
    avpkt 1000 bandwidth 10Mbit probability 0.4
#$TC filter add dev $i parent 1:0 prio 1 handle 0x0 tcindex classid 1:161
$TC filter add dev $i parent 2:0 prio 1 handle 6 tcindex classid 2:6

## OSPF - RSVP Pipe class specific setup
echo OSPF \& RSVP queue
$TC class add dev $i parent 2:0 classid 2:7 cbq bandwidth 10Mbit rate 1Mbit \
    avpkt 1000 prio 1 bounded allot 1514 weight 0.1Mbit maxburst 10 defmap 0
$TC qdisc add dev $i handle 9:0 parent 2:7 pfifo limit 10
$TC filter add dev $i parent 1:0 prio 1 handle 0x30 tcindex classid 1:171
$TC filter add dev $i parent 2:0 prio 1 handle 7 tcindex classid 2:7



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux