[ndnSIM] Statistics using Interest Flooding Mitigation
alexander.afanasyev at ucla.edu
Wed Jan 8 11:25:32 PST 2014
On Jan 5, 2014, at 9:49 PM, Tun Tun Oo <htunhtunu at gmail.com> wrote:
> Dear Alex,
> Happy new year to you.
> Now I am trying to use stats.cc/h from the interesting-flooding-mitigation for the purpose of getting instant load.
> I have several questions.
> 1. Now I am getting stats information of the each node every one second.
> I want to get this information at particular time interval or event, for example, 0.1 seconds or whenever I received the Interest packet. Could you advice me how to extend it?
The information in stats.cc/h is updated and aggregated every second, but you can access it at any particular time. Since the values are 'averages', you have to have some time period over which the data is aggregated. You can change this aggregation period (line 96 and 179 in stats.cc), but you also need to adjust the averaging function (stats/load-stats.cc), so it takes into account new time period.
> 2. At first I used this code in dumbbell topology but I received the SIGSEGV error after running several seconds. Now it is working in tree topology. I would like to know how to modified it for using in other topologies.
> Thanks you,
I'm not sure why you're getting sigsegv. Anything useful that you can get from the debugger?
> sincerely yours
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM