[Click] Change data rate during execution

Eddie Kohler kohler at cs.ucla.edu
Wed Sep 22 15:39:35 EDT 2010


RatedSource provides handlers that allow the rate to be changed dynamically.

Please investigate the RatedSource.rate handler.

It can be set using a Script element, or using a ControlSocket (if at 
userlevel) or the /click filesystem (if on a kernel).

Eddie


On 09/21/2010 01:33 AM, Panos Μatzakos wrote:
> Hello, i would like to use an element packet source (like RatedSource) in which the rate would not be stable but it could change during the execution. For example, send the first 100 packets with  20 packs/sec rate, the next 100 with 40 packs/sec rate etc... I think there is no standard Click element which does sth like that. So do you think it would be easy to modify RatedSource  and if so which changes should be done in general?                                                                                               Thanks
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list