[ndnSIM] How to calculate the satisfaction ratio

mengxue mengxue_1224 at 126.com
Sun Aug 19 07:53:25 PDT 2018

   Thank you for your reply!
   I have used the "L3RateTracer" to keep track of router statistics. I wonder how to deal with the obtained data to calculate the satisfaction ratio: (1)first  calculate the satisfaction ratio of each consumer and then obtain the average of all the consumers,  or (2) first calculate sum of the sent out Interests and sum of received Data of all the consumers and then perform division operations.
   Thank you very much!
   Best regards,
   Lixia Zhao

At 2018-08-18 08:00:57, "Spyridon (Spyros) Mastorakis" <mastorakis at cs.ucla.edu> wrote:

you can modify the consumer and producer apps to add some counters for the metrics you need and print the value of the counters at end of your simulation.

Another way to do that is to use some tracer that is provided by ndnSIM, e.g., the app delay tracer:



Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
Computer Science Department

On Aug 17, 2018, at 5:01 AM, mengxue <mengxue_1224 at 126.com> wrote:

Hi all,

    I met with some problems when I deal with the experimental data.
    Interest satisfaction ratio of clients has been widely used as an indication of the quality of service perceived by end-users when there is an on-going attack. I'm wondering how to calculate the satisfaction ratio, the average ratio of each client(i.e., the sum of satisfaction ratio of each client / the number of clients) or the overall ratio of legitimate Interests(i.e.,the sum of # of all the received Data packets by clients / the sum of # of all the sent out Interest packets by clients ).
    Thank you very much!
    Best regards,
    Xue Meng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180819/09667968/attachment.html>

More information about the ndnSIM mailing list