From shock.jiang at gmail.com Tue Jan 1 07:11:19 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Tue, 1 Jan 2013 23:11:19 +0800 Subject: [ndnSIM] Question of face->GetNode() Message-ID: <0A03E730-9BD6-4A46-B590-214BBDC14CC4@gmail.com> Dear all, I am trying to print node of the face in ndn-fib-entry.cc: Entry::UpdateStatus(Ptr face, FaceMetric::Staus status). I add one line face->GetNode()->GetId() then it gives me error: Waf: Entering directory `/Users/shock/ndnSIM/ns-3/build' [ 980/1887] cxx: src/ndnSIM/model/fw/green-yellow-red.cc -> build/src/ndnSIM/model/fw/green-yellow-red.cc.1.o [ 982/1887] cxx: src/ndnSIM/model/fib/ndn-fib-entry.cc -> build/src/ndnSIM/model/fib/ndn-fib-entry.cc.1.o ../src/ndnSIM/model/fib/ndn-fib-entry.cc: In member function 'void ns3::ndn::fib::Entry::UpdateStatus(ns3::Ptr, ns3::ndn::fib::FaceMetric::Status)': ../src/ndnSIM/model/fib/ndn-fib-entry.cc:94: error: invalid use of incomplete type 'struct ns3::Node' ./ns3/ndn-face.h:37: error: forward declaration of 'struct ns3::Node' ./ns3/ptr.h: In destructor 'ns3::Ptr::~Ptr() [with T = ns3::Node]': ../src/ndnSIM/model/fib/ndn-fib-entry.cc:94: instantiated from here ./ns3/ptr.h:456: error: invalid use of incomplete type 'struct ns3::Node' ./ns3/ndn-face.h:37: error: forward declaration of 'struct ns3::Node' Waf: Leaving directory `/Users/shock/ndnSIM/ns-3/build' Build failed -> task in 'ns3-ndnSIM' failed (exit status 1): {task 4330998224: cxx ndn-fib-entry.cc -> ndn-fib-entry.cc.1.o} I am very confused, any one can give hints? Thank you in advance. thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Tue Jan 1 08:01:38 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Tue, 1 Jan 2013 08:01:38 -0800 Subject: [ndnSIM] Question of face->GetNode() In-Reply-To: <0A03E730-9BD6-4A46-B590-214BBDC14CC4@gmail.com> References: <0A03E730-9BD6-4A46-B590-214BBDC14CC4@gmail.com> Message-ID: <6A3E8285-B4A7-442C-84B9-D6448F2BFBE4@ucla.edu> Just include ns3/node.h in your cc file and it will compile. --- Alex On Jan 1, 2013, at 7:11 AM, Xiaoke Jiang wrote: > Dear all, > I am trying to print node of the face in ndn-fib-entry.cc: Entry::UpdateStatus(Ptr face, FaceMetric::Staus status). > I add one line face->GetNode()->GetId() then it gives me error: > Waf: Entering directory `/Users/shock/ndnSIM/ns-3/build' > [ 980/1887] cxx: src/ndnSIM/model/fw/green-yellow-red.cc -> build/src/ndnSIM/model/fw/green-yellow-red.cc.1.o > [ 982/1887] cxx: src/ndnSIM/model/fib/ndn-fib-entry.cc -> build/src/ndnSIM/model/fib/ndn-fib-entry.cc.1.o > ../src/ndnSIM/model/fib/ndn-fib-entry.cc: In member function 'void ns3::ndn::fib::Entry::UpdateStatus(ns3::Ptr, ns3::ndn::fib::FaceMetric::Status)': > ../src/ndnSIM/model/fib/ndn-fib-entry.cc:94: error: invalid use of incomplete type 'struct ns3::Node' > ./ns3/ndn-face.h:37: error: forward declaration of 'struct ns3::Node' > ./ns3/ptr.h: In destructor 'ns3::Ptr::~Ptr() [with T = ns3::Node]': > ../src/ndnSIM/model/fib/ndn-fib-entry.cc:94: instantiated from here > ./ns3/ptr.h:456: error: invalid use of incomplete type 'struct ns3::Node' > ./ns3/ndn-face.h:37: error: forward declaration of 'struct ns3::Node' > Waf: Leaving directory `/Users/shock/ndnSIM/ns-3/build' > Build failed > -> task in 'ns3-ndnSIM' failed (exit status 1): > {task 4330998224: cxx ndn-fib-entry.cc -> ndn-fib-entry.cc.1.o} > > I am very confused, any one can give hints? Thank you in advance. > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilmaguluri at gmail.com Tue Jan 8 03:36:27 2013 From: anilmaguluri at gmail.com (Anil Kumar Maguluri) Date: Tue, 8 Jan 2013 17:06:27 +0530 Subject: [ndnSIM] Unable to find rate-trace.txt and aggregate-trace.txt files Message-ID: Hi All, I am new to NS3 and ndnSIM. I am able to build the ndnSIM and execute few examples which are mentioned on the ndnSIM website. I am able to execute *ndn-tree-tracers.cc* using "./waf --run=ndn-tree-tracers". And i can see the following information on the terminal : user at anilmaguluri-ubuntu:~/ndnSIM/ns-3$ ./waf --run=ndn-tree-tracers Waf: Entering directory `/home/user/ndnSIM/ns-3/build' Waf: Leaving directory `/home/user/ndnSIM/ns-3/build' 'build' finished successfully (1.997s) user at anilmaguluri-ubuntu:~/ndnSIM/ns-3$ But i am unable to find the rate-trace.txt and aggregate-trace.txt files. Please let me know how those files will be generated and path of those files. Thanks for your support. ============================= Thanks & Regards, Anil Kumar Maguluri E-Mail:anilmaguluri at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Tue Jan 8 09:41:14 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Tue, 8 Jan 2013 09:41:14 -0800 Subject: [ndnSIM] Unable to find rate-trace.txt and aggregate-trace.txt files In-Reply-To: References: Message-ID: <809E3E50-A4F7-438C-BC11-18EAF4825324@ucla.edu> Hi Anil, Both .txt files should be generated in the same directory as ./waf script. In you case it should be in "/home/user/ndnSIM/ns-3" Sincerely, Alex On Jan 8, 2013, at 3:36 AM, Anil Kumar Maguluri wrote: > Hi All, > > I am new to NS3 and ndnSIM. I am able to build the ndnSIM and execute few examples which are mentioned on the ndnSIM website. > > I am able to execute ndn-tree-tracers.cc using "./waf --run=ndn-tree-tracers". And i can see the following information on the terminal : > > user at anilmaguluri-ubuntu:~/ndnSIM/ns-3$ ./waf --run=ndn-tree-tracers > Waf: Entering directory `/home/user/ndnSIM/ns-3/build' > Waf: Leaving directory `/home/user/ndnSIM/ns-3/build' > 'build' finished successfully (1.997s) > user at anilmaguluri-ubuntu:~/ndnSIM/ns-3$ > > But i am unable to find the rate-trace.txt and aggregate-trace.txt files. > Please let me know how those files will be generated and path of those files. > > Thanks for your support. > > > ============================= > Thanks & Regards, > Anil Kumar Maguluri > E-Mail:anilmaguluri at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From shock.jiang at gmail.com Wed Jan 16 05:36:05 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Wed, 16 Jan 2013 21:36:05 +0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data Message-ID: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> Hi All, How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. Is there anyone can give some hint? Thank you in advance. thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Wed Jan 16 12:13:40 2013 From: alexander.afanasyev at ucla.edu (Alexander Afanasyev) Date: Wed, 16 Jan 2013 12:13:40 -0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> Message-ID: <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> Hi Xiaoke, It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. --- Alex On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: > Hi All, > How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. > > Is there anyone can give some hint? Thank you in advance. > > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China From shock.jiang at gmail.com Thu Jan 17 00:35:32 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Thu, 17 Jan 2013 16:35:32 +0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> Message-ID: <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> Thank you Alex. I think Interest-Data latency also works for me. But request latency (including retransmission delays) is better than Interest-Data latency. So I will try with I-D latency first and wait for you update. P.S, if the Interest don't get it's data or get an Nack, how do you define its latency in the program? thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: > Hi Xiaoke, > > It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). > > Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). > > If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). > > I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. > > --- > Alex > > On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: > >> Hi All, >> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >> >> Is there anyone can give some hint? Thank you in advance. >> >> thanks >> >> My Regards, >> Xiaoke Jiang ????? >> >> Ph.D Candidate, >> Dept. of Computer Science and Technology, >> Tsinghua University, P. R. China > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Fri Jan 18 16:45:29 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Fri, 18 Jan 2013 16:45:29 -0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> Message-ID: <0DFABA27-3E5D-4DC9-A671-1525CE49F97F@ucla.edu> Hi Xiaoke, I have implemented a basic latency measurements in ndn::Consumer app (should work in all derivative-classes as well) and a simple tracing helper. You give it a try and tell me if something is wrong or strange. You can check out basic doc here: http://ndnsim.net/metric.html#application-level-trace-helper --- Alex On Jan 17, 2013, at 12:35 AM, Xiaoke Jiang wrote: > Thank you Alex. > I think Interest-Data latency also works for me. But request latency (including retransmission delays) is better than Interest-Data latency. So I will try with I-D latency first and wait for you update. > > P.S, if the Interest don't get it's data or get an Nack, how do you define its latency in the program? > > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China > > On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: > >> Hi Xiaoke, >> >> It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). >> >> Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). >> >> If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). >> >> I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. >> >> --- >> Alex >> >> On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: >> >>> Hi All, >>> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >>> >>> Is there anyone can give some hint? Thank you in advance. >>> >>> thanks >>> >>> My Regards, >>> Xiaoke Jiang ????? >>> >>> Ph.D Candidate, >>> Dept. of Computer Science and Technology, >>> Tsinghua University, P. R. China >> > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From shock.jiang at gmail.com Fri Jan 18 17:31:24 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Sat, 19 Jan 2013 09:31:24 +0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> Message-ID: <0A023C6D-D121-4F0A-863A-9801CA392470@gmail.com> Alex, Cool. I will try and give you feedback. thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: > Hi Xiaoke, > > It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). > > Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). > > If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). > > I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. > > --- > Alex > > On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: > >> Hi All, >> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >> >> Is there anyone can give some hint? Thank you in advance. >> >> thanks >> >> My Regards, >> Xiaoke Jiang ????? >> >> Ph.D Candidate, >> Dept. of Computer Science and Technology, >> Tsinghua University, P. R. China > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Fri Jan 18 18:06:01 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Fri, 18 Jan 2013 18:06:01 -0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: <02C98D75-9913-42E4-808B-E2C8EE7C9128@gmail.com> References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> <0DFABA27-3E5D-4DC9-A671-1525CE49F97F@ucla.edu> <02C98D75-9913-42E4-808B-E2C8EE7C9128@gmail.com> Message-ID: <69D85DC9-46F8-4ED1-85BD-FF12BCA8E734@ucla.edu> Thanks for pointing this out. Somehow I had a wrong rule in .gitignore and didn't notice that topology file never got committed till now. Should be there now. --- Alex On Jan 18, 2013, at 5:59 PM, Xiaoke Jiang wrote: > Hi Alex, > I can't find ""src/ndnSIM/examples/topologies/topo-tree.txt"", In fact there is no topologies directory on the GitHub. > > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China > > On Jan 19, 2013, at 8:45 AM, Alex Afanasyev wrote: > >> Hi Xiaoke, >> >> I have implemented a basic latency measurements in ndn::Consumer app (should work in all derivative-classes as well) and a simple tracing helper. >> You give it a try and tell me if something is wrong or strange. >> >> You can check out basic doc here: http://ndnsim.net/metric.html#application-level-trace-helper >> >> --- >> Alex >> >> On Jan 17, 2013, at 12:35 AM, Xiaoke Jiang wrote: >> >>> Thank you Alex. >>> I think Interest-Data latency also works for me. But request latency (including retransmission delays) is better than Interest-Data latency. So I will try with I-D latency first and wait for you update. >>> >>> P.S, if the Interest don't get it's data or get an Nack, how do you define its latency in the program? >>> >>> thanks >>> >>> My Regards, >>> Xiaoke Jiang ????? >>> >>> Ph.D Candidate, >>> Dept. of Computer Science and Technology, >>> Tsinghua University, P. R. China >>> >>> On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: >>> >>>> Hi Xiaoke, >>>> >>>> It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). >>>> >>>> Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). >>>> >>>> If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). >>>> >>>> I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. >>>> >>>> --- >>>> Alex >>>> >>>> On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: >>>> >>>>> Hi All, >>>>> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >>>>> >>>>> Is there anyone can give some hint? Thank you in advance. >>>>> >>>>> thanks >>>>> >>>>> My Regards, >>>>> Xiaoke Jiang ????? >>>>> >>>>> Ph.D Candidate, >>>>> Dept. of Computer Science and Technology, >>>>> Tsinghua University, P. R. China >>>> >>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shock.jiang at gmail.com Fri Jan 18 18:30:17 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Sat, 19 Jan 2013 10:30:17 +0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: <69D85DC9-46F8-4ED1-85BD-FF12BCA8E734@ucla.edu> References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> <0DFABA27-3E5D-4DC9-A671-1525CE49F97F@ucla.edu> <02C98D75-9913-42E4-808B-E2C8EE7C9128@gmail.com> <69D85DC9-46F8-4ED1-85BD-FF12BCA8E734@ucla.edu> Message-ID: Hi Alex, I am checking the schema of trace file. Node: node id, global unique AppId: app id, local unique on the node, not global SeqNo: seq number of the interest-Data Type: LastDelay means last Interest-Data delay, FullDelay means request delay (including retransimission) DelayS: delay by seconds DelayUS: delay bey seconds x 10^-6 (microsecond) Am I right? thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China On Jan 19, 2013, at 10:06 AM, Alex Afanasyev wrote: > Thanks for pointing this out. > > Somehow I had a wrong rule in .gitignore and didn't notice that topology file never got committed till now. Should be there now. > > --- > Alex > > On Jan 18, 2013, at 5:59 PM, Xiaoke Jiang wrote: > >> Hi Alex, >> I can't find ""src/ndnSIM/examples/topologies/topo-tree.txt"", In fact there is no topologies directory on the GitHub. >> >> thanks >> >> My Regards, >> Xiaoke Jiang ????? >> >> Ph.D Candidate, >> Dept. of Computer Science and Technology, >> Tsinghua University, P. R. China >> >> On Jan 19, 2013, at 8:45 AM, Alex Afanasyev wrote: >> >>> Hi Xiaoke, >>> >>> I have implemented a basic latency measurements in ndn::Consumer app (should work in all derivative-classes as well) and a simple tracing helper. >>> You give it a try and tell me if something is wrong or strange. >>> >>> You can check out basic doc here: http://ndnsim.net/metric.html#application-level-trace-helper >>> >>> --- >>> Alex >>> >>> On Jan 17, 2013, at 12:35 AM, Xiaoke Jiang wrote: >>> >>>> Thank you Alex. >>>> I think Interest-Data latency also works for me. But request latency (including retransmission delays) is better than Interest-Data latency. So I will try with I-D latency first and wait for you update. >>>> >>>> P.S, if the Interest don't get it's data or get an Nack, how do you define its latency in the program? >>>> >>>> thanks >>>> >>>> My Regards, >>>> Xiaoke Jiang ????? >>>> >>>> Ph.D Candidate, >>>> Dept. of Computer Science and Technology, >>>> Tsinghua University, P. R. China >>>> >>>> On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: >>>> >>>>> Hi Xiaoke, >>>>> >>>>> It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). >>>>> >>>>> Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). >>>>> >>>>> If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). >>>>> >>>>> I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. >>>>> >>>>> --- >>>>> Alex >>>>> >>>>> On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: >>>>> >>>>>> Hi All, >>>>>> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >>>>>> >>>>>> Is there anyone can give some hint? Thank you in advance. >>>>>> >>>>>> thanks >>>>>> >>>>>> My Regards, >>>>>> Xiaoke Jiang ????? >>>>>> >>>>>> Ph.D Candidate, >>>>>> Dept. of Computer Science and Technology, >>>>>> Tsinghua University, P. R. China >>>>> >>>> >>>> _______________________________________________ >>>> ndnSIM mailing list >>>> ndnSIM at lists.cs.ucla.edu >>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shock.jiang at gmail.com Fri Jan 18 18:30:59 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Sat, 19 Jan 2013 10:30:59 +0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> <0DFABA27-3E5D-4DC9-A671-1525CE49F97F@ucla.edu> <02C98D75-9913-42E4-808B-E2C8EE7C9128@gmail.com> <69D85DC9-46F8-4ED1-85BD-FF12BCA8E734@ucla.edu> Message-ID: And very sorry to disturb you on Skype. &_^:) thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China On Jan 19, 2013, at 10:30 AM, Xiaoke Jiang wrote: > Hi Alex, > I am checking the schema of trace file. > Node: node id, global unique > AppId: app id, local unique on the node, not global > SeqNo: seq number of the interest-Data > Type: LastDelay means last Interest-Data delay, FullDelay means request delay (including retransimission) > DelayS: delay by seconds > DelayUS: delay bey seconds x 10^-6 (microsecond) > > > Am I right? > > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China > > On Jan 19, 2013, at 10:06 AM, Alex Afanasyev wrote: > >> Thanks for pointing this out. >> >> Somehow I had a wrong rule in .gitignore and didn't notice that topology file never got committed till now. Should be there now. >> >> --- >> Alex >> >> On Jan 18, 2013, at 5:59 PM, Xiaoke Jiang wrote: >> >>> Hi Alex, >>> I can't find ""src/ndnSIM/examples/topologies/topo-tree.txt"", In fact there is no topologies directory on the GitHub. >>> >>> thanks >>> >>> My Regards, >>> Xiaoke Jiang ????? >>> >>> Ph.D Candidate, >>> Dept. of Computer Science and Technology, >>> Tsinghua University, P. R. China >>> >>> On Jan 19, 2013, at 8:45 AM, Alex Afanasyev wrote: >>> >>>> Hi Xiaoke, >>>> >>>> I have implemented a basic latency measurements in ndn::Consumer app (should work in all derivative-classes as well) and a simple tracing helper. >>>> You give it a try and tell me if something is wrong or strange. >>>> >>>> You can check out basic doc here: http://ndnsim.net/metric.html#application-level-trace-helper >>>> >>>> --- >>>> Alex >>>> >>>> On Jan 17, 2013, at 12:35 AM, Xiaoke Jiang wrote: >>>> >>>>> Thank you Alex. >>>>> I think Interest-Data latency also works for me. But request latency (including retransmission delays) is better than Interest-Data latency. So I will try with I-D latency first and wait for you update. >>>>> >>>>> P.S, if the Interest don't get it's data or get an Nack, how do you define its latency in the program? >>>>> >>>>> thanks >>>>> >>>>> My Regards, >>>>> Xiaoke Jiang ????? >>>>> >>>>> Ph.D Candidate, >>>>> Dept. of Computer Science and Technology, >>>>> Tsinghua University, P. R. China >>>>> >>>>> On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: >>>>> >>>>>> Hi Xiaoke, >>>>>> >>>>>> It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). >>>>>> >>>>>> Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). >>>>>> >>>>>> If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). >>>>>> >>>>>> I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. >>>>>> >>>>>> --- >>>>>> Alex >>>>>> >>>>>> On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: >>>>>> >>>>>>> Hi All, >>>>>>> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >>>>>>> >>>>>>> Is there anyone can give some hint? Thank you in advance. >>>>>>> >>>>>>> thanks >>>>>>> >>>>>>> My Regards, >>>>>>> Xiaoke Jiang ????? >>>>>>> >>>>>>> Ph.D Candidate, >>>>>>> Dept. of Computer Science and Technology, >>>>>>> Tsinghua University, P. R. China >>>>>> >>>>> >>>>> _______________________________________________ >>>>> ndnSIM mailing list >>>>> ndnSIM at lists.cs.ucla.edu >>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Fri Jan 18 18:40:56 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Fri, 18 Jan 2013 18:40:56 -0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> <0DFABA27-3E5D-4DC9-A671-1525CE49F97F@ucla.edu> <02C98D75-9913-42E4-808B-E2C8EE7C9128@gmail.com> <69D85DC9-46F8-4ED1-85BD-FF12BCA8E734@ucla.edu> Message-ID: <7A397C1C-2708-4EF8-9DAD-5C2774EC5FC1@ucla.edu> Yes. I should have explained that in docs. If you don't mind I'll put your description there. --- Alex On Jan 18, 2013, at 6:30 PM, Xiaoke Jiang wrote: > Hi Alex, > I am checking the schema of trace file. > Node: node id, global unique > AppId: app id, local unique on the node, not global > SeqNo: seq number of the interest-Data > Type: LastDelay means last Interest-Data delay, FullDelay means request delay (including retransimission) > DelayS: delay by seconds > DelayUS: delay bey seconds x 10^-6 (microsecond) > > > Am I right? > > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China > > On Jan 19, 2013, at 10:06 AM, Alex Afanasyev wrote: > >> Thanks for pointing this out. >> >> Somehow I had a wrong rule in .gitignore and didn't notice that topology file never got committed till now. Should be there now. >> >> --- >> Alex >> >> On Jan 18, 2013, at 5:59 PM, Xiaoke Jiang wrote: >> >>> Hi Alex, >>> I can't find ""src/ndnSIM/examples/topologies/topo-tree.txt"", In fact there is no topologies directory on the GitHub. >>> >>> thanks >>> >>> My Regards, >>> Xiaoke Jiang ????? >>> >>> Ph.D Candidate, >>> Dept. of Computer Science and Technology, >>> Tsinghua University, P. R. China >>> >>> On Jan 19, 2013, at 8:45 AM, Alex Afanasyev wrote: >>> >>>> Hi Xiaoke, >>>> >>>> I have implemented a basic latency measurements in ndn::Consumer app (should work in all derivative-classes as well) and a simple tracing helper. >>>> You give it a try and tell me if something is wrong or strange. >>>> >>>> You can check out basic doc here: http://ndnsim.net/metric.html#application-level-trace-helper >>>> >>>> --- >>>> Alex >>>> >>>> On Jan 17, 2013, at 12:35 AM, Xiaoke Jiang wrote: >>>> >>>>> Thank you Alex. >>>>> I think Interest-Data latency also works for me. But request latency (including retransmission delays) is better than Interest-Data latency. So I will try with I-D latency first and wait for you update. >>>>> >>>>> P.S, if the Interest don't get it's data or get an Nack, how do you define its latency in the program? >>>>> >>>>> thanks >>>>> >>>>> My Regards, >>>>> Xiaoke Jiang ????? >>>>> >>>>> Ph.D Candidate, >>>>> Dept. of Computer Science and Technology, >>>>> Tsinghua University, P. R. China >>>>> >>>>> On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: >>>>> >>>>>> Hi Xiaoke, >>>>>> >>>>>> It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). >>>>>> >>>>>> Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). >>>>>> >>>>>> If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). >>>>>> >>>>>> I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. >>>>>> >>>>>> --- >>>>>> Alex >>>>>> >>>>>> On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: >>>>>> >>>>>>> Hi All, >>>>>>> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >>>>>>> >>>>>>> Is there anyone can give some hint? Thank you in advance. >>>>>>> >>>>>>> thanks >>>>>>> >>>>>>> My Regards, >>>>>>> Xiaoke Jiang ????? >>>>>>> >>>>>>> Ph.D Candidate, >>>>>>> Dept. of Computer Science and Technology, >>>>>>> Tsinghua University, P. R. China >>>>> >>>>> _______________________________________________ >>>>> ndnSIM mailing list >>>>> ndnSIM at lists.cs.ucla.edu >>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Fri Jan 18 19:55:51 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Fri, 18 Jan 2013 19:55:51 -0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: <61745BD1-92F9-4EFA-A4EC-543A98486504@gmail.com> References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> <0DFABA27-3E5D-4DC9-A671-1525CE49F97F@ucla.edu> <02C98D75-9913-42E4-808B-E2C8EE7C9128@gmail.com> <69D85DC9-46F8-4ED1-85BD-FF12BCA8E734@ucla.edu> <7A397C1C-2708-4EF8-9DAD-5C2774EC5FC1@ucla.edu> <61745BD1-92F9-4EFA-A4EC-543A98486504@gmail.com> Message-ID: <195754E6-460E-40EF-B5F8-581FD30BE9E3@ucla.edu> Hmm.. Should work now with the latest commit I pushed. At least it is working in my trivial example. There was a silly typo in tracing helper. -- Alex On Jan 18, 2013, at 6:59 PM, Xiaoke Jiang wrote: > Hi Alex, > Bad Signal. I tried the run with drop packets scenario, but the LastDelay always equals to FullDelay. I am trying to explore the reason. > > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China > > On Jan 19, 2013, at 10:40 AM, Alex Afanasyev wrote: > >> Yes. I should have explained that in docs. If you don't mind I'll put your description there. >> >> --- >> Alex >> >> On Jan 18, 2013, at 6:30 PM, Xiaoke Jiang wrote: >> >>> Hi Alex, >>> I am checking the schema of trace file. >>> Node: node id, global unique >>> AppId: app id, local unique on the node, not global >>> SeqNo: seq number of the interest-Data >>> Type: LastDelay means last Interest-Data delay, FullDelay means request delay (including retransimission) >>> DelayS: delay by seconds >>> DelayUS: delay bey seconds x 10^-6 (microsecond) >>> >>> >>> Am I right? >>> >>> thanks >>> >>> My Regards, >>> Xiaoke Jiang ????? >>> >>> Ph.D Candidate, >>> Dept. of Computer Science and Technology, >>> Tsinghua University, P. R. China >>> >>> On Jan 19, 2013, at 10:06 AM, Alex Afanasyev wrote: >>> >>>> Thanks for pointing this out. >>>> >>>> Somehow I had a wrong rule in .gitignore and didn't notice that topology file never got committed till now. Should be there now. >>>> >>>> --- >>>> Alex >>>> >>>> On Jan 18, 2013, at 5:59 PM, Xiaoke Jiang wrote: >>>> >>>>> Hi Alex, >>>>> I can't find ""src/ndnSIM/examples/topologies/topo-tree.txt"", In fact there is no topologies directory on the GitHub. >>>>> >>>>> thanks >>>>> >>>>> My Regards, >>>>> Xiaoke Jiang ????? >>>>> >>>>> Ph.D Candidate, >>>>> Dept. of Computer Science and Technology, >>>>> Tsinghua University, P. R. China >>>>> >>>>> On Jan 19, 2013, at 8:45 AM, Alex Afanasyev wrote: >>>>> >>>>>> Hi Xiaoke, >>>>>> >>>>>> I have implemented a basic latency measurements in ndn::Consumer app (should work in all derivative-classes as well) and a simple tracing helper. >>>>>> You give it a try and tell me if something is wrong or strange. >>>>>> >>>>>> You can check out basic doc here: http://ndnsim.net/metric.html#application-level-trace-helper >>>>>> >>>>>> --- >>>>>> Alex >>>>>> >>>>>> On Jan 17, 2013, at 12:35 AM, Xiaoke Jiang wrote: >>>>>> >>>>>>> Thank you Alex. >>>>>>> I think Interest-Data latency also works for me. But request latency (including retransmission delays) is better than Interest-Data latency. So I will try with I-D latency first and wait for you update. >>>>>>> >>>>>>> P.S, if the Interest don't get it's data or get an Nack, how do you define its latency in the program? >>>>>>> >>>>>>> thanks >>>>>>> >>>>>>> My Regards, >>>>>>> Xiaoke Jiang ????? >>>>>>> >>>>>>> Ph.D Candidate, >>>>>>> Dept. of Computer Science and Technology, >>>>>>> Tsinghua University, P. R. China >>>>>>> >>>>>>> On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: >>>>>>> >>>>>>>> Hi Xiaoke, >>>>>>>> >>>>>>>> It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). >>>>>>>> >>>>>>>> Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). >>>>>>>> >>>>>>>> If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). >>>>>>>> >>>>>>>> I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. >>>>>>>> >>>>>>>> --- >>>>>>>> Alex >>>>>>>> >>>>>>>> On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: >>>>>>>> >>>>>>>>> Hi All, >>>>>>>>> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >>>>>>>>> >>>>>>>>> Is there anyone can give some hint? Thank you in advance. >>>>>>>>> >>>>>>>>> thanks >>>>>>>>> >>>>>>>>> My Regards, >>>>>>>>> Xiaoke Jiang ????? >>>>>>>>> >>>>>>>>> Ph.D Candidate, >>>>>>>>> Dept. of Computer Science and Technology, >>>>>>>>> Tsinghua University, P. R. China >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> ndnSIM mailing list >>>>>>> ndnSIM at lists.cs.ucla.edu >>>>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>>>> >>>>> >>>> >>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shock.jiang at gmail.com Sat Jan 19 05:21:16 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Sat, 19 Jan 2013 21:21:16 +0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: <195754E6-460E-40EF-B5F8-581FD30BE9E3@ucla.edu> References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> <0DFABA27-3E5D-4DC9-A671-1525CE49F97F@ucla.edu> <02C98D75-9913-42E4-808B-E2C8EE7C9128@gmail.com> <69D85DC9-46F8-4ED1-85BD-FF12BCA8E734@ucla.edu> <7A397C1C-2708-4EF8-9DAD-5C2774EC5FC1@ucla.edu> <61745BD1-92F9-4EFA-A4EC-543A98486504@gmail.com> <195754E6-460E-40EF-B5F8-581FD30BE9E3@ucla.edu> Message-ID: <25BB3AD3-37DC-4F35-9AEB-AAF7B348D4E4@gmail.com> Hi Alex, I tried many case today and I think there is a logic problem during retransmission. for example: 1. nodeN send seqQ, 2. seqQ timeout and then m_seqTimeouts(seqQ) is erased and seqQ is add to m_retxSeqs container 3. m_retxSeqs is waiting ? 4. during the waiting, Data for seqQ comes, and it removes m_retxSeqs(seqQ), which cancel retransimssion In the above scenario, for latency trace will only have FullDelay but without LastDelay and some other logic problem (if you check more logs). solution is to modify code in ndn-consumer.cc:OnContentObject, add a "return statement" if no entry in m_seqTimeouts when content object comes SeqTimeoutsContainer::iterator entry = m_seqTimeouts.find (seq); if (entry != m_seqTimeouts.end ()) { m_lastRetransmittedInterestDataDelay (this, seq, Simulator::Now () - entry->time); } else{ NS_LOG_DEBUG("error:seq "<GetId()); return; } thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China On Jan 19, 2013, at 11:55 AM, Alex Afanasyev wrote: > Hmm.. Should work now with the latest commit I pushed. At least it is working in my trivial example. > > There was a silly typo in tracing helper. > > -- > Alex > > On Jan 18, 2013, at 6:59 PM, Xiaoke Jiang wrote: > >> Hi Alex, >> Bad Signal. I tried the run with drop packets scenario, but the LastDelay always equals to FullDelay. I am trying to explore the reason. >> >> thanks >> >> My Regards, >> Xiaoke Jiang ????? >> >> Ph.D Candidate, >> Dept. of Computer Science and Technology, >> Tsinghua University, P. R. China >> >> On Jan 19, 2013, at 10:40 AM, Alex Afanasyev wrote: >> >>> Yes. I should have explained that in docs. If you don't mind I'll put your description there. >>> >>> --- >>> Alex >>> >>> On Jan 18, 2013, at 6:30 PM, Xiaoke Jiang wrote: >>> >>>> Hi Alex, >>>> I am checking the schema of trace file. >>>> Node: node id, global unique >>>> AppId: app id, local unique on the node, not global >>>> SeqNo: seq number of the interest-Data >>>> Type: LastDelay means last Interest-Data delay, FullDelay means request delay (including retransimission) >>>> DelayS: delay by seconds >>>> DelayUS: delay bey seconds x 10^-6 (microsecond) >>>> >>>> >>>> Am I right? >>>> >>>> thanks >>>> >>>> My Regards, >>>> Xiaoke Jiang ????? >>>> >>>> Ph.D Candidate, >>>> Dept. of Computer Science and Technology, >>>> Tsinghua University, P. R. China >>>> >>>> On Jan 19, 2013, at 10:06 AM, Alex Afanasyev wrote: >>>> >>>>> Thanks for pointing this out. >>>>> >>>>> Somehow I had a wrong rule in .gitignore and didn't notice that topology file never got committed till now. Should be there now. >>>>> >>>>> --- >>>>> Alex >>>>> >>>>> On Jan 18, 2013, at 5:59 PM, Xiaoke Jiang wrote: >>>>> >>>>>> Hi Alex, >>>>>> I can't find ""src/ndnSIM/examples/topologies/topo-tree.txt"", In fact there is no topologies directory on the GitHub. >>>>>> >>>>>> thanks >>>>>> >>>>>> My Regards, >>>>>> Xiaoke Jiang ????? >>>>>> >>>>>> Ph.D Candidate, >>>>>> Dept. of Computer Science and Technology, >>>>>> Tsinghua University, P. R. China >>>>>> >>>>>> On Jan 19, 2013, at 8:45 AM, Alex Afanasyev wrote: >>>>>> >>>>>>> Hi Xiaoke, >>>>>>> >>>>>>> I have implemented a basic latency measurements in ndn::Consumer app (should work in all derivative-classes as well) and a simple tracing helper. >>>>>>> You give it a try and tell me if something is wrong or strange. >>>>>>> >>>>>>> You can check out basic doc here: http://ndnsim.net/metric.html#application-level-trace-helper >>>>>>> >>>>>>> --- >>>>>>> Alex >>>>>>> >>>>>>> On Jan 17, 2013, at 12:35 AM, Xiaoke Jiang wrote: >>>>>>> >>>>>>>> Thank you Alex. >>>>>>>> I think Interest-Data latency also works for me. But request latency (including retransmission delays) is better than Interest-Data latency. So I will try with I-D latency first and wait for you update. >>>>>>>> >>>>>>>> P.S, if the Interest don't get it's data or get an Nack, how do you define its latency in the program? >>>>>>>> >>>>>>>> thanks >>>>>>>> >>>>>>>> My Regards, >>>>>>>> Xiaoke Jiang ????? >>>>>>>> >>>>>>>> Ph.D Candidate, >>>>>>>> Dept. of Computer Science and Technology, >>>>>>>> Tsinghua University, P. R. China >>>>>>>> >>>>>>>> On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: >>>>>>>> >>>>>>>>> Hi Xiaoke, >>>>>>>>> >>>>>>>>> It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). >>>>>>>>> >>>>>>>>> Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). >>>>>>>>> >>>>>>>>> If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). >>>>>>>>> >>>>>>>>> I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. >>>>>>>>> >>>>>>>>> --- >>>>>>>>> Alex >>>>>>>>> >>>>>>>>> On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: >>>>>>>>> >>>>>>>>>> Hi All, >>>>>>>>>> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >>>>>>>>>> >>>>>>>>>> Is there anyone can give some hint? Thank you in advance. >>>>>>>>>> >>>>>>>>>> thanks >>>>>>>>>> >>>>>>>>>> My Regards, >>>>>>>>>> Xiaoke Jiang ????? >>>>>>>>>> >>>>>>>>>> Ph.D Candidate, >>>>>>>>>> Dept. of Computer Science and Technology, >>>>>>>>>> Tsinghua University, P. R. China >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> ndnSIM mailing list >>>>>>>> ndnSIM at lists.cs.ucla.edu >>>>>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >>>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> ndnSIM mailing list >>>> ndnSIM at lists.cs.ucla.edu >>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Sat Jan 19 14:37:31 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Sat, 19 Jan 2013 14:37:31 -0800 Subject: [ndnSIM] How to trace the latency of request, duration from sending the Interest to receiving corresponding Data In-Reply-To: <25BB3AD3-37DC-4F35-9AEB-AAF7B348D4E4@gmail.com> References: <4DEED3B9-B96E-45BF-877A-30A978F06EF8@gmail.com> <467AD28D-2F3B-4A00-82D0-B0AB79BEA012@icloud.com> <8632D4D7-83E5-4743-A92D-71D178CF58A7@gmail.com> <0DFABA27-3E5D-4DC9-A671-1525CE49F97F@ucla.edu> <02C98D75-9913-42E4-808B-E2C8EE7C9128@gmail.com> <69D85DC9-46F8-4ED1-85BD-FF12BCA8E734@ucla.edu> <7A397C1C-2708-4EF8-9DAD-5C2774EC5FC1@ucla.edu> <61745BD1-92F9-4EFA-A4EC-543A98486504@gmail.com> <195754E6-460E-40EF-B5F8-581FD30BE9E3@ucla.edu> <25BB3AD3-37DC-4F35-9AEB-AAF7B348D4E4@gmail.com> Message-ID: Hi Xiaoke, I have revised my implementation of delay calculation. Now it should be more consistent. In case that would be helpful, I also have added number of Interest retransmissions for FullDelay parameter. In addition to that, I've did a little bit of implementation regarding your request for Interest/Data forwarding hop counting. I've added this parameter to the same trace helper. There are a couple tricks for new HopCount field: - HopCount is increased anytime somebody calls Send method on a face, including delivery of Interest/Data to application via an AppFace (but not from application to ndn::L3Protocol!). - Interests satisfied by an app will have even hop count (min hop count = 2) - Interests satisfied from caches will have off hop count (min hop count = 1) --- Alex On Jan 19, 2013, at 5:21 AM, Xiaoke Jiang wrote: > Hi Alex, > I tried many case today and I think there is a logic problem during retransmission. > > for example: > 1. nodeN send seqQ, > 2. seqQ timeout and then m_seqTimeouts(seqQ) is erased and seqQ is add to m_retxSeqs container > 3. m_retxSeqs is waiting ? > 4. during the waiting, Data for seqQ comes, and it removes m_retxSeqs(seqQ), which cancel retransimssion > > In the above scenario, for latency trace will only have FullDelay but without LastDelay and some other logic problem (if you check more logs). > > solution is to modify code in ndn-consumer.cc:OnContentObject, add a "return statement" if no entry in m_seqTimeouts when content object comes > > > SeqTimeoutsContainer::iterator entry = m_seqTimeouts.find (seq); > if (entry != m_seqTimeouts.end ()) > { > m_lastRetransmittedInterestDataDelay (this, seq, Simulator::Now () - entry->time); > } else{ > NS_LOG_DEBUG("error:seq "<GetId()); > return; > } > > > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China > > On Jan 19, 2013, at 11:55 AM, Alex Afanasyev wrote: > >> Hmm.. Should work now with the latest commit I pushed. At least it is working in my trivial example. >> >> There was a silly typo in tracing helper. >> >> -- >> Alex >> >> On Jan 18, 2013, at 6:59 PM, Xiaoke Jiang wrote: >> >>> Hi Alex, >>> Bad Signal. I tried the run with drop packets scenario, but the LastDelay always equals to FullDelay. I am trying to explore the reason. >>> >>> thanks >>> >>> My Regards, >>> Xiaoke Jiang ????? >>> >>> Ph.D Candidate, >>> Dept. of Computer Science and Technology, >>> Tsinghua University, P. R. China >>> >>> On Jan 19, 2013, at 10:40 AM, Alex Afanasyev wrote: >>> >>>> Yes. I should have explained that in docs. If you don't mind I'll put your description there. >>>> >>>> --- >>>> Alex >>>> >>>> On Jan 18, 2013, at 6:30 PM, Xiaoke Jiang wrote: >>>> >>>>> Hi Alex, >>>>> I am checking the schema of trace file. >>>>> Node: node id, global unique >>>>> AppId: app id, local unique on the node, not global >>>>> SeqNo: seq number of the interest-Data >>>>> Type: LastDelay means last Interest-Data delay, FullDelay means request delay (including retransimission) >>>>> DelayS: delay by seconds >>>>> DelayUS: delay bey seconds x 10^-6 (microsecond) >>>>> >>>>> >>>>> Am I right? >>>>> >>>>> thanks >>>>> >>>>> My Regards, >>>>> Xiaoke Jiang ????? >>>>> >>>>> Ph.D Candidate, >>>>> Dept. of Computer Science and Technology, >>>>> Tsinghua University, P. R. China >>>>> >>>>> On Jan 19, 2013, at 10:06 AM, Alex Afanasyev wrote: >>>>> >>>>>> Thanks for pointing this out. >>>>>> >>>>>> Somehow I had a wrong rule in .gitignore and didn't notice that topology file never got committed till now. Should be there now. >>>>>> >>>>>> --- >>>>>> Alex >>>>>> >>>>>> On Jan 18, 2013, at 5:59 PM, Xiaoke Jiang wrote: >>>>>> >>>>>>> Hi Alex, >>>>>>> I can't find ""src/ndnSIM/examples/topologies/topo-tree.txt"", In fact there is no topologies directory on the GitHub. >>>>>>> >>>>>>> thanks >>>>>>> >>>>>>> My Regards, >>>>>>> Xiaoke Jiang ????? >>>>>>> >>>>>>> Ph.D Candidate, >>>>>>> Dept. of Computer Science and Technology, >>>>>>> Tsinghua University, P. R. China >>>>>>> >>>>>>> On Jan 19, 2013, at 8:45 AM, Alex Afanasyev wrote: >>>>>>> >>>>>>>> Hi Xiaoke, >>>>>>>> >>>>>>>> I have implemented a basic latency measurements in ndn::Consumer app (should work in all derivative-classes as well) and a simple tracing helper. >>>>>>>> You give it a try and tell me if something is wrong or strange. >>>>>>>> >>>>>>>> You can check out basic doc here: http://ndnsim.net/metric.html#application-level-trace-helper >>>>>>>> >>>>>>>> --- >>>>>>>> Alex >>>>>>>> >>>>>>>> On Jan 17, 2013, at 12:35 AM, Xiaoke Jiang wrote: >>>>>>>> >>>>>>>>> Thank you Alex. >>>>>>>>> I think Interest-Data latency also works for me. But request latency (including retransmission delays) is better than Interest-Data latency. So I will try with I-D latency first and wait for you update. >>>>>>>>> >>>>>>>>> P.S, if the Interest don't get it's data or get an Nack, how do you define its latency in the program? >>>>>>>>> >>>>>>>>> thanks >>>>>>>>> >>>>>>>>> My Regards, >>>>>>>>> Xiaoke Jiang ????? >>>>>>>>> >>>>>>>>> Ph.D Candidate, >>>>>>>>> Dept. of Computer Science and Technology, >>>>>>>>> Tsinghua University, P. R. China >>>>>>>>> >>>>>>>>> On Jan 17, 2013, at 4:13 AM, Alexander Afanasyev wrote: >>>>>>>>> >>>>>>>>>> Hi Xiaoke, >>>>>>>>>> >>>>>>>>>> It is up to the particular application to track down Interest-Data latency. There is another question regarding in which latency you're interested: just Interest-Data or first Interest for sequence number and reception of Data (which includes all the retransmission delays). >>>>>>>>>> >>>>>>>>>> Currently in ndn::Consumer-based apps, there is tracking of just Interest-Data packets (i.e., without retransmission delays) within RTT estimator variable (Ptr m_rtt) and in timeout container (SeqTimeoutsContainer m_seqTimeouts). >>>>>>>>>> >>>>>>>>>> If you want/need the other delay, including all retransmission timeouts, then it should be straightforward to implement, for example, using SeqTimeoutsContainer structure (similarly how m_seqLifetimes in ndn::Consumer). >>>>>>>>>> >>>>>>>>>> I think, and would do it when I can get time for that, it is a good idea to export both delay parameters as a trace sources in ndn::Consumer class, as well as write a simple metric helper. >>>>>>>>>> >>>>>>>>>> --- >>>>>>>>>> Alex >>>>>>>>>> >>>>>>>>>> On Jan 16, 2013, at 5:36 AM, Xiaoke Jiang wrote: >>>>>>>>>> >>>>>>>>>>> Hi All, >>>>>>>>>>> How to trace the latency of request, duration from sending the Interest to receiving corresponding Data. >>>>>>>>>>> >>>>>>>>>>> Is there anyone can give some hint? Thank you in advance. >>>>>>>>>>> >>>>>>>>>>> thanks >>>>>>>>>>> >>>>>>>>>>> My Regards, >>>>>>>>>>> Xiaoke Jiang ????? >>>>>>>>>>> >>>>>>>>>>> Ph.D Candidate, >>>>>>>>>>> Dept. of Computer Science and Technology, >>>>>>>>>>> Tsinghua University, P. R. China -------------- next part -------------- An HTML attachment was scrubbed... URL: From shock.jiang at gmail.com Tue Jan 22 02:36:32 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Tue, 22 Jan 2013 18:36:32 +0800 Subject: [ndnSIM] install ndnSIM on CentOS Message-ID: Hi all, I have a CentOS host which is pretty powerful and much faster than my Macbook Air. So I tried to write script on my mac and simulate on the CentOS. But the ndnSIM mainpage gives no hint on that, Does anyone have the experience? thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China -------------- next part -------------- An HTML attachment was scrubbed... URL: From shock.jiang at gmail.com Tue Jan 22 07:51:42 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Tue, 22 Jan 2013 23:51:42 +0800 Subject: [ndnSIM] install ndnSIM on CentOS In-Reply-To: References: Message-ID: As nobody answers, so I will give my experience today. 1. install ns-3 here is the official instructions: http://www.nsnam.org/wiki/index.php/Installation 2. install ndnSIM the hardest step is to install boost, here: download and unzip boost from here: http://www.linuxidc.com/Linux/2012-01/51941.htm go boost homedir ./bootstrap.sh then ./b2 --toolset=gcc stage debug threading=multi link=shared then sudo ./b2 release install It seems that I installed boost successfully, but how to configure ns-3 with this boost but not default boost. I stop here. thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China On Jan 22, 2013, at 6:36 PM, Xiaoke Jiang wrote: > Hi all, > I have a CentOS host which is pretty powerful and much faster than my Macbook Air. So I tried to write script on my mac and simulate on the CentOS. But the ndnSIM mainpage gives no hint on that, Does anyone have the experience? > > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Tue Jan 22 08:01:57 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Tue, 22 Jan 2013 08:01:57 -0800 Subject: [ndnSIM] install ndnSIM on CentOS In-Reply-To: References: Message-ID: <4CD74F85-DB88-4487-87DD-2842481B87EB@ucla.edu> On Jan 22, 2013, at 7:51 AM, Xiaoke Jiang wrote: > As nobody answers, so I will give my experience today. > > > 1. install ns-3 > here is the official instructions: http://www.nsnam.org/wiki/index.php/Installation > > 2. install ndnSIM > the hardest step is to install boost, here: > download and unzip boost from here: http://www.linuxidc.com/Linux/2012-01/51941.htm > go boost homedir > ./bootstrap.sh > then ./b2 --toolset=gcc stage debug threading=multi link=shared > then sudo ./b2 release install > > It seems that I installed boost successfully, but how to configure ns-3 with this boost but not default boost. > I stop here. Hi Xiaoke, You can check these instructions http://ndnsim.net/faq.html#boost-libraries I put there an example of how to configure and use boost from non system path. > thanks > > My Regards, > Xiaoke Jiang ????? > > Ph.D Candidate, > Dept. of Computer Science and Technology, > Tsinghua University, P. R. China > > On Jan 22, 2013, at 6:36 PM, Xiaoke Jiang wrote: > >> Hi all, >> I have a CentOS host which is pretty powerful and much faster than my Macbook Air. So I tried to write script on my mac and simulate on the CentOS. But the ndnSIM mainpage gives no hint on that, Does anyone have the experience? >> >> thanks >> >> My Regards, >> Xiaoke Jiang ????? >> >> Ph.D Candidate, >> Dept. of Computer Science and Technology, >> Tsinghua University, P. R. China > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From shock.jiang at gmail.com Tue Jan 22 17:50:00 2013 From: shock.jiang at gmail.com (Xiaoke Jiang) Date: Wed, 23 Jan 2013 09:50:00 +0800 Subject: [ndnSIM] install ndnSIM on CentOS In-Reply-To: <4CD74F85-DB88-4487-87DD-2842481B87EB@ucla.edu> References: <4CD74F85-DB88-4487-87DD-2842481B87EB@ucla.edu> Message-ID: <847B33AA-A41C-4ED9-95F3-4494C1102662@gmail.com> Thant you Alex, my ndnSIM on CentOS works now! very fast! thanks My Regards, Xiaoke Jiang ????? Ph.D Candidate, Dept. of Computer Science and Technology, Tsinghua University, P. R. China On Jan 23, 2013, at 12:01 AM, Alex Afanasyev wrote: > > On Jan 22, 2013, at 7:51 AM, Xiaoke Jiang wrote: > >> As nobody answers, so I will give my experience today. >> >> >> 1. install ns-3 >> here is the official instructions: http://www.nsnam.org/wiki/index.php/Installation >> >> 2. install ndnSIM >> the hardest step is to install boost, here: >> download and unzip boost from here: http://www.linuxidc.com/Linux/2012-01/51941.htm >> go boost homedir >> ./bootstrap.sh >> then ./b2 --toolset=gcc stage debug threading=multi link=shared >> then sudo ./b2 release install >> >> It seems that I installed boost successfully, but how to configure ns-3 with this boost but not default boost. >> I stop here. > > Hi Xiaoke, > > You can check these instructions http://ndnsim.net/faq.html#boost-libraries > I put there an example of how to configure and use boost from non system path. > > >> thanks >> >> My Regards, >> Xiaoke Jiang ????? >> >> Ph.D Candidate, >> Dept. of Computer Science and Technology, >> Tsinghua University, P. R. China >> >> On Jan 22, 2013, at 6:36 PM, Xiaoke Jiang wrote: >> >>> Hi all, >>> I have a CentOS host which is pretty powerful and much faster than my Macbook Air. So I tried to write script on my mac and simulate on the CentOS. But the ndnSIM mainpage gives no hint on that, Does anyone have the experience? >>> >>> thanks >>> >>> My Regards, >>> Xiaoke Jiang ????? >>> >>> Ph.D Candidate, >>> Dept. of Computer Science and Technology, >>> Tsinghua University, P. R. China >>> >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: From xhbreezehu at gmail.com Tue Jan 22 19:48:01 2013 From: xhbreezehu at gmail.com (Xiao yan Hu) Date: Wed, 23 Jan 2013 11:48:01 +0800 Subject: [ndnSIM] How to use RocketfuelWeightsReader Message-ID: Hi guys, Do U have any experience using RocketfuelWeightsReader in ndnSIM? I tried in the following way? snip from my code: 57 RocketfuelWeightsReader topologyReader ("", 25); 58 topologyReader.SetFileName ("/home/me/works/ndnSIM/ns-3/scratch/edges.lat"); 59 topologyReader.SetFileType (3); 60 topologyReader.Read (); But I got the following error: msg="Topology file /home/me/works/ndnSIM/ns-3/scratch/edges.lat does not have "router" section", file=../src/ndnSIM/plugins/topology/annotated-topology-reader.cc, line=160 terminate called without an active exception Any suggestions? Thanks in advance! Best Regards, Xiaoyan -------------- next part -------------- An HTML attachment was scrubbed... URL: From xhbreezehu at gmail.com Tue Jan 22 23:08:06 2013 From: xhbreezehu at gmail.com (Xiao yan Hu) Date: Wed, 23 Jan 2013 15:08:06 +0800 Subject: [ndnSIM] How to use RocketfuelWeightsReader In-Reply-To: References: Message-ID: Hi, I just found that it is my fault and "topologyReader.SetFileType (3);" should be "topologyReader.SetFileType (2);". Sorry for the disturbance. Thanks, Xiaoyan On Wed, Jan 23, 2013 at 11:48 AM, Xiao yan Hu wrote: > Hi guys, > > Do U have any experience using RocketfuelWeightsReader in ndnSIM? > I tried in the following way? > > snip from my code: > 57 RocketfuelWeightsReader topologyReader ("", 25); > 58 topologyReader.SetFileName > ("/home/me/works/ndnSIM/ns-3/scratch/edges.lat"); > 59 topologyReader.SetFileType (3); > 60 topologyReader.Read (); > > But I got the following error: > msg="Topology file /home/me/works/ndnSIM/ns-3/scratch/edges.lat does not > have "router" section", > file=../src/ndnSIM/plugins/topology/annotated-topology-reader.cc, line=160 > terminate called without an active exception > > > Any suggestions? > Thanks in advance! > > Best Regards, > Xiaoyan > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Thu Jan 24 13:28:20 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Thu, 24 Jan 2013 13:28:20 -0800 Subject: [ndnSIM] New cache replacement policy: least frequently used Message-ID: <44533AC0-C211-4EC0-A1AA-C0E1926422A8@ucla.edu> Hi everybody, I have one announcement and one question. First, I want to announce that there is now an experimental implementation of least-frequently-used (LFU) replacement policy for packet buffers/content stores. You can enable and configure it the same way as other policies (http://ndnsim.net/cs.html): ... ndnHelper.SetContentStore ("ns3::ndn::cs::Lfu", "MaxSize", "10000"); // or ndnHelper.SetContentStore ("ns3::ndn::cs::Stats::Lfu", "MaxSize", "10000"); // or ndnHelper.SetContentStore ("ns3::ndn::cs::Freshness::Lfu", "MaxSize", "10000"); The question I have is that which other cache replacement policies you would like to see in ndnSIM? Sincerely, Alex Afanasyev --- Internet Research Laboratory University of California, Los Angeles http://lasr.cs.ucla.edu/afanasyev/index.html From ywang15 at ncsu.edu Fri Jan 25 08:00:41 2013 From: ywang15 at ncsu.edu (Yaogong Wang) Date: Fri, 25 Jan 2013 11:00:41 -0500 Subject: [ndnSIM] forwarding strategies with interest limits Message-ID: Hi everyone, I'm trying out the forwarding strategies with interest limits in ndnSIM. I've gone through the documentation but am still a bit lost. Basically, I want to experiment with the scenario where we have 1) per-interface limits, 2) per-interface-FIB limits, 3) NACK and 4) ConsumerWindow as described in NDN-0002 technical report "A Case for Stateful Forwarding Plane". Is there a sample simulation script that I can follow? Thanks, Yaogong -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Thu Jan 31 00:53:17 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Thu, 31 Jan 2013 00:53:17 -0800 Subject: [ndnSIM] forwarding strategies with interest limits In-Reply-To: References: Message-ID: <819259C7-F701-46F8-9508-019AC85197E6@ucla.edu> Hi Yaogong, I have put up a sample simulation that replicates a subset of results from the paper. I will try to convert other results as well, but it will take more time. You can (everybody else are also very welcome to) check out the code and some ndnSIM extensions from github: https://github.com/cawka/ndnSIM-comcom-stateful-fw, and start playing with your simulations. Sincerely, Alex On Jan 25, 2013, at 8:00 AM, Yaogong Wang wrote: > Hi everyone, > > I'm trying out the forwarding strategies with interest limits in ndnSIM. I've gone through the documentation but am still a bit lost. Basically, I want to experiment with the scenario where we have 1) per-interface limits, 2) per-interface-FIB limits, 3) NACK and 4) ConsumerWindow as described in NDN-0002 technical report "A Case for Stateful Forwarding Plane". Is there a sample simulation script that I can follow? > > Thanks, > Yaogong -------------- next part -------------- An HTML attachment was scrubbed... URL: From ywang15 at ncsu.edu Thu Jan 31 11:05:09 2013 From: ywang15 at ncsu.edu (Yaogong Wang) Date: Thu, 31 Jan 2013 14:05:09 -0500 Subject: [ndnSIM] forwarding strategies with interest limits In-Reply-To: <819259C7-F701-46F8-9508-019AC85197E6@ucla.edu> References: <819259C7-F701-46F8-9508-019AC85197E6@ucla.edu> Message-ID: Thank you, Alex! I'll try them out. Regards, Yaogong On Thu, Jan 31, 2013 at 3:53 AM, Alex Afanasyev < alexander.afanasyev at ucla.edu> wrote: > Hi Yaogong, > > I have put up a sample simulation that replicates a subset of results from > the paper. I will try to convert other results as well, but it will take > more time. > > You can (everybody else are also very welcome to) check out the code and > some ndnSIM extensions from github: > https://github.com/cawka/ndnSIM-comcom-stateful-fw, and start playing > with your simulations. > > Sincerely, > Alex > > On Jan 25, 2013, at 8:00 AM, Yaogong Wang wrote: > > Hi everyone, > > I'm trying out the forwarding strategies with interest limits in ndnSIM. > I've gone through the documentation but am still a bit lost. Basically, I > want to experiment with the scenario where we have 1) per-interface limits, > 2) per-interface-FIB limits, 3) NACK and 4) ConsumerWindow as described in > NDN-0002 technical report "A Case for Stateful Forwarding Plane". Is there > a sample simulation script that I can follow? > > Thanks, > Yaogong > > > > -- ============================ Yaogong Wang, PhD Candidate Department of Computer Science North Carolina State University http://www4.ncsu.edu/~ywang15/ ============================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Thu Jan 31 18:51:19 2013 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Thu, 31 Jan 2013 18:51:19 -0800 Subject: [ndnSIM] forwarding strategies with interest limits In-Reply-To: References: <819259C7-F701-46F8-9508-019AC85197E6@ucla.edu> Message-ID: <96AF0144-1B9A-4F1D-A040-56E2EEFE457D@ucla.edu> Hi Yaogong, Just to let you know. I have fixed a number of NACK-related bugs in ndnSIM and also ported another scenario, and all relevant processing and graph building scripts. Now results are more or less the same as presented in the paper. And one more clarification. While it is possible to experiment with per-interface-per-FIB-entry limits, for the paper we didn't not go that far, as well as this feature in ndnSIM is not yet thoroughly tested (you're welcome to try :)) --- Alex On Jan 31, 2013, at 11:05 AM, Yaogong Wang wrote: > Thank you, Alex! I'll try them out. > > Regards, > Yaogong > > On Thu, Jan 31, 2013 at 3:53 AM, Alex Afanasyev wrote: > Hi Yaogong, > > I have put up a sample simulation that replicates a subset of results from the paper. I will try to convert other results as well, but it will take more time. > > You can (everybody else are also very welcome to) check out the code and some ndnSIM extensions from github: https://github.com/cawka/ndnSIM-comcom-stateful-fw, and start playing with your simulations. > > Sincerely, > Alex > > On Jan 25, 2013, at 8:00 AM, Yaogong Wang wrote: > >> Hi everyone, >> >> I'm trying out the forwarding strategies with interest limits in ndnSIM. I've gone through the documentation but am still a bit lost. Basically, I want to experiment with the scenario where we have 1) per-interface limits, 2) per-interface-FIB limits, 3) NACK and 4) ConsumerWindow as described in NDN-0002 technical report "A Case for Stateful Forwarding Plane". Is there a sample simulation script that I can follow? >> >> Thanks, >> Yaogong > > > -- > ============================ > Yaogong Wang, PhD Candidate > Department of Computer Science > North Carolina State University > http://www4.ncsu.edu/~ywang15/ > ============================ -------------- next part -------------- An HTML attachment was scrubbed... URL: