[ndnSIM] How to prevent packet drops in ndnSIM 1.0?

Alex Afanasyev alexander.afanasyev at ucla.edu
Sat Feb 28 15:21:50 PST 2015


Hi Ali,

No matter how big queue you set, if the rate with which you send packets exceed the capacity of the link, you will get data or interest packet to be dropped and interests will timeout.

To prevent losses, you just need to make sure your topology matches the application demand.

—
Alex

> On Feb 28, 2015, at 11:10 AM, Al Dab <ali090385 at gmail.com> wrote:
> 
> Hi,
> 
> I am performing some simulations on ndnSIM 1.0 and for some of my measurements I'd like to completely eliminate interest/data drops or at least make them as close to zero as possible. My understanding is that most packet drops happen due to a timeout or a queue overflow. For the interest part, I have tried to increase the lifetime of the interest packets, MaxPitEntryLifetime and also the queue size as follows:
> 
> ndn::AppHelper consumerHelper ("ns3::ndn::ConsumerZipfMandelbrot"); // to be installed on all consumers
> consumerHelper.SetAttribute ("LifeTime", StringValue ("9999s"));
> ...
> Config::Set ("/NodeList/<nodeID>/$ns3::ndn::Pit/MaxPitEntryLifetime", TimeValue (Seconds (9999))); // for all nodeID's
> ...
> Config::SetDefault ("ns3::DropTailQueue::MaxPackets", StringValue ("9999"));
> 
> Still, I am getting some interest and data drops. These drops are measured through L3AggregateTracer and tend to increase by increasing the channel delay using the following command:
> 
> Config::SetDefault ("ns3::PointToPointChannel::Delay", StringValue ("500ms"));
> 
> I am wondering what other settings can lead to packet drops, both on interests and data and what is the most efficient way of preventing such drops?
> 
> Thanks,
> Ali

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150228/3bb7d594/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150228/3bb7d594/attachment.bin>


More information about the ndnSIM mailing list