HFSC help

Linux Advanced Routing and Traffic Control

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

 



hi,
I would like to use the HFSC scheduler for my QoS.
I've 4 class and 2 of them need to control the bandwidth and the latencies so I think I must use HFSC.
So I read some doc ( http://del.icio.us/tag/hfsc ) but its not very clear.
I make some tests with differents parameters but I'm not able to use correctly this scheduler:

$TC qdisc add dev $dev root handle 1: hfsc default 40
       
$TC class add dev $dev parent 1: classid 1:1 hfsc sc rate 10mbit ul rate 10mbit

### VOIP
$TC class add dev $dev parent 1:1 classid 1:10 hfsc rt umax 1500b dmax 5ms rate 200kbit ls umax 1500b dmax 60ms rate 200kbit ul rate 200kbits
### Video
$TC class add dev $dev parent 1:1 classid 1:20 hfsc rt umax 1500b dmax 10ms rate 5mbit ls umax 1500b dmax 60ms rate 5Mbit ul rate 5Mbit
## Data
$TC class add dev $dev parent 1:1 classid 1:30 hfsc sc rate 1mbit ul rate 10mbit
$TC class add dev $dev parent 1:1 classid 1:40 hfsc sc rate 1mbit ul rate 10mbit

$TC qdisc add dev $dev parent 1:10 handle 10 sfq perturb 10
$TC qdisc add dev $dev parent 1:20 handle 20 sfq perturb 10
$TC qdisc add dev $dev parent 1:30 handle 30 sfq perturb 10
$TC qdisc add dev $dev parent 1:40 handle 40 sfq perturb 10

Can you help me ? i want a prioritize like this :
1 VOIP
2 VIDEO
3 Data1 (1:30)
4 Data2 (1:40)

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

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