[ndnSIM] Issue in mobility scenario with consumer batches application

Atif Rehman atif_r at outlook.com
Sat Apr 13 00:34:45 PDT 2019


Dear ndnSIM Geeks,

I am simulating a mobility scenario with consumer batches application. I am facing an issue.

I set consumer batches as follows

consumerHelper.SetAttribute("Batches", StringValue("1s 30 22s 30"));
consumerHelper.Install(consumers[2]);

My understanding is, the mobile consumer node 2 will forward 30 Interests packets towards wireless access point (WAP) after
1 second and 30 Interest packets after 22 seconds (please correct me if i am wrong).

However, it's not working as i described above because the function ConsumerBatches::ScheduleNextPacket()
(ndn-consumer-batches.cpp lines 86-97) delay the Next packet transmission based on the rtt value (m_rtt->RetransmitTimeout()) to avoid packet drop (Alex mentioned this in following link).

https://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-September/000862.html

I printed rtt delay values and i found some values are 13s, 5s, and 6s.

It seems this delay is affecting my scenario because my consumer node is mobile, and it is connected with WAP at time 0-5s and 20s-25s
(that's why i scheduled consumer batch at 1s and 22s to send the packets when it is connected). I am assuming that my mobile node is connected with WAP for 5 seconds and during this time it will send 30 interest packets, but due to rtt delay it is sending around 14 or 15 interest packets only and reaming packet scheduled to send after 13s, 5s or 6s  but until then my mobile node got disconnected and it is now useless to forward those packets.

I am sorry if i explained too much.

Any suggestions how can i solve this issue ?

Thank you so much.

Regards
Atif Rehman (Ph.D. Student)

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


More information about the ndnSIM mailing list