[Click] Click with Weighted Round Robin
Brecht Vermeulen
brecht.vermeulen at UGent.be
Tue Feb 3 10:51:09 EST 2004
Hi,
as far as I know ScheduleInfo can only be used to change the ratios in
which scheduled elements in click are run.
The clue is however 'scheduled elements'. These are elements which are
on Click's internal scheduler's list and are e.g. PollDevice,
FromDevice, ToDevice, InfiniteSource. (no queues, no RoundRobinSched)
Maybe I miss something but I don't see how flux is defined ?
Nevertheless, if flux is a todevice or so, I don't think you can specify
the ports separately in the ScheduleInfo. (does this actually work
without errors on configuration ?)
I don't think you can easily achieve what you want with ScheduleInfo,
but maybe the StrideSched
(http://www.pdos.lcs.mit.edu/click/doc/StrideSched.n.html) can be used
or you can write an own element.
regards,
Brecht
gael.schinkel at free.fr wrote:
> 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,
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list