From velasco.lopez at gmail.com Thu Sep 3 15:27:56 2015 From: velasco.lopez at gmail.com (Jose Velasco) Date: Fri, 4 Sep 2015 00:27:56 +0200 Subject: [ndnSIM] Error building ns-3 (ndn) Message-ID: Hello, I have tried to build ns-3, but I obtain an error: When I run: ./waf configure --enable-examples the output is: sf:~/ndnSIM/ns-3# ./waf configure --enable-examples Traceback (most recent call last): File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 108, in waf_entry_point run_commands() File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 165, in run_commands parse_options() File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 138, in parse_options Context.create_context('options').execute() File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Options.py", line 146, in execute super(OptionsContext,self).execute() File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 92, in execute self.recurse([os.path.dirname(g_module.root_path)]) File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse user_function(self) File "/root/ndnSIM/ns-3/wscript", line 213, in options opt.recurse('src') File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse user_function(self) File "/root/ndnSIM/ns-3/src/wscript", line 48, in options opt.recurse(module, mandatory=False) File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse user_function(self) File "/root/ndnSIM/ns-3/src/ndnSIM/wscript", line 18, in options tooldir=['%s/ndn-cxx/.waf-tools' % opt.path.abspath()]) File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 86, in load module=load_tool(t,path) File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 342, in load_tool __import__(tool) ImportError: No module named doxygen ---------------------------------- I have successfully built (ndn-cxx and NFD). The distro is Debian Jessie (8.1). any suggestion? thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andreysilva.eng at gmail.com Thu Sep 3 15:53:59 2015 From: andreysilva.eng at gmail.com (Andrey Silva) Date: Thu, 3 Sep 2015 19:53:59 -0300 Subject: [ndnSIM] Error building ns-3 (ndn) In-Reply-To: References: Message-ID: Hello, I had the same error. It is happening because the folders ndn-cxx and NFD are empty. Here is what i did: Istead of git clone https://github.com/named-data/ndnSIM.git ns-3/src/ndnSIM Do it git clone --recursive https://github.com/named-data/ndnSIM.git ns-3/src/ndnSIM It worked for me. Regards, Andrey. 2015-09-03 19:27 GMT-03:00 Jose Velasco : > Hello, > > I have tried to build ns-3, but I obtain an error: > > When I run: > > ./waf configure --enable-examples > > the output is: > > sf:~/ndnSIM/ns-3# ./waf configure --enable-examples > Traceback (most recent call last): > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", > line 108, in waf_entry_point > run_commands() > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", > line 165, in run_commands > parse_options() > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", > line 138, in parse_options > Context.create_context('options').execute() > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Options.py", > line 146, in execute > super(OptionsContext,self).execute() > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 92, in execute > self.recurse([os.path.dirname(g_module.root_path)]) > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 133, in recurse > user_function(self) > File "/root/ndnSIM/ns-3/wscript", line 213, in options > opt.recurse('src') > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 133, in recurse > user_function(self) > File "/root/ndnSIM/ns-3/src/wscript", line 48, in options > opt.recurse(module, mandatory=False) > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 133, in recurse > user_function(self) > File "/root/ndnSIM/ns-3/src/ndnSIM/wscript", line 18, in options > tooldir=['%s/ndn-cxx/.waf-tools' % opt.path.abspath()]) > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 86, in load > module=load_tool(t,path) > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 342, in load_tool > __import__(tool) > ImportError: No module named doxygen > > ---------------------------------- > > I have successfully built (ndn-cxx and NFD). The distro is Debian Jessie > (8.1). > > any suggestion? > > thanks in advance. > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -- Andrey Silva Engenheiro da Computa??o - Universidade Federal do Par? Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . - http://laps.ufpa.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From spiros.mastorakis at gmail.com Thu Sep 3 16:02:15 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Thu, 3 Sep 2015 16:02:15 -0700 Subject: [ndnSIM] Error building ns-3 (ndn) In-Reply-To: References: Message-ID: <2B46BB00-F89D-471A-9B4A-3020D23C98C7@gmail.com> Hi guys, we are currently working actively on a new release of ndnSIM. The documentation on our website will be updated and the release would be made very soon. Thank you. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 3, 2015, at 3:53 PM, Andrey Silva wrote: > > Hello, > > I had the same error. It is happening because the folders ndn-cxx and NFD are empty. > > Here is what i did: > > Istead of > git clone https://github.com/named-data/ndnSIM.git > ns-3/src/ndnSIM > > Do it > git clone --recursive https://github.com/named-data/ndnSIM.git ns-3/src/ndnSIM > It worked for me. > > Regards, > Andrey. > > > 2015-09-03 19:27 GMT-03:00 Jose Velasco : > Hello, > > I have tried to build ns-3, but I obtain an error: > > When I run: > > ./waf configure --enable-examples > > the output is: > > sf:~/ndnSIM/ns-3# ./waf configure --enable-examples > Traceback (most recent call last): > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 108, in waf_entry_point > run_commands() > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 165, in run_commands > parse_options() > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 138, in parse_options > Context.create_context('options').execute() > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Options.py", line 146, in execute > super(OptionsContext,self).execute() > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 92, in execute > self.recurse([os.path.dirname(g_module.root_path)]) > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse > user_function(self) > File "/root/ndnSIM/ns-3/wscript", line 213, in options > opt.recurse('src') > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse > user_function(self) > File "/root/ndnSIM/ns-3/src/wscript", line 48, in options > opt.recurse(module, mandatory=False) > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse > user_function(self) > File "/root/ndnSIM/ns-3/src/ndnSIM/wscript", line 18, in options > tooldir=['%s/ndn-cxx/.waf-tools' % opt.path.abspath()]) > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 86, in load > module=load_tool(t,path) > File "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 342, in load_tool > __import__(tool) > ImportError: No module named doxygen > > ---------------------------------- > > I have successfully built (ndn-cxx and NFD). The distro is Debian Jessie (8.1). > > any suggestion? > > thanks in advance. > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > > -- > Andrey Silva > > Engenheiro da Computa??o - Universidade Federal do Par? > Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . > - > http://laps.ufpa.br/ > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From andreysilva.eng at gmail.com Thu Sep 3 16:11:59 2015 From: andreysilva.eng at gmail.com (Andrey Silva) Date: Thu, 3 Sep 2015 20:11:59 -0300 Subject: [ndnSIM] Error building ns-3 (ndn) In-Reply-To: <2B46BB00-F89D-471A-9B4A-3020D23C98C7@gmail.com> References: <2B46BB00-F89D-471A-9B4A-3020D23C98C7@gmail.com> Message-ID: Thank you Spyridon, this will help very much. Regards, Andrey. 2015-09-03 20:02 GMT-03:00 Spyridon (Spyros) Mastorakis < spiros.mastorakis at gmail.com>: > Hi guys, > > we are currently working actively on a new release of ndnSIM. The > documentation on our website will be updated and the release would be made > very soon. > > Thank you. > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > > > > On Sep 3, 2015, at 3:53 PM, Andrey Silva > wrote: > > > > Hello, > > > > I had the same error. It is happening because the folders ndn-cxx and > NFD are empty. > > > > Here is what i did: > > > > Istead of > > git clone https://github.com/named-data/ndnSIM.git > > ns-3/src/ndnSIM > > > > Do it > > git clone --recursive https://github.com/named-data/ndnSIM.git > ns-3/src/ndnSIM > > It worked for me. > > > > Regards, > > Andrey. > > > > > > 2015-09-03 19:27 GMT-03:00 Jose Velasco : > > Hello, > > > > I have tried to build ns-3, but I obtain an error: > > > > When I run: > > > > ./waf configure --enable-examples > > > > the output is: > > > > sf:~/ndnSIM/ns-3# ./waf configure --enable-examples > > Traceback (most recent call last): > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", > line 108, in waf_entry_point > > run_commands() > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", > line 165, in run_commands > > parse_options() > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", > line 138, in parse_options > > Context.create_context('options').execute() > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Options.py", > line 146, in execute > > super(OptionsContext,self).execute() > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 92, in execute > > self.recurse([os.path.dirname(g_module.root_path)]) > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 133, in recurse > > user_function(self) > > File "/root/ndnSIM/ns-3/wscript", line 213, in options > > opt.recurse('src') > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 133, in recurse > > user_function(self) > > File "/root/ndnSIM/ns-3/src/wscript", line 48, in options > > opt.recurse(module, mandatory=False) > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 133, in recurse > > user_function(self) > > File "/root/ndnSIM/ns-3/src/ndnSIM/wscript", line 18, in options > > tooldir=['%s/ndn-cxx/.waf-tools' % opt.path.abspath()]) > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 86, in load > > module=load_tool(t,path) > > File > "/root/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", > line 342, in load_tool > > __import__(tool) > > ImportError: No module named doxygen > > > > ---------------------------------- > > > > I have successfully built (ndn-cxx and NFD). The distro is Debian Jessie > (8.1). > > > > any suggestion? > > > > thanks in advance. > > > > > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > > > > > > > -- > > Andrey Silva > > > > Engenheiro da Computa??o - Universidade Federal do Par? > > Mestrando em Engenharia El?trica - Laborat?rio de Processamento de > Sinais - Universidade Federal do Par? . > > - > > http://laps.ufpa.br/ > > > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -- Andrey Silva Engenheiro da Computa??o - Universidade Federal do Par? Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . - http://laps.ufpa.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Fri Sep 4 02:03:15 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Fri, 4 Sep 2015 02:03:15 -0700 Subject: [ndnSIM] Forwarding strategy in NDN In-Reply-To: References: Message-ID: Hi Sharvari, Your questions are a little bit open-ended :) A few quick comments: 1) It is up to you to decide how to design data structure. If your strategy needs to remember some state, you should determine which granularity is this state, as there are a few places it can be stored: PIT entry, incoming/outgoing entries of the PIT entry, entry in the Measurements table (for more details, see NFD's Developers Guide). 2) That's for you to decide. If you satisfied with functionality of rtt estimator that comes with NFD codebase, you can reuse it. Or you can implement something different. 3) This depends on how far you want to do this piggy back. In NDN, data packets are signed, so you cannot really modify it. If information is piggybacked only to the next hop, then you will be able to use NDNLP protocol (not yet available). For simulation, you can use NS-3 packet tags for piggybacking any information with the packets. --- Alex > On Aug 31, 2015, at 8:51 AM, Komajwar, Sharvari wrote: > > Hello, > I am very new to this topic.I am working on multipath forwarding strategy in named Data Networking.I need help regarding that.I have following questions: > 1)For my strategy I need one more data structure.How can I design that? > 2)I need RTT estimation for every interest packet in my strategy, How can I do that? Do I need to use rtt-estimator? > 3)How can I piggyback some information with Data? > > Thanks &Regards, > Sharvari Komajwar > Graduate Student, > Department of Computer Science, > The University of Texas at Dallas, > USA > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- 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: From aa at CS.UCLA.EDU Fri Sep 4 02:08:17 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Fri, 4 Sep 2015 02:08:17 -0700 Subject: [ndnSIM] LongestPrefixMatch FIB problem In-Reply-To: References: Message-ID: <1A2A1A8B-4DC2-4C36-A02D-B35F0CC58F9D@cs.ucla.edu> Sorry for the delayed reply. It doesn't look normal. Can you send us a simple scenario that shows the problem? -- Alex > On Aug 18, 2015, at 2:45 PM, Hisham Farahat wrote: > > Hi, > LongestPrefixMatch when used with FIB gives wrong results. (I'm using ndnSIM 1.0.) > > The FIB of a node contains: > ############ > Node > Dest prefix Interfaces(Costs) > +-------------+--------------------------------------+ > /prefix_3 dev=net(0)(1,g,1) > /prefix_3/153 dev=net(1)(1,y,1) > ############# > > The LongestPrefixMatch for interest "/prefix_3/153" is returning the first entry : "/prefix_3 dev=net(0)(1,g,1)" > > Is this normal? > > Regards, -------------- 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: From hishamfarahat at gmail.com Fri Sep 4 05:39:41 2015 From: hishamfarahat at gmail.com (Hisham Farahat) Date: Fri, 4 Sep 2015 08:39:41 -0400 Subject: [ndnSIM] LongestPrefixMatch FIB problem In-Reply-To: <1A2A1A8B-4DC2-4C36-A02D-B35F0CC58F9D@cs.ucla.edu> References: <1A2A1A8B-4DC2-4C36-A02D-B35F0CC58F9D@cs.ucla.edu> Message-ID: Hi Alex, No problem i've managed to solve the problem. I was using a string as the name of the data to lookup the cache, but the original data stored in the cache was named as two components (prefix and Seq). Regards, On Fri, Sep 4, 2015 at 5:08 AM, Alex Afanasyev wrote: > Sorry for the delayed reply. It doesn't look normal. Can you send us a > simple scenario that shows the problem? > > -- > Alex > > > On Aug 18, 2015, at 2:45 PM, Hisham Farahat > wrote: > > > > Hi, > > LongestPrefixMatch when used with FIB gives wrong results. (I'm using > ndnSIM 1.0.) > > > > The FIB of a node contains: > > ############ > > Node > > Dest prefix Interfaces(Costs) > > +-------------+--------------------------------------+ > > /prefix_3 dev=net(0)(1,g,1) > > /prefix_3/153 dev=net(1)(1,y,1) > > ############# > > > > The LongestPrefixMatch for interest "/prefix_3/153" is returning the > first entry : "/prefix_3 dev=net(0)(1,g,1)" > > > > Is this normal? > > > > Regards, > > -- Hisham Farahat -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Fri Sep 4 11:34:18 2015 From: mastorakis at CS.UCLA.EDU (Spyridon Mastorakis) Date: Fri, 4 Sep 2015 11:34:18 -0700 Subject: [ndnSIM] ndnSIM 2.1 released Message-ID: Dear all, We are pleased to announce release of ndnSIM version 2.1 (http://ndnsim.net/2.1/), a new release of the NDN simulator. In addition to multiple other improvements and updates, the new version includes a major new feature: ndnSIM-specific implementation of Face abstraction from ndn-cxx library. As a direct result of this new feature: - we have enabled support for NFD's RIB manager, and - it is now possible to use codebases of the existing applications to drive simulations (see http://ndnsim.net/2.1/guide-to-simulate-real-apps.html). For more details about the release, refer to http://ndnsim.net/2.1/RELEASE_NOTES.html Source code, instruction how to install how to compile ndnSIM, tutorials, FAQs, and other useful resources are available on official ndnSIM website: http://ndnsim.net/. * * * The latest version of the ndnSIM technical report: http://named-data.net/publications/techreports/ndn-0028-1-ndnsim-v2/ * * * The ndnSIM Team: Alexander Afanasyev, Spyridon (Spyros) Mastorakis, and others (http://ndnsim.net/2.1/meta/authors.html) From tanzil.eee at gmail.com Fri Sep 4 16:46:22 2015 From: tanzil.eee at gmail.com (Shahrear Tanzil) Date: Fri, 4 Sep 2015 16:46:22 -0700 Subject: [ndnSIM] calculating cache hit ratio Message-ID: Hi, I am a new user of ndnSIM. I would like to compare cache hit ratio for different cache replacement policies for variable cache size. Can you please let me know how to calculate cache hit ratio using CsTracer (following examples ndn-tree-cs-tracers and ndn-simple-with-different-sizes-content-store). Thank you in advanced. -- Kind Regards, S.M. Shahrear Tanzil Graduate Research Assistant University of British Columbia -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Fri Sep 4 17:13:34 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Fri, 4 Sep 2015 17:13:34 -0700 Subject: [ndnSIM] calculating cache hit ratio In-Reply-To: References: Message-ID: <7CE41714-8390-425F-94A1-F9B3B63EA726@cs.ucla.edu> Hi, first of all, you need to run an example that uses the CsTracer. After the execution of such an example, a .txt file would be generated (typically with the name ?cs-trace.txt?). This file contains the number of CacheHits and CacheMisses for each node with respect to the simulation time. To compute the cache hit ratio of your simulation, you need to use the following formula: Cache hit ratio (%) = (Total number of cache hits / (Total number of cache hits + Total number of cache misses)) * 100 -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 4, 2015, at 4:46 PM, Shahrear Tanzil wrote: > > Hi, > > I am a new user of ndnSIM. I would like to compare cache hit ratio for different cache replacement policies for variable cache size. Can you please let me know how to calculate cache hit ratio using CsTracer (following examples ndn-tree-cs-tracers and ndn-simple-with-different-sizes-content-store). > > Thank you in advanced. > > -- > > Kind Regards, > S.M. Shahrear Tanzil > Graduate Research Assistant > University of British Columbia From rihab.jmal1 at gmail.com Mon Sep 7 10:19:26 2015 From: rihab.jmal1 at gmail.com (rihab jmal) Date: Mon, 7 Sep 2015 18:19:26 +0100 Subject: [ndnSIM] openflow execution under ndnSIM module Message-ID: Hi, I'm trying to use openflow-switch example under a new helper located in ndnSIM module, my problem is the following errors related to openflow module: /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-interface.h:83:0: warning: "OFP_SUPPORTED_CAPABILITIES" redefined [enabled by default] #define OFP_SUPPORTED_CAPABILITIES ( OFPC_FLOW_STATS \ /home/rihab/openflow/datapath/datapath.h:20:0: note: this is the location of the previous definition #define OFP_SUPPORTED_CAPABILITIES ( OFPC_FLOW_STATS \ /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-interface.h:90:0: warning: "OFP_SUPPORTED_ACTIONS" redefined [enabled by default] #define OFP_SUPPORTED_ACTIONS ( (1 << OFPAT_OUTPUT) \ /home/rihab/openflow/datapath/datapath.h:25:0: note: this is the location of the previous definition #define OFP_SUPPORTED_ACTIONS ( (1 << OFPAT_OUTPUT) \ /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-switch-net-device.h:546:3: error: ?vport_table_t? does not name a type vport_table_t m_vportTable; ///< Virtual Port Table /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-switch-net-device.h:393:45: error: use of enum ?ofp_flow_expired_reason? without previous declaration void SendFlowExpired (sw_flow *flow, enum ofp_flow_expired_reason reason); Please help me. Best Regards, Rihab -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Tue Sep 8 10:55:32 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Tue, 8 Sep 2015 10:55:32 -0700 Subject: [ndnSIM] openflow execution under ndnSIM module In-Reply-To: References: Message-ID: Hi, I think that you should modify the wscript of ndnSIM, so that to include the desired module and also export the desired header files. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 7, 2015, at 10:19 AM, rihab jmal wrote: > > Hi, > I'm trying to use openflow-switch example under a new helper located in ndnSIM module, my problem is the following errors related to openflow module: > /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-interface.h:83:0: warning: "OFP_SUPPORTED_CAPABILITIES" redefined [enabled by default] > #define OFP_SUPPORTED_CAPABILITIES ( OFPC_FLOW_STATS \ > > /home/rihab/openflow/datapath/datapath.h:20:0: note: this is the location of the previous definition > #define OFP_SUPPORTED_CAPABILITIES ( OFPC_FLOW_STATS \ > > /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-interface.h:90:0: warning: "OFP_SUPPORTED_ACTIONS" redefined [enabled by default] > #define OFP_SUPPORTED_ACTIONS ( (1 << OFPAT_OUTPUT) \ > > /home/rihab/openflow/datapath/datapath.h:25:0: note: this is the location of the previous definition > #define OFP_SUPPORTED_ACTIONS ( (1 << OFPAT_OUTPUT) \ > > /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-switch-net-device.h:546:3: error: ?vport_table_t? does not name a type > vport_table_t m_vportTable; ///< Virtual Port Table > /home/rihab/ndnSIM/ns-3/src/openflow/model/openflow-switch-net-device.h:393:45: > error: use of enum ?ofp_flow_expired_reason? without previous declaration > void SendFlowExpired (sw_flow *flow, enum ofp_flow_expired_reason reason); > Please help me. > > Best Regards, > Rihab > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From marco.ulgelmo at aol.com Thu Sep 10 01:04:45 2015 From: marco.ulgelmo at aol.com (Marco Ulgelmo) Date: Thu, 10 Sep 2015 10:04:45 +0200 Subject: [ndnSIM] Parameters in FS at execution time Message-ID: <0F01D885-7925-4236-88F9-20A88DAAE403@aol.com> Good morning, i?d like to know if it is possible to set parameters in a custom Forwarding Strategy class using the script to launch the simulation or in some other way, so that i don?t need to recompile the source every time. If it?s possible I?d also like to know how to do it. Thanks in advance, Marco Ulgelmo From andreysilva.eng at gmail.com Thu Sep 10 10:40:53 2015 From: andreysilva.eng at gmail.com (Andrey Silva) Date: Thu, 10 Sep 2015 14:40:53 -0300 Subject: [ndnSIM] Error in boost lib when executing template-based simulation Message-ID: Hello all, I'm trying to execute the waf command in this template > http://github.com/cawka/ndnSIM-examples, however when i executed the command -> ./waf configure inside this folder, I received the follow error: Checking boost libs : lib system not found in /lib64 OBS: I have successfully install the ndnSIM following the steps found in http://ndnsim.net/2.0/getting-started.html. So, what's wrong? Thanks in advance! -- Andrey Silva Engenheiro da Computa??o - Universidade Federal do Par? Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . - http://laps.ufpa.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Sep 10 10:48:56 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 10 Sep 2015 10:48:56 -0700 Subject: [ndnSIM] Error in boost lib when executing template-based simulation In-Reply-To: References: Message-ID: <3E200FB7-594E-44BF-ADFD-012E14044949@cs.ucla.edu> Hi Andrey, I took a quick look at this repo and, more or less, it includes the examples that are currently under the ?/examples? folder of ndnSIM. As a matter of fact, I do not really see the point of running the examples of this repo instead of just running the examples included in ndnSIM in the way described online. Please let me know if you need anything else. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 10, 2015, at 10:40 AM, Andrey Silva wrote: > > Hello all, > > I'm trying to execute the waf command in this template > http://github.com/cawka/ndnSIM-examples, however when i executed the command -> ./waf configure inside this folder, I received the follow error: > > Checking boost libs : lib system not found in /lib64 > > OBS: I have successfully install the ndnSIM following the steps found in http://ndnsim.net/2.0/getting-started.html. > > So, what's wrong? > > Thanks in advance! > > -- > Andrey Silva > > Engenheiro da Computa??o - Universidade Federal do Par? > Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . > - > http://laps.ufpa.br/ > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From mastorakis at CS.UCLA.EDU Thu Sep 10 10:53:25 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 10 Sep 2015 10:53:25 -0700 Subject: [ndnSIM] Parameters in FS at execution time In-Reply-To: <0F01D885-7925-4236-88F9-20A88DAAE403@aol.com> References: <0F01D885-7925-4236-88F9-20A88DAAE403@aol.com> Message-ID: Hi Marco, to the best of my knowledge, NS3 does not allow you to do so. The concept is that you will create your simulation examples defining the parameters of your simulation, compile them and run them. Probably Alex may know more things about it. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 10, 2015, at 1:04 AM, Marco Ulgelmo wrote: > > Good morning, > > i?d like to know if it is possible to set parameters in a custom Forwarding Strategy class using the script to launch the simulation or in some other way, so that i don?t need to recompile the source every time. If it?s possible I?d also like to know how to do it. > > Thanks in advance, > Marco Ulgelmo From andreysilva.eng at gmail.com Thu Sep 10 10:54:52 2015 From: andreysilva.eng at gmail.com (Andrey Silva) Date: Thu, 10 Sep 2015 14:54:52 -0300 Subject: [ndnSIM] Error in boost lib when executing template-based simulation In-Reply-To: <3E200FB7-594E-44BF-ADFD-012E14044949@cs.ucla.edu> References: <3E200FB7-594E-44BF-ADFD-012E14044949@cs.ucla.edu> Message-ID: Thank you for your response Spyridon! Sorry, I pasted the wrong link. I want to compile this example -> https://github.com/cawka/ndnSIM-comcom-stateful-fw. My bad, =( Thank you for your time! 2015-09-10 14:48 GMT-03:00 Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu>: > Hi Andrey, > > I took a quick look at this repo and, more or less, it includes the > examples that are currently under the ?/examples? folder of ndnSIM. > > As a matter of fact, I do not really see the point of running the examples > of this repo instead of just running the examples included in ndnSIM in the > way described online. > > Please let me know if you need anything else. > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > > > > > On Sep 10, 2015, at 10:40 AM, Andrey Silva > wrote: > > > > Hello all, > > > > I'm trying to execute the waf command in this template > > http://github.com/cawka/ndnSIM-examples, however when i executed the > command -> ./waf configure inside this folder, I received the follow error: > > > > Checking boost libs : lib system not found in /lib64 > > > > OBS: I have successfully install the ndnSIM following the steps found in > http://ndnsim.net/2.0/getting-started.html. > > > > So, what's wrong? > > > > Thanks in advance! > > > > -- > > Andrey Silva > > > > Engenheiro da Computa??o - Universidade Federal do Par? > > Mestrando em Engenharia El?trica - Laborat?rio de Processamento de > Sinais - Universidade Federal do Par? . > > - > > http://laps.ufpa.br/ > > > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -- Andrey Silva Engenheiro da Computa??o - Universidade Federal do Par? Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . - http://laps.ufpa.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Sep 10 10:57:56 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 10 Sep 2015 10:57:56 -0700 Subject: [ndnSIM] Error in boost lib when executing template-based simulation In-Reply-To: References: <3E200FB7-594E-44BF-ADFD-012E14044949@cs.ucla.edu> Message-ID: <5F1CFF46-C689-4F9C-BC5D-3C591C759B46@cs.ucla.edu> These examples should be compatible with a very old version of ndnSIM, which is not available anymore. For sure, you need to modify the code in order to run them. I do not know how major this modification should be though. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 10, 2015, at 10:54 AM, Andrey Silva wrote: > > Thank you for your response Spyridon! > > Sorry, I pasted the wrong link. I want to compile this example -> https://github.com/cawka/ndnSIM-comcom-stateful-fw. > > My bad, =( > > Thank you for your time! > > 2015-09-10 14:48 GMT-03:00 Spyridon (Spyros) Mastorakis : > Hi Andrey, > > I took a quick look at this repo and, more or less, it includes the examples that are currently under the ?/examples? folder of ndnSIM. > > As a matter of fact, I do not really see the point of running the examples of this repo instead of just running the examples included in ndnSIM in the way described online. > > Please let me know if you need anything else. > > > > On Sep 10, 2015, at 10:40 AM, Andrey Silva wrote: > > > > Hello all, > > > > I'm trying to execute the waf command in this template > http://github.com/cawka/ndnSIM-examples, however when i executed the command -> ./waf configure inside this folder, I received the follow error: > > > > Checking boost libs : lib system not found in /lib64 > > > > OBS: I have successfully install the ndnSIM following the steps found in http://ndnsim.net/2.0/getting-started.html. > > > > So, what's wrong? > > > > Thanks in advance! > > > > -- > > Andrey Silva > > > > Engenheiro da Computa??o - Universidade Federal do Par? > > Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . > > - > > http://laps.ufpa.br/ > > > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > > -- > Andrey Silva > > Engenheiro da Computa??o - Universidade Federal do Par? > Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . > - > http://laps.ufpa.br/ > From andreysilva.eng at gmail.com Thu Sep 10 11:04:53 2015 From: andreysilva.eng at gmail.com (Andrey Silva) Date: Thu, 10 Sep 2015 15:04:53 -0300 Subject: [ndnSIM] Error in boost lib when executing template-based simulation In-Reply-To: <5F1CFF46-C689-4F9C-BC5D-3C591C759B46@cs.ucla.edu> References: <3E200FB7-594E-44BF-ADFD-012E14044949@cs.ucla.edu> <5F1CFF46-C689-4F9C-BC5D-3C591C759B46@cs.ucla.edu> Message-ID: I understood. I will try others examples so... Many Thanks! 2015-09-10 14:57 GMT-03:00 Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu>: > These examples should be compatible with a very old version of ndnSIM, > which is not available anymore. > > For sure, you need to modify the code in order to run them. I do not know > how major this modification should be though. > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > > > > > On Sep 10, 2015, at 10:54 AM, Andrey Silva > wrote: > > > > Thank you for your response Spyridon! > > > > Sorry, I pasted the wrong link. I want to compile this example -> > https://github.com/cawka/ndnSIM-comcom-stateful-fw. > > > > My bad, =( > > > > Thank you for your time! > > > > 2015-09-10 14:48 GMT-03:00 Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu>: > > Hi Andrey, > > > > I took a quick look at this repo and, more or less, it includes the > examples that are currently under the ?/examples? folder of ndnSIM. > > > > As a matter of fact, I do not really see the point of running the > examples of this repo instead of just running the examples included in > ndnSIM in the way described online. > > > > Please let me know if you need anything else. > > > > > > > On Sep 10, 2015, at 10:40 AM, Andrey Silva > wrote: > > > > > > Hello all, > > > > > > I'm trying to execute the waf command in this template > > http://github.com/cawka/ndnSIM-examples, however when i executed the > command -> ./waf configure inside this folder, I received the follow error: > > > > > > Checking boost libs : lib system not found in /lib64 > > > > > > OBS: I have successfully install the ndnSIM following the steps found > in http://ndnsim.net/2.0/getting-started.html. > > > > > > So, what's wrong? > > > > > > Thanks in advance! > > > > > > -- > > > Andrey Silva > > > > > > Engenheiro da Computa??o - Universidade Federal do Par? > > > Mestrando em Engenharia El?trica - Laborat?rio de Processamento de > Sinais - Universidade Federal do Par? . > > > - > > > http://laps.ufpa.br/ > > > > > > _______________________________________________ > > > ndnSIM mailing list > > > ndnSIM at lists.cs.ucla.edu > > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > > > > > > > -- > > Andrey Silva > > > > Engenheiro da Computa??o - Universidade Federal do Par? > > Mestrando em Engenharia El?trica - Laborat?rio de Processamento de > Sinais - Universidade Federal do Par? . > > - > > http://laps.ufpa.br/ > > > > -- Andrey Silva Engenheiro da Computa??o - Universidade Federal do Par? Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . - http://laps.ufpa.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From tanzil.eee at gmail.com Thu Sep 10 11:11:39 2015 From: tanzil.eee at gmail.com (Shahrear Tanzil) Date: Thu, 10 Sep 2015 11:11:39 -0700 Subject: [ndnSIM] calculating cache hit ratio In-Reply-To: References: <7CE41714-8390-425F-94A1-F9B3B63EA726@cs.ucla.edu> Message-ID: Hi Spyridon, Thank you for the reply. I am using "ndn-tree-cs-tracers" example. In this example cache hit ratio=(10/20)*100=50% for the *root *node (.txt file is attached here) for all cache replacement policy e.g., "Lfu", "Lru", and "Fifo". I also change content store maximum size of the root node e.g., "Config::Set("/NodeList/6/$ns3::ndn::ContentStore/MaxSize", UintegerValue(200))" as well as maximum CS sizes of packets e.g., ndnHelper.SetOldContentStore("ns3::ndn::cs::Fifo", "MaxSize","100"). Still I am getting maximum 50% cache hit ratio. I want to increase the cache hit ratio by tweaking parameters. Please help me. Thank you in advanced and apology if I made wrong interpretation. Regards, Tanzil On Wed, Sep 9, 2015 at 11:36 AM, Shahrear Tanzil wrote: > Hi Spyridon, > > Thank you for the reply. > > I am using "ndn-tree-cs-tracers" example. In this example cache hit > ratio=(10/20)*100=50% for the *root *node (.txt file is attached here) > for all cache replacement policy e.g., "Lfu", "Lru", and "Fifo". > > I would link to know, how to increase the cache hit ratio by increasing > content store maximum size i.e., > "Config::Set("/NodeList/6/$ns3::ndn::ContentStore/MaxSize", > UintegerValue(200))" , and for different maximum CS sizes of packets > e.g., ndnHelper.SetOldContentStore("ns3::ndn::cs::Fifo", "MaxSize","100"), > since I am getting same result for different size. > > Thank you in advanced and apology if I made wrong interpretation. > > > On Fri, Sep 4, 2015 at 5:13 PM, Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu> wrote: > >> Hi, >> >> first of all, you need to run an example that uses the CsTracer. After >> the execution of such an example, a .txt file would be generated (typically >> with the name ?cs-trace.txt?). This file contains the number of CacheHits >> and CacheMisses for each node with respect to the simulation time. To >> compute the cache hit ratio of your simulation, you need to use the >> following formula: >> >> Cache hit ratio (%) = (Total number of cache hits / (Total number of >> cache hits + Total number of cache misses)) * 100 >> >> -- >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> PhD Computer Science >> UCLA >> >> > On Sep 4, 2015, at 4:46 PM, Shahrear Tanzil >> wrote: >> > >> > Hi, >> > >> > I am a new user of ndnSIM. I would like to compare cache hit ratio for >> different cache replacement policies for variable cache size. Can you >> please let me know how to calculate cache hit ratio using CsTracer >> (following examples ndn-tree-cs-tracers and >> ndn-simple-with-different-sizes-content-store). >> > >> > Thank you in advanced. >> > >> > -- >> > >> > Kind Regards, >> > S.M. Shahrear Tanzil >> > Graduate Research Assistant >> > University of British Columbia >> > > > > -- > > Kind Regards, > S.M. Shahrear Tanzil > Graduate Research Assistant > University of British Columbia > -- Kind Regards, S.M. Shahrear Tanzil Graduate Research Assistant University of British Columbia -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Time Node Type Packets 1 leaf-1 CacheHits 1 1 leaf-1 CacheMisses 13 1 leaf-2 CacheHits 1 1 leaf-2 CacheMisses 14 1 leaf-3 CacheHits 1 1 leaf-3 CacheMisses 14 1 leaf-4 CacheHits 1 1 leaf-4 CacheMisses 14 1 rtr-1 CacheHits 11 1 rtr-1 CacheMisses 13 1 rtr-2 CacheHits 11 1 rtr-2 CacheMisses 13 1 root CacheHits 10 1 root CacheMisses 13 2 leaf-1 CacheHits 0 2 leaf-1 CacheMisses 10 2 leaf-2 CacheHits 0 2 leaf-2 CacheMisses 10 2 leaf-3 CacheHits 0 2 leaf-3 CacheMisses 10 2 leaf-4 CacheHits 0 2 leaf-4 CacheMisses 10 2 rtr-1 CacheHits 10 2 rtr-1 CacheMisses 10 2 rtr-2 CacheHits 10 2 rtr-2 CacheMisses 10 2 root CacheHits 10 2 root CacheMisses 10 3 leaf-1 CacheHits 0 3 leaf-1 CacheMisses 10 3 leaf-2 CacheHits 0 3 leaf-2 CacheMisses 10 3 leaf-3 CacheHits 0 3 leaf-3 CacheMisses 10 3 leaf-4 CacheHits 0 3 leaf-4 CacheMisses 10 3 rtr-1 CacheHits 10 3 rtr-1 CacheMisses 10 3 rtr-2 CacheHits 10 3 rtr-2 CacheMisses 10 3 root CacheHits 10 3 root CacheMisses 10 4 leaf-1 CacheHits 0 4 leaf-1 CacheMisses 10 4 leaf-2 CacheHits 0 4 leaf-2 CacheMisses 10 4 leaf-3 CacheHits 0 4 leaf-3 CacheMisses 10 4 leaf-4 CacheHits 0 4 leaf-4 CacheMisses 10 4 rtr-1 CacheHits 10 4 rtr-1 CacheMisses 10 4 rtr-2 CacheHits 10 4 rtr-2 CacheMisses 10 4 root CacheHits 10 4 root CacheMisses 10 5 leaf-1 CacheHits 0 5 leaf-1 CacheMisses 10 5 leaf-2 CacheHits 0 5 leaf-2 CacheMisses 10 5 leaf-3 CacheHits 0 5 leaf-3 CacheMisses 10 5 leaf-4 CacheHits 0 5 leaf-4 CacheMisses 10 5 rtr-1 CacheHits 10 5 rtr-1 CacheMisses 10 5 rtr-2 CacheHits 10 5 rtr-2 CacheMisses 10 5 root CacheHits 10 5 root CacheMisses 10 6 leaf-1 CacheHits 0 6 leaf-1 CacheMisses 10 6 leaf-2 CacheHits 0 6 leaf-2 CacheMisses 10 6 leaf-3 CacheHits 0 6 leaf-3 CacheMisses 10 6 leaf-4 CacheHits 0 6 leaf-4 CacheMisses 10 6 rtr-1 CacheHits 10 6 rtr-1 CacheMisses 10 6 rtr-2 CacheHits 10 6 rtr-2 CacheMisses 10 6 root CacheHits 10 6 root CacheMisses 10 7 leaf-1 CacheHits 0 7 leaf-1 CacheMisses 10 7 leaf-2 CacheHits 0 7 leaf-2 CacheMisses 10 7 leaf-3 CacheHits 0 7 leaf-3 CacheMisses 10 7 leaf-4 CacheHits 0 7 leaf-4 CacheMisses 10 7 rtr-1 CacheHits 10 7 rtr-1 CacheMisses 10 7 rtr-2 CacheHits 10 7 rtr-2 CacheMisses 10 7 root CacheHits 10 7 root CacheMisses 10 8 leaf-1 CacheHits 0 8 leaf-1 CacheMisses 10 8 leaf-2 CacheHits 0 8 leaf-2 CacheMisses 10 8 leaf-3 CacheHits 0 8 leaf-3 CacheMisses 10 8 leaf-4 CacheHits 0 8 leaf-4 CacheMisses 10 8 rtr-1 CacheHits 10 8 rtr-1 CacheMisses 10 8 rtr-2 CacheHits 10 8 rtr-2 CacheMisses 10 8 root CacheHits 10 8 root CacheMisses 10 9 leaf-1 CacheHits 0 9 leaf-1 CacheMisses 10 9 leaf-2 CacheHits 0 9 leaf-2 CacheMisses 10 9 leaf-3 CacheHits 0 9 leaf-3 CacheMisses 10 9 leaf-4 CacheHits 0 9 leaf-4 CacheMisses 10 9 rtr-1 CacheHits 10 9 rtr-1 CacheMisses 10 9 rtr-2 CacheHits 10 9 rtr-2 CacheMisses 10 9 root CacheHits 10 9 root CacheMisses 10 10 leaf-1 CacheHits 0 10 leaf-1 CacheMisses 10 10 leaf-2 CacheHits 0 10 leaf-2 CacheMisses 10 10 leaf-3 CacheHits 0 10 leaf-3 CacheMisses 10 10 leaf-4 CacheHits 0 10 leaf-4 CacheMisses 10 10 rtr-1 CacheHits 10 10 rtr-1 CacheMisses 10 10 rtr-2 CacheHits 10 10 rtr-2 CacheMisses 10 10 root CacheHits 10 10 root CacheMisses 10 11 leaf-1 CacheHits 0 11 leaf-1 CacheMisses 10 11 leaf-2 CacheHits 0 11 leaf-2 CacheMisses 10 11 leaf-3 CacheHits 0 11 leaf-3 CacheMisses 10 11 leaf-4 CacheHits 0 11 leaf-4 CacheMisses 10 11 rtr-1 CacheHits 10 11 rtr-1 CacheMisses 10 11 rtr-2 CacheHits 10 11 rtr-2 CacheMisses 10 11 root CacheHits 10 11 root CacheMisses 10 12 leaf-1 CacheHits 0 12 leaf-1 CacheMisses 10 12 leaf-2 CacheHits 0 12 leaf-2 CacheMisses 10 12 leaf-3 CacheHits 0 12 leaf-3 CacheMisses 10 12 leaf-4 CacheHits 0 12 leaf-4 CacheMisses 10 12 rtr-1 CacheHits 10 12 rtr-1 CacheMisses 10 12 rtr-2 CacheHits 10 12 rtr-2 CacheMisses 10 12 root CacheHits 10 12 root CacheMisses 10 13 leaf-1 CacheHits 0 13 leaf-1 CacheMisses 10 13 leaf-2 CacheHits 0 13 leaf-2 CacheMisses 10 13 leaf-3 CacheHits 0 13 leaf-3 CacheMisses 10 13 leaf-4 CacheHits 0 13 leaf-4 CacheMisses 10 13 rtr-1 CacheHits 10 13 rtr-1 CacheMisses 10 13 rtr-2 CacheHits 10 13 rtr-2 CacheMisses 10 13 root CacheHits 10 13 root CacheMisses 10 14 leaf-1 CacheHits 0 14 leaf-1 CacheMisses 10 14 leaf-2 CacheHits 0 14 leaf-2 CacheMisses 10 14 leaf-3 CacheHits 0 14 leaf-3 CacheMisses 10 14 leaf-4 CacheHits 0 14 leaf-4 CacheMisses 10 14 rtr-1 CacheHits 10 14 rtr-1 CacheMisses 10 14 rtr-2 CacheHits 10 14 rtr-2 CacheMisses 10 14 root CacheHits 10 14 root CacheMisses 10 15 leaf-1 CacheHits 0 15 leaf-1 CacheMisses 10 15 leaf-2 CacheHits 0 15 leaf-2 CacheMisses 10 15 leaf-3 CacheHits 0 15 leaf-3 CacheMisses 10 15 leaf-4 CacheHits 0 15 leaf-4 CacheMisses 10 15 rtr-1 CacheHits 10 15 rtr-1 CacheMisses 10 15 rtr-2 CacheHits 10 15 rtr-2 CacheMisses 10 15 root CacheHits 10 15 root CacheMisses 10 16 leaf-1 CacheHits 0 16 leaf-1 CacheMisses 10 16 leaf-2 CacheHits 0 16 leaf-2 CacheMisses 10 16 leaf-3 CacheHits 0 16 leaf-3 CacheMisses 10 16 leaf-4 CacheHits 0 16 leaf-4 CacheMisses 10 16 rtr-1 CacheHits 10 16 rtr-1 CacheMisses 10 16 rtr-2 CacheHits 10 16 rtr-2 CacheMisses 10 16 root CacheHits 10 16 root CacheMisses 10 17 leaf-1 CacheHits 0 17 leaf-1 CacheMisses 10 17 leaf-2 CacheHits 0 17 leaf-2 CacheMisses 10 17 leaf-3 CacheHits 0 17 leaf-3 CacheMisses 10 17 leaf-4 CacheHits 0 17 leaf-4 CacheMisses 10 17 rtr-1 CacheHits 10 17 rtr-1 CacheMisses 10 17 rtr-2 CacheHits 10 17 rtr-2 CacheMisses 10 17 root CacheHits 10 17 root CacheMisses 10 18 leaf-1 CacheHits 0 18 leaf-1 CacheMisses 10 18 leaf-2 CacheHits 0 18 leaf-2 CacheMisses 10 18 leaf-3 CacheHits 0 18 leaf-3 CacheMisses 10 18 leaf-4 CacheHits 0 18 leaf-4 CacheMisses 10 18 rtr-1 CacheHits 10 18 rtr-1 CacheMisses 10 18 rtr-2 CacheHits 10 18 rtr-2 CacheMisses 10 18 root CacheHits 10 18 root CacheMisses 10 19 leaf-1 CacheHits 0 19 leaf-1 CacheMisses 10 19 leaf-2 CacheHits 0 19 leaf-2 CacheMisses 10 19 leaf-3 CacheHits 0 19 leaf-3 CacheMisses 10 19 leaf-4 CacheHits 0 19 leaf-4 CacheMisses 10 19 rtr-1 CacheHits 10 19 rtr-1 CacheMisses 10 19 rtr-2 CacheHits 10 19 rtr-2 CacheMisses 10 19 root CacheHits 10 19 root CacheMisses 10 From mastorakis at CS.UCLA.EDU Thu Sep 10 14:53:43 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 10 Sep 2015 14:53:43 -0700 Subject: [ndnSIM] calculating cache hit ratio In-Reply-To: References: <7CE41714-8390-425F-94A1-F9B3B63EA726@cs.ucla.edu> Message-ID: <93561472-B64F-48F1-AE5C-458631E7C2D2@cs.ucla.edu> Hi, the straightforward way to increase hit rate is to request the same data as many times as possible and the corresponding interests hit a cache that has the requested data. In general, the replacement policy should make a difference when cache evictions take place. In order to do that, a cache has to be full, while more data needs to be stored in it. If a cache has such a great size, so that no evictions need to take place, the replacement policy should not make any difference. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 10, 2015, at 11:11 AM, Shahrear Tanzil wrote: > > Hi Spyridon, > > Thank you for the reply. > > I am using "ndn-tree-cs-tracers" example. In this example cache hit ratio=(10/20)*100=50% for the root node (.txt file is attached here) for all cache replacement policy e.g., "Lfu", "Lru", and "Fifo". I also change content store maximum size of the root node e.g., "Config::Set("/NodeList/6/$ns3::ndn::ContentStore/MaxSize", UintegerValue(200))" as well as maximum CS sizes of packets e.g., ndnHelper.SetOldContentStore("ns3::ndn::cs::Fifo", "MaxSize","100"). > > Still I am getting maximum 50% cache hit ratio. I want to increase the cache hit ratio by tweaking parameters. > > Please help me. > > Thank you in advanced and apology if I made wrong interpretation. > > Regards, > Tanzil > > On Wed, Sep 9, 2015 at 11:36 AM, Shahrear Tanzil wrote: > Hi Spyridon, > > Thank you for the reply. > > I am using "ndn-tree-cs-tracers" example. In this example cache hit ratio=(10/20)*100=50% for the root node (.txt file is attached here) for all cache replacement policy e.g., "Lfu", "Lru", and "Fifo". > > I would link to know, how to increase the cache hit ratio by increasing content store maximum size i.e., "Config::Set("/NodeList/6/$ns3::ndn::ContentStore/MaxSize", UintegerValue(200))" , and for different maximum CS sizes of packets e.g., ndnHelper.SetOldContentStore("ns3::ndn::cs::Fifo", "MaxSize","100"), since I am getting same result for different size. > > Thank you in advanced and apology if I made wrong interpretation. > > > On Fri, Sep 4, 2015 at 5:13 PM, Spyridon (Spyros) Mastorakis wrote: > Hi, > > first of all, you need to run an example that uses the CsTracer. After the execution of such an example, a .txt file would be generated (typically with the name ?cs-trace.txt?). This file contains the number of CacheHits and CacheMisses for each node with respect to the simulation time. To compute the cache hit ratio of your simulation, you need to use the following formula: > > Cache hit ratio (%) = (Total number of cache hits / (Total number of cache hits + Total number of cache misses)) * 100 > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > On Sep 4, 2015, at 4:46 PM, Shahrear Tanzil wrote: > > > > Hi, > > > > I am a new user of ndnSIM. I would like to compare cache hit ratio for different cache replacement policies for variable cache size. Can you please let me know how to calculate cache hit ratio using CsTracer (following examples ndn-tree-cs-tracers and ndn-simple-with-different-sizes-content-store). > > > > Thank you in advanced. > From patelcharmi23 at gmail.com Fri Sep 11 20:59:43 2015 From: patelcharmi23 at gmail.com (Charmi Patel) Date: Sat, 12 Sep 2015 09:29:43 +0530 Subject: [ndnSIM] Fwd: how to solve "fatal error : ns3/ndnSIM-module.h : No such file or directory" In-Reply-To: References: Message-ID: Hi , I am a newbie for using ndnSIM. I completed installation of ndnSIM followed instruction from " http://ndnsim.net/2.0/getting-started.html " site. I put ndn-simple.cpp file in to ns-3-dev-ndnSIM/scratch folder and rename it to ndn-simple.cc and try to run using command : ./waf -- run ndn-simple but its give fatal error:ns3/ndnSIM-module.h : No such file or directory and compilation is teminated. Is any extra module is require to add in ndnSIM to overcome this problem ?? I attach image of error. please help me to solve this error. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Fri Sep 11 21:28:59 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Fri, 11 Sep 2015 21:28:59 -0700 Subject: [ndnSIM] how to solve "fatal error : ns3/ndnSIM-module.h : No such file or directory" In-Reply-To: References: Message-ID: Hi, I would suggest that you download our scenario template (https://github.com/named-data-ndnSIM/scenario-template) and move your simulation scenarios under its ?scenarios/? folder. This scenario template is useful in the sense that you can modify and compile your examples separately from the ndnSIM module and vice versa. Moreover, the link that you mentioned does not refer to the latest version of ndnSIM. Since, you are starting now with ndnSIM, I would suggest you use the latest version of the simulator: http://ndnsim.net/2.1/ http://ndnsim.net/2.1/getting-started.html Please let me know if you need anything else. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 11, 2015, at 8:59 PM, Charmi Patel wrote: > > Hi , > I am a newbie for using ndnSIM. > I completed installation of ndnSIM followed instruction from " http://ndnsim.net/2.0/getting-started.html " site. > I put ndn-simple.cpp file in to ns-3-dev-ndnSIM/scratch folder and rename it to ndn-simple.cc > and try to run using command : ./waf -- run ndn-simple > but its give fatal error:ns3/ndnSIM-module.h : No such file or directory > and compilation is teminated. > Is any extra module is require to add in ndnSIM to overcome this problem ?? > I attach image of error. > > please help me to solve this error. From aa at CS.UCLA.EDU Sun Sep 13 14:47:31 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 13 Sep 2015 14:47:31 -0700 Subject: [ndnSIM] how to solve "fatal error : ns3/ndnSIM-module.h : No such file or directory" In-Reply-To: References: Message-ID: Hi Charmi, If you're getting this error, it means that ndnSIM module has not been enabled, e.g., some dependency is missing. Check output of `./waf configure`, which should tells what is going on wrong. You may be missing boost libraries, or the location of libraries cannot be automatically detected (most common issues). Double check that you have followed instruction for dependency installation. You may need to add --boost-includes and --boost-libs flags to ./waf configure. I will also recommend working with 2.1 version, as it has a slightly reduced number of dependencies. --- Alex > On Sep 11, 2015, at 8:59 PM, Charmi Patel wrote: > > Hi , > I am a newbie for using ndnSIM. > I completed installation of ndnSIM followed instruction from " http://ndnsim.net/2.0/getting-started.html " site. > I put ndn-simple.cpp file in to ns-3-dev-ndnSIM/scratch folder and rename it to ndn-simple.cc > and try to run using command : ./waf -- run ndn-simple > but its give fatal error:ns3/ndnSIM-module.h : No such file or directory > and compilation is teminated. > Is any extra module is require to add in ndnSIM to overcome this problem ?? > I attach image of error. > > please help me to solve this error. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From andreysilva.eng at gmail.com Mon Sep 14 07:10:43 2015 From: andreysilva.eng at gmail.com (Andrey Silva) Date: Mon, 14 Sep 2015 11:10:43 -0300 Subject: [ndnSIM] Simulating Simple LTE Scenario integrated with NDN Message-ID: Hello, I?d need to write a simple simulation of LTE integrated with NDN, but i don't know how to do it. Could someone provide an example, a link or something to help me to start this task? -- Andrey Silva Engenheiro da Computa??o - Universidade Federal do Par? Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . - http://laps.ufpa.br/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From tanzil.eee at gmail.com Wed Sep 16 12:14:56 2015 From: tanzil.eee at gmail.com (Shahrear Tanzil) Date: Wed, 16 Sep 2015 12:14:56 -0700 Subject: [ndnSIM] Implementing cache replacement policy Message-ID: Hi, I would like to implement Segmented LRU (SLRU) cache replacement policy in ndnSIM. Please let me know where to start. Thank you. -- Kind Regards, S.M. Shahrear Tanzil Graduate Research Assistant University of British Columbia -------------- next part -------------- An HTML attachment was scrubbed... URL: From mahdian.m at husky.neu.edu Wed Sep 16 12:36:56 2015 From: mahdian.m at husky.neu.edu (Milad Mahdian) Date: Wed, 16 Sep 2015 15:36:56 -0400 Subject: [ndnSIM] multi path capability for NDN Global Routing (NDNSim 1.0) Message-ID: Hello everyone, I'm trying to run a forwarding strategy simulation on a big topology which makes adding fib entries manually too difficult. Since multipath routing(having multiple fib entries per prefix) is essential to my algorithm, I was wondering if there is a way to add multi path capability to the ndn global routing or any other viable solution. Thanks, Milad -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Wed Sep 16 15:06:37 2015 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Wed, 16 Sep 2015 15:06:37 -0700 Subject: [ndnSIM] multi path capability for NDN Global Routing (NDNSim 1.0) In-Reply-To: References: Message-ID: Hi Milad, GlobalRouting helper already has a basic capability to calculate multi-path routes, though the implemented logic may not be 100% suitable for you. You can check the current implementation and adjust to the logic you need. Alternatively, you can write a program that pre-calculates routes, based on the logic you need (nneighbor-disjoint paths, node disjoint paths, link disjoint paths, etc.), instead of doing it manually. -- Alex > On Sep 16, 2015, at 12:36 PM, Milad Mahdian wrote: > > Hello everyone, > > I'm trying to run a forwarding strategy simulation on a big topology which makes adding fib entries manually too difficult. Since multipath routing(having multiple fib entries per prefix) is essential to my algorithm, I was wondering if there is a way to add multi path capability to the ndn global routing or any other viable solution. > > Thanks, > Milad -------------- 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: From romanlutz at cs.umass.edu Thu Sep 17 12:36:03 2015 From: romanlutz at cs.umass.edu (Roman Lutz) Date: Thu, 17 Sep 2015 19:36:03 +0000 Subject: [ndnSIM] Evaluation of cache policies Message-ID: Hi! I'm trying to implement various caching policies and compare them through simulations. Is there a straightforward way to do so? I have checked for occurrences of caching policies like LRU and LFU in the codebase, but I am not really sure where exactly the implementations are. I have figured out that you call the cache content store (correct me if I'm wrong), but if you could point me to the right source file or package, that would be very helpful. Thanks, Roman -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Thu Sep 17 12:53:14 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 17 Sep 2015 12:53:14 -0700 Subject: [ndnSIM] Simulating Simple LTE Scenario integrated with NDN In-Reply-To: References: Message-ID: <310AA7C8-9683-4719-A7F6-593D84CCDBF2@cs.ucla.edu> Hi Andrey, I would suggest that you take a look at the ndnSIM mailing list archives, since there are many ndnSIM users working on such scenarios. You will be able to find some related simulation scenarios as well. For example: http://www.lists.cs.ucla.edu/pipermail/ndnsim/2015-July/002011.html Hope that this would help you! -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 14, 2015, at 7:10 AM, Andrey Silva wrote: > > Hello, > > I?d need to write a simple simulation of LTE integrated with NDN, but i don't know how to do it. Could someone provide an example, a link or something to help me to start this task? > > > -- > Andrey Silva > > Engenheiro da Computa??o - Universidade Federal do Par? > Mestrando em Engenharia El?trica - Laborat?rio de Processamento de Sinais - Universidade Federal do Par? . > - > http://laps.ufpa.br/ > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From mastorakis at CS.UCLA.EDU Thu Sep 17 13:23:34 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 17 Sep 2015 13:23:34 -0700 Subject: [ndnSIM] Implementing cache replacement policy In-Reply-To: References: Message-ID: <7D58E0AF-1628-42F8-95BB-3460C016DC0E@cs.ucla.edu> Hi, you will need to implement your own contest store realization, which will inherit the ContentStoreImpl class (https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/content-store-impl.hpp#L82). For further details, please take a look at the content store with freshness source code: https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/content-store-with-freshness.cpp https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/content-store-with-freshness.hpp and the corresponding custom replacement policy: https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/custom-policies/freshness-policy.hpp -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 16, 2015, at 12:14 PM, Shahrear Tanzil wrote: > > Hi, > > I would like to implement Segmented LRU (SLRU) cache replacement policy in ndnSIM. Please let me know where to start. > > Thank you. > > -- > > Kind Regards, > S.M. Shahrear Tanzil > Graduate Research Assistant > University of British Columbia From mastorakis at CS.UCLA.EDU Thu Sep 17 13:27:00 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Thu, 17 Sep 2015 13:27:00 -0700 Subject: [ndnSIM] Evaluation of cache policies In-Reply-To: References: Message-ID: <45429FD0-646F-4631-AF46-8B66EEA629B4@cs.ucla.edu> Hi Roman, the source code of the contest store implementation and the various replacement policies is in the folder ?model/cs?: https://github.com/named-data-ndnSIM/ndnSIM/tree/master/model/cs Please let me know if you need anything else. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 17, 2015, at 12:36 PM, Roman Lutz wrote: > > Hi! > > I'm trying to implement various caching policies and compare them through simulations. Is there a straightforward way to do so? I have checked for occurrences of caching policies like LRU and LFU in the codebase, but I am not really sure where exactly the implementations are. I have figured out that you call the cache content store (correct me if I'm wrong), but if you could point me to the right source file or package, that would be very helpful. > > Thanks, > > Roman From romanlutz at cs.umass.edu Thu Sep 17 16:50:06 2015 From: romanlutz at cs.umass.edu (Roman Lutz) Date: Thu, 17 Sep 2015 23:50:06 +0000 Subject: [ndnSIM] Evaluation of cache policies In-Reply-To: <45429FD0-646F-4631-AF46-8B66EEA629B4@cs.ucla.edu> References: <45429FD0-646F-4631-AF46-8B66EEA629B4@cs.ucla.edu> Message-ID: Hi Spyridon, Thanks for the quick help! I checked these, but what I'm still not sure about is: Are the policies defined in the folder model/cs or rather utils/trie? For example the LRU policy seems to be in: https://github.com/named-data-ndnSIM/ndnSIM/blob/master/utils/trie/lru-policy.hpp I see that there are several files in model/cs, namely content-store-impl, content-store-no-cache, content-store-with-freshness, content-store-with-probability, content-store-with-stats and ndn-content-store. I actually looked into them, but I couldn't find documentation in them saying what they are actually doing or meant for. In utils/trie I found lots of policies defined, but I haven't yet found out how the functionality works. I am a bit confused about some terms used there since I haven't worked with your immense codebase before. I found the following guide, but I couldn't find things mentioned in the Content Store section in the code, e.g. cs::insert or cs::find. http://named-data.net/wp-content/uploads/2015/05/ndn-0021-4-nfd-developer-guide.pdf Overall, what I'm trying to find out is: For an example like the following https://github.com/named-data-ndnSIM/ndnSIM/blob/a5587caa724bbe0db85c8511649faf9e06f97754/examples/ndn-tree-cs-tracers.cpp can I simply write my own policy in utils/trie like the above linked lru-policy and change the line SetOldContentStore("ns3::ndn::cs::Lru", "MaxSize", "100"); // default ContentStore parameters to SetOldContentStore("ns3::ndn::cs::MyPolicy", "MaxSize", "100"); or am I missing something here? (And why is it "old" content store?) Thanks, Roman On Thu, Sep 17, 2015 at 4:27 PM Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu> wrote: > Hi Roman, > > the source code of the contest store implementation and the various > replacement policies is in the folder ?model/cs?: > > https://github.com/named-data-ndnSIM/ndnSIM/tree/master/model/cs > > Please let me know if you need anything else. > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > > On Sep 17, 2015, at 12:36 PM, Roman Lutz wrote: > > > > Hi! > > > > I'm trying to implement various caching policies and compare them > through simulations. Is there a straightforward way to do so? I have > checked for occurrences of caching policies like LRU and LFU in the > codebase, but I am not really sure where exactly the implementations are. I > have figured out that you call the cache content store (correct me if I'm > wrong), but if you could point me to the right source file or package, that > would be very helpful. > > > > Thanks, > > > > Roman > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 401809286 at qq.com Sun Sep 20 02:10:37 2015 From: 401809286 at qq.com (=?gb18030?B?zuK1pOzH?=) Date: Sun, 20 Sep 2015 17:10:37 +0800 Subject: [ndnSIM] Stuck on the puzzle on ndnSIM1.0 Message-ID: Dear ndnSIM team members: I have stuck on a puzzle on the ndnSIM 1.0 of version when complementing my experiment. When I try to put extra information into the payload of the content, the program runs with an error as the following: assert failed. cond="packet->GetSize () <= m_netDevice->GetMtu ()", msg="Packet size 1522 exceeds device MTU 1500 for Ndn; fragmentation not supported", file=../src/ndnSIM/model/ndn-net-device-face.cc, line=115 We have checked that the size of the payload of the modified data is 7, so I just don't understand why it comes with a packet size over 1522. Could you help me figure this out? Thank all of you very much! Sincerely. from Wu Danye Network Technology Research Center Institute of Computing Technology,C.A.S. Address :No.6 Kexueyuan South Road Zhongguancun,Haidian District Beijing,China Postcode :100190 -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Mon Sep 21 21:03:42 2015 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Mon, 21 Sep 2015 21:03:42 -0700 Subject: [ndnSIM] Stuck on the puzzle on ndnSIM1.0 In-Reply-To: References: Message-ID: <9E328C7F-3932-4020-9E42-E02C01ED3768@ucla.edu> Hi Wu, Packet size depends not only on payload size, but name and, potentially, other fields. While I don't really know why your packet is getting over 1.5k bytes, you can cheat and increase MTU size for the point-to-point link. --- Alex > On Sep 20, 2015, at 2:10 AM, ??? <401809286 at qq.com> wrote: > > Dear ndnSIM team members: > > I have stuck on a puzzle on the ndnSIM 1.0 of version when complementing my experiment. > When I try to put extra information into the payload of the content, the program runs with an error as the following: > > assert failed. cond="packet->GetSize () <= m_netDevice->GetMtu ()", msg="Packet size 1522 exceeds device MTU 1500 for Ndn; fragmentation not supported", file=../src/ndnSIM/model/ndn-net-device-face.cc, line=115 > > We have checked that the size of the payload of the modified data is 7, so I just don't understand why it comes with a packet size over 1522. Could you help me figure this out? > > Thank all of you very much! > > Sincerely. > from > Wu Danye > Network Technology Research Center > Institute of Computing Technology,C.A.S. > Address :No.6 Kexueyuan South Road Zhongguancun,Haidian District Beijing,China > Postcode :100190 -------------- 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: From lu.zhang at fuji.waseda.jp Tue Sep 22 00:23:35 2015 From: lu.zhang at fuji.waseda.jp (CHOU Ro) Date: Tue, 22 Sep 2015 16:23:35 +0900 Subject: [ndnSIM] About environment building of ndnSIM Message-ID: Hello, Recently I am building an environment of ndnSIM on my VMWare which is running Ubuntu v 14.04.3 LTS. When I try to execute: git clone -b master-v1 git://github.com:named-data/ndnSIM.git ns-3/src/ndnSIM but it returns me Cloning into 'ns-3/src/ndnSIM'... fatal: unable to connect to github.com: github.com: Servname not supported for ai_socktype Does anyone who knows how to solve this please? NTP is correctly configured under /etc/services. Thanks in advance. BR Lu From aa at CS.UCLA.EDU Tue Sep 22 00:39:46 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Tue, 22 Sep 2015 00:39:46 -0700 Subject: [ndnSIM] About environment building of ndnSIM In-Reply-To: References: Message-ID: <4C1EAFC4-2652-4BE8-86D7-B183BA89641F@cs.ucla.edu> There is a small typo in clone command (colon instead of slash) Try: git clone -b master-v1 git://github.com/named-data/ndnSIM.git ns-3/src/ndnSIM --- Alex > On Sep 22, 2015, at 12:23 AM, CHOU Ro wrote: > > Hello, > > Recently I am building an environment of ndnSIM on my VMWare which is running Ubuntu v 14.04.3 LTS. > > When I try to execute: > > git clone -b master-v1 git://github.com:named-data/ndnSIM.git ns-3/src/ndnSIM > > but it returns me > > Cloning into 'ns-3/src/ndnSIM'... > fatal: unable to connect to github.com: > github.com: Servname not supported for ai_socktype > > Does anyone who knows how to solve this please? NTP is correctly configured under /etc/services. > > Thanks in advance. > > BR > > Lu > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- 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: From lu.zhang at fuji.waseda.jp Tue Sep 22 01:23:07 2015 From: lu.zhang at fuji.waseda.jp (CHOU Ro) Date: Tue, 22 Sep 2015 17:23:07 +0900 Subject: [ndnSIM] About environment building of ndnSIM In-Reply-To: <4C1EAFC4-2652-4BE8-86D7-B183BA89641F@cs.ucla.edu> References: <4C1EAFC4-2652-4BE8-86D7-B183BA89641F@cs.ucla.edu> Message-ID: Hello, Thanks very much Alex. If possible, you may correct this place on webpage http://ndnsim.net/1.0/getting-started.html chapter "Downloading ndnSIM source". ------- Lu On Tue, 22 Sep 2015 00:39:46 -0700 Alex Afanasyev wrote: > There is a small typo in clone command (colon instead of slash) > > Try: > > git clone -b master-v1 git://github.com/named-data/ndnSIM.git >ns-3/src/ndnSIM > > --- > Alex > >> On Sep 22, 2015, at 12:23 AM, CHOU Ro >>wrote: >> >> Hello, >> >> Recently I am building an environment of ndnSIM on my VMWare which >>is running Ubuntu v 14.04.3 LTS. >> >> When I try to execute: >> >> git clone -b master-v1 git://github.com:named-data/ndnSIM.git >>ns-3/src/ndnSIM >> >> but it returns me >> >> Cloning into 'ns-3/src/ndnSIM'... >> fatal: unable to connect to github.com: >> github.com: Servname not supported for ai_socktype >> >> Does anyone who knows how to solve this please? NTP is correctly >>configured under /etc/services. >> >> Thanks in advance. >> >> BR >> >> Lu >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > From moosavi.itsu at yahoo.com Mon Sep 28 07:07:56 2015 From: moosavi.itsu at yahoo.com (Samira Moosavi) Date: Mon, 28 Sep 2015 14:07:56 +0000 (UTC) Subject: [ndnSIM] install ndn-mobility Message-ID: <870511819.2067812.1443449276487.JavaMail.yahoo@mail.yahoo.com> Dear all I want to install ndn-mobility so I get ndn-mobility directory from?github.com/PhilipsIII/ndn-mobility.also?i install of ns-3 and ndnSIM completely.also I?Compiling??with ./waf configure.but when i??Running???./waf ,I get this error: what should I do? [ 19/103] cxx: extensions/nnnSIM/model/fw/nnn-forwarding-strategy.cc -> build/extensions/nnnSIM/model/fw/nnn-forwarding-strategy.cc.1.o ../extensions/nnnSIM/model/fw/nnn-forwarding-strategy.cc: In member function ?virtual void ns3::nnn::ForwardingStrategy::OnINF(ns3::Ptr, ns3::Ptr)?: ../extensions/nnnSIM/model/fw/nnn-forwarding-strategy.cc:1007:33: error: ?outface? was not declared in this scope ???? if (routed && routedFace == outface) ???????????????????????????????? ^ Waf: Leaving directory `/home/flower/ndnSIM1/ndn-mobility1/build' Build failed ?-> task in 'extensions' failed (exit status 1):? ??? {task 140098879168208: cxx nnn-forwarding-strategy.cc -> nnn-forwarding-strategy.cc.1.o} ['/usr/bin/g++', '-O3', '-g', [], '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-I/usr/include', '-I/usr/local/include/ns3-dev', '-I/usr/include/gtk-2.0', '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/freetype2', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/libpng12', '-I/usr/include/harfbuzz', '-I/usr/include/libxml2', '-DHAVE_NS3_CORE=1', '-DHAVE_NS3_NETWORK=1', '-DHAVE_NS3_POINT_TO_POINT=1', '-DHAVE_NS3_APPLICATIONS=1', '-DHAVE_NS3_MOBILITY=1', '-DHAVE_NS3_NDNSIM=1', '-DHAVE_NS3_ANTENNA=1', '-DHAVE_NS3_AODV=1', '-DHAVE_NS3_BRIDGE=1', '-DHAVE_NS3_BUILDINGS=1', '-DHAVE_NS3_CONFIG_STORE=1', '-DHAVE_NS3_CSMA=1', '-DHAVE_NS3_CSMA_LAYOUT=1', '-DHAVE_NS3_DSDV=1', '-DHAVE_NS3_DSR=1', '-DHAVE_NS3_EMU=1', '-DHAVE_NS3_ENERGY=1', '-DHAVE_NS3_FD_NET_DEVICE=1', '-DHAVE_NS3_FLOW_MONITOR=1', '-DHAVE_NS3_INTERNET=1', '-DHAVE_NS3_LTE=1', '-DHAVE_NS3_MESH=1', '-DHAVE_NS3_MPI=1', '-DHAVE_NS3_NETANIM=1', '-DHAVE_NS3_NIX_VECTOR_ROUTING=1', '-DHAVE_NS3_OLSR=1', '-DHAVE_NS3_POINT_TO_POINT_LAYOUT=1', '-DHAVE_NS3_PROPAGATION=1', '-DHAVE_NS3_SPECTRUM=1', '-DHAVE_NS3_STATS=1', '-DHAVE_NS3_TAP_BRIDGE=1', '-DHAVE_NS3_TOPOLOGY_READ=1', '-DHAVE_NS3_UAN=1', '-DHAVE_NS3_VIRTUAL_NET_DEVICE=1', '-DHAVE_NS3_VISUALIZER=1', '-DHAVE_NS3_WIFI=1', '-DHAVE_NS3_WIMAX=1', '-DNS3_LOG_ENABLE=1', '-DNS3_ASSERT_ENABLE=1', '../extensions/nnnSIM/model/fw/nnn-forwarding-strategy.cc', '-c', '-o', 'extensions/nnnSIM/model/fw/nnn-forwarding-strategy.cc.1.o'] -------------- next part -------------- An HTML attachment was scrubbed... URL: From moosavi.itsu at yahoo.com Mon Sep 28 07:16:34 2015 From: moosavi.itsu at yahoo.com (Samira Moosavi) Date: Mon, 28 Sep 2015 14:16:34 +0000 (UTC) Subject: [ndnSIM] install ndn-mobility In-Reply-To: <870511819.2067812.1443449276487.JavaMail.yahoo@mail.yahoo.com> References: <870511819.2067812.1443449276487.JavaMail.yahoo@mail.yahoo.com> Message-ID: <673461307.2017038.1443449794526.JavaMail.yahoo@mail.yahoo.com> I get ndn-mobility directory from?github.com/PhilipsIII/ndn-mobility.also?i install of ns-3 and ndnSIM completely.also I?Compiling and?Running scenarios with ./waf configure and?./waf --run ,I get: ?Waf: Entering directory `/home/flower/ndnSIM1/ndn-mobility/build' Waf: Leaving directory `/home/flower/ndnSIM1/ndn-mobility/build' 'build' finished successfully (1.653s) but when I run scenario? with visualizer(./waf --run --vis),phython not work and i get it agin: Waf: Entering directory `/home/flower/ndnSIM1/ndn-mobility/build' Waf: Leaving directory `/home/flower/ndnSIM1/ndn-mobility/build' 'build' finished successfully (1.653s) what shoul I do? -------------- next part -------------- An HTML attachment was scrubbed... URL: From moosavi.itsu at yahoo.com Mon Sep 28 07:30:58 2015 From: moosavi.itsu at yahoo.com (Samira Moosavi) Date: Mon, 28 Sep 2015 14:30:58 +0000 (UTC) Subject: [ndnSIM] build ndnSIM Message-ID: <1575901439.2097902.1443450658175.JavaMail.yahoo@mail.yahoo.com> Dear allI have installed ndnSIM according to ndnSIM.net 1.0 but when I run ?./waf --run=ccn-mobility? --vis I get this error: I woul be appreciated if you could help me what I must do? maryam at maryam-Lenovo-G500s:~/ndnSIM/ndn-mobility$ ./waf --run=ccn-mobility? --vis Waf: Entering directory `/home/maryam/ndnSIM/ndn-mobility/build' Waf: Leaving directory `/home/maryam/ndnSIM/ndn-mobility/build' 'build' finished successfully (0.312s) Traceback (most recent call last): ? File "", line 1, in ? File "/usr/local/lib/python2.7/dist-packages/visualizer/__init__.py", line 2, in ??? from core import start, register_plugin, set_bounds, add_initialization_hook ? File "/usr/local/lib/python2.7/dist-packages/visualizer/core.py", line 23, in ??? import ns.core ? File "/usr/local/lib/python2.7/dist-packages/ns/core.py", line 5, in ??? from . import _core ImportError: /usr/local/lib/python2.7/dist-packages/ns/_core.so: undefined symbol: _ZN3ns312LogComponentC1ERKSsS2_NS_8LogLevelE -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhiabimen at gmail.com Mon Sep 28 07:52:25 2015 From: dhiabimen at gmail.com (Dhiab Imen) Date: Mon, 28 Sep 2015 15:52:25 +0100 Subject: [ndnSIM] NDN node Throughput Message-ID: Hi , I want to get throughput variation of ndn nodes using trace files. Can you tell me what trace file I must use? and how l can calculate throughput using this file? thnx a lot for help. -- Cordialement Imen Dhiab *************************************************************************************************** Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. +216 53 59 19 88 Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html *************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Mon Sep 28 09:16:39 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Mon, 28 Sep 2015 09:16:39 -0700 Subject: [ndnSIM] NDN node Throughput In-Reply-To: References: Message-ID: <587490D7-CE88-47F8-BEFC-78D81D9B22A7@cs.ucla.edu> Hi, I am not sure that I really understand what you want to achieve by using trace files. However, for now, we do not have a standardized file structure or way to import trace files in ndnSIM. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 28, 2015, at 7:52 AM, Dhiab Imen wrote: > > Hi , > > > I want to get throughput variation of ndn nodes using trace files. > > Can you tell me what trace file I must use? and how l can calculate throughput using this file? > > thnx a lot for help. > > -- > Cordialement > Imen Dhiab > > *************************************************************************************************** > Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. > Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. > +216 53 59 19 88 > Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html > *************************************************************************************************** > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From nasserala at gmail.com Mon Sep 28 09:26:02 2015 From: nasserala at gmail.com (=?UTF-8?Q?Andr=C3=A9_Luiz_Nasserala_Pires?=) Date: Mon, 28 Sep 2015 11:26:02 -0500 Subject: [ndnSIM] Install ndnSIM on Raspbaerry Pi Message-ID: Hello, I I want to know if there is the possibility of installing ndnSIM in Raspberry Pi? If someone has already done, in which OS was? Thanks, Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhiabimen at gmail.com Tue Sep 29 01:05:27 2015 From: dhiabimen at gmail.com (Dhiab Imen) Date: Tue, 29 Sep 2015 09:05:27 +0100 Subject: [ndnSIM] NDN node Throughput In-Reply-To: <587490D7-CE88-47F8-BEFC-78D81D9B22A7@cs.ucla.edu> References: <587490D7-CE88-47F8-BEFC-78D81D9B22A7@cs.ucla.edu> Message-ID: Hi, Thnx a lot for your reply. In ndnsim website they use trace file in order to get rate,packet drop rate... in this link http://ndnsim.net/2.0/metric.html I want to know if it is possible to calculate throughput using these trace file,what trace I use to get throughput and how?? thnx for help. 2015-09-28 17:16 GMT+01:00 Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu>: > Hi, > > I am not sure that I really understand what you want to achieve by using > trace files. > > However, for now, we do not have a standardized file structure or way to > import trace files in ndnSIM. > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > > > > > On Sep 28, 2015, at 7:52 AM, Dhiab Imen wrote: > > > > Hi , > > > > > > I want to get throughput variation of ndn nodes using trace files. > > > > Can you tell me what trace file I must use? and how l can calculate > throughput using this file? > > > > thnx a lot for help. > > > > -- > > Cordialement > > Imen Dhiab > > > > > *************************************************************************************************** > > Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. > > Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie > Electrique), Ecole Nationale d'Ing?nieurs de Sousse. > > +216 53 59 19 88 > > Pages personnelles : > http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html > > > *************************************************************************************************** > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -- Cordialement Imen Dhiab *************************************************************************************************** Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. +216 53 59 19 88 Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html *************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From gonzalezcga at gmail.com Tue Sep 29 02:55:12 2015 From: gonzalezcga at gmail.com (Gustavo Gonzalez) Date: Tue, 29 Sep 2015 11:55:12 +0200 Subject: [ndnSIM] Throughput Message-ID: Hi, I suggest you to use awk scripting language to configure a filter in order to analyze the throughput in your scenario. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Wed Sep 30 11:14:53 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 30 Sep 2015 11:14:53 -0700 Subject: [ndnSIM] Install ndnSIM on Raspbaerry Pi In-Reply-To: References: Message-ID: <57ADCDBD-81EF-4CB9-A3C6-B3EC820D0ABC@cs.ucla.edu> Hi Andre, I have never tried to install and run ndnSIM on Raspberry Pi? So, I am afraid that I cannot help you with that? But I am really interested in hearing back from you, shall you need any further assistance or if you manage to install and run ndnSIM on Raspberry Pi! It would be great if you can make it! Thank you! -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 28, 2015, at 9:26 AM, Andr? Luiz Nasserala Pires wrote: > > Hello, > > I I want to know if there is the possibility of installing ndnSIM in Raspberry Pi? > > If someone has already done, in which OS was? > > Thanks, > > Andr? > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From mastorakis at CS.UCLA.EDU Wed Sep 30 11:26:55 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 30 Sep 2015 11:26:55 -0700 Subject: [ndnSIM] NDN node Throughput In-Reply-To: References: <587490D7-CE88-47F8-BEFC-78D81D9B22A7@cs.ucla.edu> Message-ID: Hi, you could install and use the L3RateTracer. The generated file would include a field called ?Kilobytes?, which is an estimation of the kilobytes/s rate. You could use bash or python scripting to parse and process the various values of this field contained in the file. You may also use awk scripting as Gustavo suggested (I have not tried this one though). Please let me know shall you need anything else. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 29, 2015, at 1:05 AM, Dhiab Imen wrote: > > Hi, > > Thnx a lot for your reply. > > In ndnsim website they use trace file in order to get rate,packet drop rate... in this link > > http://ndnsim.net/2.0/metric.html > > I want to know if it is possible to calculate throughput using these trace file,what trace I use to get throughput and how?? > > thnx for help. > > 2015-09-28 17:16 GMT+01:00 Spyridon (Spyros) Mastorakis : > Hi, > > I am not sure that I really understand what you want to achieve by using trace files. > > However, for now, we do not have a standardized file structure or way to import trace files in ndnSIM. > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > > > > > On Sep 28, 2015, at 7:52 AM, Dhiab Imen wrote: > > > > Hi , > > > > > > I want to get throughput variation of ndn nodes using trace files. > > > > Can you tell me what trace file I must use? and how l can calculate throughput using this file? > > > > thnx a lot for help. > > > > -- > > Cordialement > > Imen Dhiab > > > > *************************************************************************************************** > > Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. > > Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. > > +216 53 59 19 88 > > Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html > > *************************************************************************************************** > > _______________________________________________ > > ndnSIM mailing list > > ndnSIM at lists.cs.ucla.edu > > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > > > -- > Cordialement > Imen Dhiab > > *************************************************************************************************** > Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. > Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. > +216 53 59 19 88 > Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html > *************************************************************************************************** From poschdaniel2 at gmail.com Wed Sep 30 11:38:18 2015 From: poschdaniel2 at gmail.com (Daniel Posch) Date: Wed, 30 Sep 2015 20:38:18 +0200 Subject: [ndnSIM] Install ndnSIM on Raspbaerry Pi In-Reply-To: <57ADCDBD-81EF-4CB9-A3C6-B3EC820D0ABC@cs.ucla.edu> References: <57ADCDBD-81EF-4CB9-A3C6-B3EC820D0ABC@cs.ucla.edu> Message-ID: <560C2C1A.3020803@gmail.com> Hello! we are actually maintaining a testbed of about 20 Pi's running NDN/NFD. We had to customize quite a lot, but we are going to release a working image. This image will include everything one need to deploy a own testbed (in no time). However, the release is scheduled for January 2016, but maybe we finish earlier. If you are interested I can post on the mailing list once we release the image. Best Regards Daniel Am 30.09.2015 um 20:14 schrieb Spyridon (Spyros) Mastorakis: > Hi Andre, > > I have never tried to install and run ndnSIM on Raspberry Pi? So, I am afraid that I cannot help you with that? > > But I am really interested in hearing back from you, shall you need any further assistance or if you manage to install and run ndnSIM on Raspberry Pi! It would be great if you can make it! > > Thank you! > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > > > >> On Sep 28, 2015, at 9:26 AM, Andr? Luiz Nasserala Pires wrote: >> >> Hello, >> >> I I want to know if there is the possibility of installing ndnSIM in Raspberry Pi? >> >> If someone has already done, in which OS was? >> >> Thanks, >> >> Andr? >> >> _______________________________________________ >> 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 From chaim.rieger at gmail.com Wed Sep 30 11:47:19 2015 From: chaim.rieger at gmail.com (Chaim Rieger) Date: Wed, 30 Sep 2015 20:47:19 +0200 Subject: [ndnSIM] Install ndnSIM on Raspbaerry Pi In-Reply-To: <560C2C1A.3020803@gmail.com> References: <57ADCDBD-81EF-4CB9-A3C6-B3EC820D0ABC@cs.ucla.edu> <560C2C1A.3020803@gmail.com> Message-ID: <9AB07B2F-F3CD-4B83-AFD1-3C6B52042E4E@gmail.com> I wrote up a how to, for installing it on odroid. > On Sep 30, 2015, at 8:38 PM, Daniel Posch wrote: > > Hello! > > we are actually maintaining a testbed of about 20 Pi's running NDN/NFD. We had to customize quite a lot, but we are going to release a working image. This image will include everything one need to deploy a own testbed (in no time). However, the release is scheduled for January 2016, but maybe we finish earlier. If you are interested I can post on the mailing list once we release the image. > > Best Regards > Daniel > > Am 30.09.2015 um 20:14 schrieb Spyridon (Spyros) Mastorakis: >> Hi Andre, >> >> I have never tried to install and run ndnSIM on Raspberry Pi? So, I am afraid that I cannot help you with that? >> >> But I am really interested in hearing back from you, shall you need any further assistance or if you manage to install and run ndnSIM on Raspberry Pi! It would be great if you can make it! >> >> Thank you! >> >> -- >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> PhD Computer Science >> UCLA >> >> >> >> >> >>> On Sep 28, 2015, at 9:26 AM, Andr? Luiz Nasserala Pires wrote: >>> >>> Hello, >>> >>> I I want to know if there is the possibility of installing ndnSIM in Raspberry Pi? >>> >>> If someone has already done, in which OS was? >>> >>> Thanks, >>> >>> Andr? >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From mastorakis at CS.UCLA.EDU Wed Sep 30 11:49:14 2015 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 30 Sep 2015 11:49:14 -0700 Subject: [ndnSIM] Install ndnSIM on Raspbaerry Pi In-Reply-To: <560C2C1A.3020803@gmail.com> References: <57ADCDBD-81EF-4CB9-A3C6-B3EC820D0ABC@cs.ucla.edu> <560C2C1A.3020803@gmail.com> Message-ID: <3C2A2997-CF39-4EC0-A171-9F4C73501F1E@cs.ucla.edu> Hi Daniel, this is great news! I would like to better understand what exactly you have implemented. Would this be an image of a custom ndnSIM version or just our NFD? Thanks! -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Sep 30, 2015, at 11:38 AM, Daniel Posch wrote: > > Hello! > > we are actually maintaining a testbed of about 20 Pi's running NDN/NFD. We had to customize quite a lot, but we are going to release a working image. This image will include everything one need to deploy a own testbed (in no time). However, the release is scheduled for January 2016, but maybe we finish earlier. If you are interested I can post on the mailing list once we release the image. > > Best Regards > Daniel > > Am 30.09.2015 um 20:14 schrieb Spyridon (Spyros) Mastorakis: >> Hi Andre, >> >> I have never tried to install and run ndnSIM on Raspberry Pi? So, I am afraid that I cannot help you with that? >> >> But I am really interested in hearing back from you, shall you need any further assistance or if you manage to install and run ndnSIM on Raspberry Pi! It would be great if you can make it! >> >> Thank you! >> >> -- >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> PhD Computer Science >> UCLA >> >> >> >> >> >>> On Sep 28, 2015, at 9:26 AM, Andr? Luiz Nasserala Pires wrote: >>> >>> Hello, >>> >>> I I want to know if there is the possibility of installing ndnSIM in Raspberry Pi? >>> >>> If someone has already done, in which OS was? >>> >>> Thanks, >>> >>> Andr? >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From lixia at CS.UCLA.EDU Wed Sep 30 13:49:58 2015 From: lixia at CS.UCLA.EDU (Lixia Zhang) Date: Wed, 30 Sep 2015 13:49:58 -0700 Subject: [ndnSIM] Install ndnSIM on Raspbaerry Pi In-Reply-To: <560C2C1A.3020803@gmail.com> References: <57ADCDBD-81EF-4CB9-A3C6-B3EC820D0ABC@cs.ucla.edu> <560C2C1A.3020803@gmail.com> Message-ID: > On Sep 30, 2015, at 11:38 AM, Daniel Posch wrote: > > Hello! > > we are actually maintaining a testbed of about 20 Pi's running NDN/NFD. We had to customize quite a lot, but we are going to release a working image. This image will include everything one need to deploy a own testbed (in no time). However, the release is scheduled for January 2016, but maybe we finish earlier. If you are interested I can post on the mailing list once we release the image. > > Best Regards > Daniel this sounds fantastic. Once your work is released, I wonder if it could be linked to ndnSIM website, so that others can easily find all such useful resources. > Am 30.09.2015 um 20:14 schrieb Spyridon (Spyros) Mastorakis: >> Hi Andre, >> >> I have never tried to install and run ndnSIM on Raspberry Pi? So, I am afraid that I cannot help you with that? >> >> But I am really interested in hearing back from you, shall you need any further assistance or if you manage to install and run ndnSIM on Raspberry Pi! It would be great if you can make it! >> >> Thank you! >> >> -- >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> PhD Computer Science >> UCLA >> >> >> >> >> >>> On Sep 28, 2015, at 9:26 AM, Andr? Luiz Nasserala Pires wrote: >>> >>> Hello, >>> >>> I I want to know if there is the possibility of installing ndnSIM in Raspberry Pi? >>> >>> If someone has already done, in which OS was? >>> >>> Thanks, >>> >>> Andr? >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From aa at CS.UCLA.EDU Wed Sep 30 14:52:21 2015 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 30 Sep 2015 14:52:21 -0700 Subject: [ndnSIM] Install ndnSIM on Raspbaerry Pi In-Reply-To: References: Message-ID: <21962F03-B39E-4FD7-94FD-7280BD131322@cs.ucla.edu> Andr?, I wonder why do you want to run simulator on a such constrained platform? Normally, you do exactly the opposite, you simulate (e.g., distributed communication) on a very powerful host. If you meant that you want to run NDN forwarder and experiment with NDN platform on constrained platform such as Raspberry Pi, then Daniel and Chaim gave you the answers. I would like to add a few links to wiki pages that describe how to make NDN platform working on embedded devices: - http://redmine.named-data.net/projects/ndn-embedded/wiki/Cross-compiling_NDN_projects_for_Raspberry_Pi - https://www.gitbook.com/book/schwannden/ndn-on-galileo/details - http://redmine.named-data.net/projects/ndn-embedded/wiki/Cross-compiling_NDN_projects_for_home_routers For RaspberyPi2, we also have an unofficial image with NFD and libraries pre-installed. --- Alex > On Sep 28, 2015, at 9:26 AM, Andr? Luiz Nasserala Pires wrote: > > Hello, > > I I want to know if there is the possibility of installing ndnSIM in Raspberry Pi? > > If someone has already done, in which OS was? > > Thanks, > > Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From tanzil.eee at gmail.com Wed Sep 30 17:57:08 2015 From: tanzil.eee at gmail.com (Shahrear Tanzil) Date: Wed, 30 Sep 2015 17:57:08 -0700 Subject: [ndnSIM] Producer having Specific Content Message-ID: Hello, I would to simulate a scenario where different producers can store different but specific contents. For example, there are two contents and producer1 is going to cache only the first content and producer2 is caching the second content always irrespective of the incoming interest. Is there any way in ndnSIM to simulate this? -- Kind Regards, S.M. Shahrear Tanzil Graduate Research Assistant University of British Columbia -------------- next part -------------- An HTML attachment was scrubbed... URL: From poschdaniel2 at gmail.com Wed Sep 30 23:17:10 2015 From: poschdaniel2 at gmail.com (Daniel Posch) Date: Thu, 1 Oct 2015 08:17:10 +0200 Subject: [ndnSIM] Install ndnSIM on Raspbaerry Pi In-Reply-To: References: <57ADCDBD-81EF-4CB9-A3C6-B3EC820D0ABC@cs.ucla.edu> <560C2C1A.3020803@gmail.com> Message-ID: <560CCFE6.3040400@gmail.com> Hello, maybe there is a small misunderstanding. As I wrote before we are not using ndnSIM on PIs, however, we developed a kind of a framework that let you easily deploy an NDN network on a set of PIs. We did not change a lot in the source code of the NFD (besides disabling signatures as the PIs have to less computing resources), but we modified the available Bananian Image (https://www.bananian.org/download) to support everything one need to perform significant emulations. You can deploy an arbitrary network topology on a set of PIs, just as you can do with ndnSIM and run your custom applications on them. This will allow researchers to validate whether their achieved results with ndnSIM are also valid for the real world, on a real network using physical links! We are aware that the NDN community already maintains a testbed (http://named-data.net/ndn-testbed/). But within this testbed you can not just modify core parts of the NFD without interfering with others. We think it is essential that each research group has its own testbed. This allows researches to play with the core parts of the NFD without interfering with others, just as with the simulator, but on real hardware. The costs to setup your own testbed are quite low. For each PI we roughly paid 150? including everything (cables, casing, SD/SSD, power supply, etc.). For the whole testbed consisting out of 20 Pis, a gateway and two 24-port switches we paid less than 3000?. The nice thing is that the costs scale linearly with the number of PIs. So if you want to have a 50 node network you can estimate that you will need a budget of about 150*50=7500?. Best Regards Daniel On 09/30/2015 10:49 PM, Lixia Zhang wrote: >> On Sep 30, 2015, at 11:38 AM, Daniel Posch wrote: >> >> Hello! >> >> we are actually maintaining a testbed of about 20 Pi's running NDN/NFD. We had to customize quite a lot, but we are going to release a working image. This image will include everything one need to deploy a own testbed (in no time). However, the release is scheduled for January 2016, but maybe we finish earlier. If you are interested I can post on the mailing list once we release the image. >> >> Best Regards >> Daniel > this sounds fantastic. > Once your work is released, I wonder if it could be linked to ndnSIM website, so that others can easily find all such useful resources. > > >> Am 30.09.2015 um 20:14 schrieb Spyridon (Spyros) Mastorakis: >>> Hi Andre, >>> >>> I have never tried to install and run ndnSIM on Raspberry Pi? So, I am afraid that I cannot help you with that? >>> >>> But I am really interested in hearing back from you, shall you need any further assistance or if you manage to install and run ndnSIM on Raspberry Pi! It would be great if you can make it! >>> >>> Thank you! >>> >>> -- >>> Spyridon (Spyros) Mastorakis >>> Personal Website: http://cs.ucla.edu/~mastorakis/ >>> Internet Research Laboratory >>> PhD Computer Science >>> UCLA >>> >>> >>> >>> >>> >>>> On Sep 28, 2015, at 9:26 AM, Andr? Luiz Nasserala Pires wrote: >>>> >>>> Hello, >>>> >>>> I I want to know if there is the possibility of installing ndnSIM in Raspberry Pi? >>>> >>>> If someone has already done, in which OS was? >>>> >>>> Thanks, >>>> >>>> Andr? >>>> >>>> _______________________________________________ >>>> 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 >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From renaldybrada at students.telkomuniversity.ac.id Sun Sep 13 19:48:22 2015 From: renaldybrada at students.telkomuniversity.ac.id (renaldybrada at students.telkomuniversity.ac.id) Date: Mon, 14 Sep 2015 02:48:22 -0000 Subject: [ndnSIM] WafError : Missing Node Signature Message-ID: <12fdd34d44a6ff7eba1a9e27036391f9@students.telkomuniversity.ac.id> Hi, I'm trying to running the stateful forwarding code here https://github.com/cawka/ndnSIM-comcom-stateful-fw I've clone the prerequisites successfully as Mr. Afanasyef instructed (the older version of ns-3). I can configure the ns-3 with ./waf configure --boost-libs=/usr/lib/x86_64-linux-gnu (my system can't detect boost libraries automatically, so I have to manually located the boost lib). And it's works. And when I want to install the ns (with ./waf install), I got some errors. It says : WafError: Missing node signature for ../ns-3/build/src/emu/ns3-dev-emu-sock-creator-debug (required by {task 140238309580752: inst ns3-dev-emu-sock-creator-debug -> }) What is really happen? Am I have to installed the older version of boost libs? Or Am I configuring the .waf wrongly? I've attached the complete errors. I'm sorry for my bad English. I'll appreciate any answers. Thank you! _____________________________________________________________________ Telkom University - Creating The Future Powered by SISFO Telkom University -------------- next part -------------- A non-text attachment was scrubbed... Name: error ns-3.png Type: image/png Size: 143652 bytes Desc: not available URL: