[Click] Click with Weighted Round Robin

gael.schinkel at free.fr gael.schinkel at free.fr
Tue Feb 3 09:40:36 EST 2004


Hi,  
I am trying to use Weighted Round Robin (WRR) QOS :  
I use the RoundRobinSched element and SceduleInfo to put a weight   
  
rr :: RoundRobinSched();  
flow :: IPClassifier(dst udp port 1234,  
		     dst udp port 1236,  
		     -);  
  
fifo1 :: Queue(20);  
fifo2 :: Queue(20);  
flow[0] ->  fifo1 -> [0]rr;  
flow[1] ->  fifo2 -> [1]rr;  
flow[2] -> ip_to_extern;  
ScheduleInfo(flux[0] 100,flux[1] 0.1,unq 1,intern_dev 1,extern_dev 1);  
  
Datas arrived on "flow[]" but at the output, each flow uses the same bandwidth  
(50%) :  
there isn't weighted bandwidth whereas flux[0] has 100 weight and flux[1] has  
0.1 weight.  
I think,I may not understand ScheduleInfo element. 
 
Best regards,   
    


More information about the click mailing list