<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-21339912</id><updated>2025-09-08T10:59:13.144+09:00</updated><category term="online"/><category term="tutorial"/><category term="tips"/><category term="simulator"/><category term="simulation"/><category term="tools"/><category term="trace"/><category term="download"/><category term="exercise"/><category term="wireless"/><category term="adhoc"/><category term="cygwin"/><category term="install"/><category term="nodes"/><category term="manual"/><category term="p2p"/><category term="protocol"/><category term="queue"/><category term="routing"/><category term="source code"/><category term="tcp"/><category term="ubuntu"/><category term="analysis"/><category term="bittorrent"/><category term="c"/><category term="debug"/><category term="evaluation"/><category term="event"/><category term="forum"/><category term="linux"/><category term="module"/><category term="multicast"/><category term="ns-3"/><category term="research"/><category term="video"/><category term="agent"/><category term="analyze"/><category term="aodv"/><category term="awk"/><category term="bandwidth"/><category term="book"/><category term="build"/><category term="c++"/><category term="classifier"/><category term="comic"/><category term="configure"/><category term="congestion"/><category term="data collection"/><category term="emulation"/><category term="extension"/><category term="fec"/><category term="gpsr"/><category term="guide"/><category term="hack"/><category term="implementation"/><category term="initialization"/><category term="installation"/><category term="internet"/><category term="jxta"/><category term="karmic koala"/><category term="lan"/><category term="language"/><category term="libraries"/><category term="link"/><category term="m/d/1"/><category term="matlab"/><category term="media"/><category term="memory"/><category term="mesh"/><category term="metrics"/><category term="monitor"/><category term="nam"/><category term="network"/><category term="network performance"/><category term="news"/><category term="newsgroups"/><category term="ns-miracle"/><category term="omnet++"/><category term="packet"/><category term="perl"/><category term="ping"/><category term="power management"/><category term="real"/><category term="release"/><category term="scheduler"/><category term="scheduling"/><category term="sensor"/><category term="smulation"/><category term="solution"/><category term="statistical"/><category term="streaming"/><category term="tcpeval"/><category term="testing"/><category term="thesis"/><category term="tic-toc"/><category term="topology"/><category term="trace graph"/><category term="traffic generator"/><category term="udp"/><category term="website"/><category term="wimax"/><category term="xml"/><title type='text'>Network Simulator, NS-2 Blog</title><subtitle type='html'>Network Simulator, NS-2 Blog</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default?alt=atom&amp;redirect=false'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default?alt=atom&amp;start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>69</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-21339912.post-214660986291702530</id><published>2010-04-08T23:21:00.001+09:00</published><updated>2010-04-08T23:23:09.060+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adhoc"/><category scheme="http://www.blogger.com/atom/ns#" term="bittorrent"/><category scheme="http://www.blogger.com/atom/ns#" term="p2p"/><category scheme="http://www.blogger.com/atom/ns#" term="wireless"/><title type='text'>Adapting BitTorrent to wireless ad hoc networks</title><content type='html'>&lt;div style=&quot;text-align: auto;&quot;&gt;  &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; &quot;&gt;&lt;p style=&quot;text-align: left; &quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;By : &lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;a href=&quot;http://www-sop.inria.fr/members/Mohamed_Karim.Sbai/index.php/home&quot; style=&quot;text-decoration: none; color: rgb(0, 153, 0); &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;Mohamed Karim Sbai&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www-sop.inria.fr/planete/personnel/Chadi.Barakat/&quot; target=&quot;_blank&quot; style=&quot;text-decoration: none; color: rgb(0, 153, 0); &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;Chadi Barakat&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;, Jaeyoung Choi,&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; &quot;&gt;&lt;strong&gt;&lt;a href=&quot;http://www-sop.inria.fr/planete/alhamra/&quot; target=&quot;_blank&quot; style=&quot;text-decoration: none; color: rgb(0, 153, 0); &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;Anwar AlHamra&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt; and &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www-sop.inria.fr/rodeo/personnel/Thierry.Turletti/me.html&quot; target=&quot;_blank&quot; style=&quot;text-decoration: none; color: rgb(0, 153, 0); &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;Thierry Turletti&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;Abstract:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; &quot;&gt;&lt;span style=&quot;font-size: medium; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;BitTorrent is one of the Internet&#39;s most efficient content distribution protocols. It is known to perform very well over the wired Internet where end-to-end performance is almost guaranteed. However, in wireless ad hoc networks, many constraints appear as the scarcity of resources and their shared nature, which make running BitTorrent with its default configuration not lead to best performances. To these constraints it adds the fact that peers are both routers and end-users and that TCP-performance drops seriously with the number of hops. We show in this work that the neighbor selection mechanism in BitTorrent plays an important role in determining the performance of the protocol when deployed over a wireless ad hoc network. It is no longer efficient to choose and treat with peers independently of their location. A first solution is to limit the scope of the neighborhood. In this case, TCP connections are fast but there is no more diversity of pieces in the network: pieces propagate in a unique direction from the seed to distant peers. This prohibits peers from reciprocating data and leads to low sharing ratios and suboptimal utilization of network resources. To recover from these impairments, we propose an enhancement to BitTorrent which aims to minimize the time to download the content and at the same time to enforce cooperation among peers. Our solution considers a restricted neighborhood to reduce routing overhead and to improve throughput, while establishing few connections to remote peers to improve diversity of pieces. With the help of extensive NS-2 simulations, we show that these enhancements to BitTorrent significantly improve the file completion time while fully profiting from the incentives implemented in BitTorrent to enforce fair sharing.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left; &quot;&gt;&lt;span style=&quot;font-size: medium; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 12px; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;Paper:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;Mohamed Karim Sbai, Chadi Barakat, Jaeyoung Choi, Anwar Al Hamra, Thierry Turletti, &quot;Adapting BitTorrent to wireless ad hoc networks&quot; to appear in proceedings of 7th International conference on ad hoc networks and wireless 2008 (AD-HOC NOW), Sophia Antipolis, France, September 2008. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://planete.inria.fr/personnel/Mohamed_Karim.Sbai/BitTorrent/paper.pdf&quot; style=&quot;text-decoration: none; color: rgb(0, 153, 0); &quot;&gt;&lt;span style=&quot;font-size: medium; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;download&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 14pt; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;NS-2 Simulator code and scripts:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;Click&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www-sop.inria.fr/members/Mohamed_Karim.Sbai/images/stories/ext_com.png&quot; style=&quot;text-decoration: none; color: rgb(0, 153, 0); &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium; &quot;&gt;&lt;a href=&quot;http://www-sop.inria.fr/members/Mohamed_Karim.Sbai/images/stories/zip/code.zip&quot; style=&quot;text-decoration: none; color: rgb(0, 153, 0); &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium; &quot;&gt;&lt;span style=&quot;font-size: 12pt; &quot;&gt;&lt;span style=&quot;font-family: arial, helvetica, sans-serif; &quot;&gt; to download code.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt; &lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/214660986291702530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/214660986291702530?isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/214660986291702530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/214660986291702530'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2010/04/adapting-bittorrent-to-wireless-ad-hoc.html' title='Adapting BitTorrent to wireless ad hoc networks'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-1570889906808286238</id><published>2010-04-08T23:16:00.002+09:00</published><updated>2010-04-08T23:19:02.022+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sensor"/><category scheme="http://www.blogger.com/atom/ns#" term="wireless"/><title type='text'>Mannasim : Wireless Sensor Networks simulation environment</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/S73lva6fJ0I/AAAAAAAAEvA/EhxK5tjbgSw/s1600/mannasim.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 87px;&quot; src=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/S73lva6fJ0I/AAAAAAAAEvA/EhxK5tjbgSw/s400/mannasim.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5457770926284154690&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; line-height: 20px; &quot;&gt;&lt;p&gt;&lt;a href=&quot;http://www.mannasim.dcc.ufmg.br/&quot;&gt;Mannasim&lt;/a&gt; is a Wireless Sensor Networks simulation environment comprised of two solutions:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;the &lt;a href=&quot;http://www.mannasim.dcc.ufmg.br/howto.htm&quot;&gt;Mannasim Framework&lt;/a&gt;;&lt;/li&gt;&lt;li&gt;the &lt;a href=&quot;http://www.mannasim.dcc.ufmg.br/msg.htm&quot;&gt;Script Generator Tool&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The Mannasim Framework is a module for WSN simulation based on the&lt;a href=&quot;http://www.isi.edu/nsnam/ns/&quot;&gt;Network Simulator (NS-2)&lt;/a&gt;. Mannasim extends NS-2 introducing new modules for design, development and analysis of different WSN applications.&lt;/p&gt;&lt;p&gt;The Script Generator Tool (SGT) is a front-end for &lt;a href=&quot;http://tcl.sourceforge.net/&quot;&gt;TCL&lt;/a&gt; simulation scripts easy creation. SGT comes blunded with Mannasim Framework and it&#39;s written in pure &lt;a href=&quot;http://java.sun.com/&quot;&gt;Java&lt;/a&gt; making it plataform independent.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;a href=&quot;http://www.mannasim.dcc.ufmg.br/download.htm&quot;&gt;Download and install Mannasim right now!&lt;/a&gt;&lt;/p&gt;&lt;h3 class=&quot;h3&quot; style=&quot;color: rgb(140, 209, 252); font-style: normal; &quot;&gt;Mannasim Objectives&lt;/h3&gt;&lt;p&gt;Mannasim goal is to develop a detailed simulation framework, which can accurately model different sensor nodes and applications while providing a versatile testbed for algorithms and protocols.&lt;/p&gt;&lt;p&gt;Numerous challenges make the study of real deployed sensor networks very difficult and financially infeasible. At the current stage of the technology, a practical way to study WSNs is through simulations that can provide a meaningful perspective of the behavior and performance of various algorithms.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/1570889906808286238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/1570889906808286238?isPopup=true' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/1570889906808286238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/1570889906808286238'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2010/04/mannasim-wireless-sensor-networks.html' title='Mannasim : Wireless Sensor Networks simulation environment'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_G_H8VJDtezw/S73lva6fJ0I/AAAAAAAAEvA/EhxK5tjbgSw/s72-c/mannasim.jpg" height="72" width="72"/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-7728963563502936547</id><published>2009-11-09T14:36:00.004+09:00</published><updated>2009-11-09T14:49:05.660+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="karmic koala"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>How to install ns-2.34 on Ubuntu 9.10 Karmic Koala</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/Sves1q3zgLI/AAAAAAAADs4/CVrNuAAbvWI/s1600-h/ubuntu-karmic-koala.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 250px;&quot; src=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/Sves1q3zgLI/AAAAAAAADs4/CVrNuAAbvWI/s400/ubuntu-karmic-koala.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5401976316095594674&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you are planning to install the latest ns-2.34 on Ubuntu 9.10 Karmic Koala, here are some basic steps&lt;br /&gt;&lt;br /&gt;1. Download ns-allinone-2.34.tar from &lt;a href=&quot;http://sourceforge.net/projects/nsnam/&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;2. Place it in somewhere, e.g. /home/simulator, then extract it.&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ cd /home/simulator&lt;br /&gt;$ tar -xvf ns-allinone-2.34.tar&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. Download &amp;amp; install some packages from repository&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ sudo apt-get install build-essential autoconf automake libxmu-dev&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4. Install the ns2&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ cd ns-allinone-2.34&lt;br /&gt;$ ./install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5. You might face problem with the installation of otcl-1.13, the problem can be due to the gcc-4.4.1 / g++-4.4.1 compilers. But please try this :&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;sudo apt-get install g++-4.3&lt;br /&gt;CC=gcc-4.3 CXX=g++-4.3 ./install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;try to edit the Makefile.in too&lt;br /&gt;&lt;code&gt;&lt;br /&gt;From :&lt;br /&gt;CC=       @CC@&lt;br /&gt;&lt;br /&gt;to :&lt;br /&gt;CC=       gcc-4.3&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;6. Edit some paths ==a&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ gedit ~/.bashrc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Put these lines on that file. Off course, you might change /home/simulator for it depends on where you extract ns-allinone-2.34.tar.&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;# LD_LIBRARY_PATH&lt;br /&gt;OTCL_LIB=/home/simulator/ns-allinone-2.34/otcl-1.13&lt;br /&gt;NS2_LIB=/home/simulator/ns-allinone-2.34/lib&lt;br /&gt;X11_LIB=/usr/X11R6/lib&lt;br /&gt;USR_LOCAL_LIB=/usr/local/lib&lt;br /&gt;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB&lt;br /&gt;&lt;br /&gt;# TCL_LIBRARY&lt;br /&gt;TCL_LIB=/home/simulator/ns-allinone-2.34/tcl8.4.18/library&lt;br /&gt;USR_LIB=/usr/lib&lt;br /&gt;export TCL_LIBRARY=$TCL_LIB:$USR_LIB&lt;br /&gt;&lt;br /&gt;# PATH&lt;br /&gt;XGRAPH=/home/simulator/ns-allinone-2.34/bin:/home/simulator/ns-allinone-2.34/tcl8.4.18/unix:/home/simulator/ns-allinone-2.34/tk8.4.18/unix&lt;br /&gt;NS=/home/simulator/ns-allinone-2.34/ns-2.34/&lt;br /&gt;NAM=/home/simulator/ns-allinone-2.34/nam-1.13/&lt;br /&gt;export PATH=$PATH:$XGRAPH:$NS:$NAM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7. Validate it&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ cd ns-2.34&lt;br /&gt;$ ./validate&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7. (Optionally) You can create a symlink, so that ns can be called from everywhere&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ sudo ln -s /home/simulator/ns-allinone-2.34/ns-2.34/ns /usr/bin/ns&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8. Try to run it.&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;$ ns&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[&lt;a href=&quot;http://www.linuxquestions.org/questions/linux-networking-3/ns-installation-wo&quot;&gt;via&lt;/a&gt;]&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/7728963563502936547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/7728963563502936547?isPopup=true' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/7728963563502936547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/7728963563502936547'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2009/11/how-to-install-ns-234-on-ubuntu-910.html' title='How to install ns-2.34 on Ubuntu 9.10 Karmic Koala'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_G_H8VJDtezw/Sves1q3zgLI/AAAAAAAADs4/CVrNuAAbvWI/s72-c/ubuntu-karmic-koala.jpg" height="72" width="72"/><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-351146130939629595</id><published>2009-04-29T17:02:00.003+09:00</published><updated>2009-04-29T17:09:35.619+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="book"/><title type='text'>Book : Introduction to Network Simulator NS2</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/SfgKqj-fvXI/AAAAAAAADW8/ZP4fFJywAKE/s1600-h/Introduction-to-ns2-book.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 241px; height: 400px;&quot; src=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/SfgKqj-fvXI/AAAAAAAADW8/ZP4fFJywAKE/s400/Introduction-to-ns2-book.JPG&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5330021885321133426&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;a href=&quot;http://www.amazon.com/gp/product/0387717595?ie=UTF8&amp;tag=ablogofanunfi-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0387717595&quot;&gt;Introduction to Network Simulator NS2&lt;/a&gt;&lt;img src=&quot;http://www.assoc-amazon.com/e/ir?t=ablogofanunfi-20&amp;l=as2&amp;o=1&amp;a=0387717595&quot; width=&quot;1&quot; height=&quot;1&quot; border=&quot;0&quot; alt=&quot;&quot; style=&quot;border:none !important; margin:0px !important;&quot; /&gt; is a primer providing materials for NS2 beginners, whether students, professors, or researchers for understanding the architecture of Network Simulator 2 (NS2) and for incorporating simulation modules into NS2. The authors discuss the simulation architecture and the key components of NS2 including simulation-related objects, network objects, packet-related objects, and helper objects.&lt;br /&gt;&lt;br /&gt;The NS2 modules included within are nodes, links, SimpleLink objects, packets, agents, and applications. Further, the book covers three helper modules: timers, random number generators, and error models. Also included are chapters on summary of debugging, variable and packet tracing, result compilation, and examples for extending NS2. Two appendices provide the details of scripting language Tcl, OTcl and AWK, as well object oriented programming used extensively in NS2.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.amazon.com/gp/product/0387717595?ie=UTF8&amp;tag=ablogofanunfi-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0387717595&quot;&gt;Introduction to Network Simulator NS2&lt;/a&gt;&lt;img src=&quot;http://www.assoc-amazon.com/e/ir?t=ablogofanunfi-20&amp;l=as2&amp;o=1&amp;a=0387717595&quot; width=&quot;1&quot; height=&quot;1&quot; border=&quot;0&quot; alt=&quot;&quot; style=&quot;border:none !important; margin:0px !important;&quot; /&gt; can be used by researchers, professionals or graduate students studying telecommunication networks.&lt;br /&gt;&lt;br /&gt;Written for:&lt;br /&gt;Researchers in the industry working in the area of telecommunications networking, professors, and senior undergraduate and graduate students&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?t=ablogofanunfi-20&amp;o=1&amp;p=8&amp;l=as1&amp;asins=0387717595&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/351146130939629595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/351146130939629595?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/351146130939629595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/351146130939629595'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2009/04/book-introduction-to-network-simulator.html' title='Book : Introduction to Network Simulator NS2'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_G_H8VJDtezw/SfgKqj-fvXI/AAAAAAAADW8/ZP4fFJywAKE/s72-c/Introduction-to-ns2-book.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-5682182607229463905</id><published>2008-10-15T20:43:00.000+09:00</published><updated>2008-10-15T20:52:41.343+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="matlab"/><category scheme="http://www.blogger.com/atom/ns#" term="trace"/><category scheme="http://www.blogger.com/atom/ns#" term="trace graph"/><title type='text'>Trace graph - Network Simulator NS-2 trace files analyser</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/SPXYgxGhVcI/AAAAAAAACwU/kqCkSBlt6VE/s1600-h/tracegraph.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/SPXYgxGhVcI/AAAAAAAACwU/kqCkSBlt6VE/s400/tracegraph.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5257346197473023426&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Trace graph is a free network trace files analyser developed for network simulator ns-2 trace processing. Trace graph can support any trace format if converted to its own or ns-2 trace format. Trace graph runs under Windows, Linux, UNIX and MAC OS systems. Trace converter processes traces over 80x faster and is available to buy.&lt;br /&gt;&lt;br /&gt;Supported ns-2 trace file formats:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;wired&lt;br /&gt;&lt;/li&gt;&lt;li&gt;satellite&lt;br /&gt;&lt;/li&gt;&lt;li&gt;wireless (old and new trace)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;new trace&lt;br /&gt;&lt;/li&gt;&lt;li&gt;wired-wireless.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Some of the program features (version 2.05):&lt;br /&gt;&lt;ul&gt;&lt;li&gt;238 2D graphs&lt;br /&gt;&lt;/li&gt;&lt;li&gt;12 3D graphs&lt;br /&gt;&lt;/li&gt;&lt;li&gt;delays, jitter, processing times, round trip times, throughput graphs and statistics&lt;br /&gt;&lt;/li&gt;&lt;li&gt;whole network, link and node graphs and statistics&lt;br /&gt;&lt;/li&gt;&lt;li&gt;all the results can be saved to text files, graphs can also be saved as jpeg and tiff&lt;br /&gt;&lt;/li&gt;&lt;li&gt;x, y, z axes information: minimum, mean, maximum, standard deviation, median&lt;br /&gt;&lt;/li&gt;&lt;li&gt;any graph saved in text file with 2 or 3 columns can be plotted&lt;br /&gt;&lt;/li&gt;&lt;li&gt;script files processing to do the analysis automatically.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Installation instructions on Linux:&lt;br /&gt;1)Download tracegraph and mglinstaller from the webpage&lt;br /&gt;Check Trace graph download page: &lt;a href=&quot;http://www.tracegraph.com/download.html&quot;&gt;http://www.tracegraph.com/download.html&lt;/a&gt;&lt;br /&gt;Choose Linux version and download mglinstaller.&lt;br /&gt;2) tar -xvzf tracegraph202.linux.tar.gz&lt;br /&gt;3) gunzip mglinstaller.gz&lt;br /&gt;4) You have to uncompress the file &quot;mglinstaller.gz&quot; and after doing it you will get the file &quot;mglinstaller&quot;.&lt;br /&gt;Now, there&#39;s no need to use chmod to change the rights and run ./mglinstaller.(or) Just do &quot;sh mglinstaller&quot; and&lt;br /&gt;the script will do the rest for you.&lt;br /&gt;5)set the environment path variable...&lt;br /&gt;setenv LD_LIBRARY_PATH /home/nmahali/trace/tracegraph202/bin/glnx86/&lt;br /&gt;to check whether the variable is set properly u can just type $LD_LIBRARY_PATH Architecture&lt;br /&gt;of the path variable setting:: if new variable then setenv path&lt;br /&gt;if already existing then setenv {$}.&lt;br /&gt;&lt;br /&gt;Installation instructions on Windows:&lt;br /&gt;1)Download tracegraph and mglinstaller from the page make sure it is windows version &lt;a href=&quot;http://www.tracegraph.com/download.html&quot;&gt;http://www.tracegraph.com/download.html&lt;/a&gt;&lt;br /&gt;2)unzip tracegraph202.zip to say, D:\&lt;br /&gt;3)execute mglinstaller.exe, when it asks for directory name, enter D:\tracegraph202&lt;br /&gt;4) add D:\tracegraph202\bin\win32 to your environment PATH&lt;br /&gt;5)how to add to environment PATH??&lt;br /&gt;right click on Mycomputer and select properties&lt;br /&gt;From properties select Advanced tab&lt;br /&gt;Select environment path variables&lt;br /&gt;Select PATH and add your path to it&lt;br /&gt;Thats it tracegraph is now ready!!&lt;br /&gt;This is the procedure i followed while installing tracegraph on both windows and linux (if you dont have matlab installed on your machine.)&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.tracegraph.com/download.html&quot;&gt;Download&lt;/a&gt; Trace graph and Trace converter.&lt;br /&gt;&lt;br /&gt;Trace graph was presented at &lt;a href=&quot;http://www.ists.pwr.wroc.pl/isat/&quot;&gt;ISAT 2003&lt;/a&gt; (Information Systems Architecture and Technology) conference. Click &lt;a href=&quot;http://www.tracegraph.com/conference.html&quot;&gt;here&lt;/a&gt; to read the conference paper.&lt;br /&gt;&lt;br /&gt;[&lt;a href=&quot;http://www.tracegraph.com/&quot;&gt;via&lt;/a&gt;]&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/5682182607229463905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/5682182607229463905?isPopup=true' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/5682182607229463905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/5682182607229463905'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2008/10/trace-graph-network-simulator-ns-2.html' title='Trace graph - Network Simulator NS-2 trace files analyser'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_G_H8VJDtezw/SPXYgxGhVcI/AAAAAAAACwU/kqCkSBlt6VE/s72-c/tracegraph.jpg" height="72" width="72"/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-1552348886977010453</id><published>2008-10-13T11:19:00.000+09:00</published><updated>2008-10-13T11:24:46.159+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04</title><content type='html'>This is an example of the NS2-AllInOne-2.33 installation for Ubuntu 8.04.&lt;br /&gt;&lt;br /&gt;Download the most recent Ns-2-AllinOne-2.33 from &lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=149743&amp;package_id=169584&amp;release_id=588644&quot;&gt;Sourceforge&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Suppose that there is &quot;ns-allinone-2.33.tar.gz&quot; in current directory (e.g. &quot;~/&quot; for me is &quot;/home/mm&quot;).&lt;br /&gt;All steps are done in Terminal, so open a terminal in Accessories/Terminal.&lt;br /&gt;&lt;br /&gt;To extract the file:&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;tar xvfz ./ns-allinone-2.33.tar.gz&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Go into extracted directory:&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;cd ns-allinone-2.33&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Download required packages:&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;sudo apt-get install build-essential autoconf automake libxmu-dev&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Start installation:&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;./install&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set environment parameter:&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;gedit ~/.bashrc&lt;/span&gt;&lt;br /&gt;Then at the last line, append the following text with changing &quot;/your/path&quot; to the directory that contains &quot;ns-allinone-2.33&quot;. (e.g. &quot;/home/mm/&quot; )&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;# LD_LIBRARY_PATH&lt;br /&gt;OTCL_LIB=/home/mm/ns-allinone-2.33/otcl-1.13&lt;br /&gt;NS2_LIB=/home/mm/ns-allinone-2.33/lib&lt;br /&gt;X11_LIB=/usr/X11R6/lib&lt;br /&gt;USR_LOCAL_LIB=/usr/local/lib&lt;br /&gt;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB&lt;br /&gt;&lt;br /&gt;# TCL_LIBRARY&lt;br /&gt;TCL_LIB=/home/mm/ns-allinone-2.33/tcl8.4.18/library&lt;br /&gt;USR_LIB=/usr/lib&lt;br /&gt;export TCL_LIBRARY=$TCL_LIB:$USR_LIB&lt;br /&gt;&lt;br /&gt;# PATH&lt;br /&gt;XGRAPH=/home/mm/ns-allinone-2.33/bin:/home/mm/ns-allinone-2.33/tcl8.4.18/unix:/home/mm/ns-allinone-2.33/tk8.4.18/unix&lt;br /&gt;NS=/home/mm/ns-allinone-2.33/ns-2.33/&lt;br /&gt;NAM=/home/mm/ns-allinone-2.33/nam-1.13/&lt;br /&gt;PATH=$PATH:$XGRAPH:$NS:$NAM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[&lt;a href=&quot;http://suchaxplore.blogspot.com/2008/07/install-ns2-allinone-233-on-ubuntu-804.html&quot;&gt;via&lt;/a&gt;]&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/1552348886977010453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/1552348886977010453?isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/1552348886977010453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/1552348886977010453'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2008/10/how-to-install-ns-2-allinone-233-on.html' title='How to install Ns-2-AllinOne-2.33 on Ubuntu 8.04'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-9097088514285292622</id><published>2008-09-10T11:10:00.000+09:00</published><updated>2008-09-10T11:15:12.399+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="extension"/><category scheme="http://www.blogger.com/atom/ns#" term="lan"/><category scheme="http://www.blogger.com/atom/ns#" term="power management"/><category scheme="http://www.blogger.com/atom/ns#" term="wireless"/><title type='text'>Wireless LAN Power Management Extension for ns-2</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://2.bp.blogspot.com/_G_H8VJDtezw/SMctEV77xKI/AAAAAAAACrQ/aDTkwygQF_o/s1600-h/nam.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;http://2.bp.blogspot.com/_G_H8VJDtezw/SMctEV77xKI/AAAAAAAACrQ/aDTkwygQF_o/s400/nam.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5244209843727484066&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Wireless LAN (IEEE 802.11) power management extension. (&lt;a href=&quot;http://nspme.sourceforge.net/index.html&quot;&gt;Website&lt;/a&gt;)&lt;br /&gt;This supports legacy power save functions defined with IEEE 802.11.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Features&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Supports legacy power management functions defined with IEEE 802.11.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Supports PS-Mode AP and STA in infrastructure mode.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Supports calculation of power consumption of each nodes.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Based on ns-2.33.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;How to use&lt;/span&gt;&lt;br /&gt;See sample script at: tcl/ex/powersave.tcl&lt;br /&gt;&lt;br /&gt;Access point node can be configured with DTIM period by the following command.&lt;br /&gt;&lt;br /&gt;  $mac_(ap_node) set DTIMPeriod_ 1&lt;br /&gt;STA node can be configured as PS-Mode by the following command.&lt;br /&gt;&lt;br /&gt;  $mac_(sta_node) set isPowerSave_ true&lt;br /&gt;To setup the power configuration, use $ns node-config parameters like as:&lt;br /&gt;&lt;br /&gt;   $ns_ node-config .... \&lt;br /&gt;    -txPower 0.660 \&lt;br /&gt;    -rxPower 0.395 \&lt;br /&gt;    -idlePower 0.035 \&lt;br /&gt;    -sleepPower 0.001 \&lt;br /&gt;    -initialEnergy 1000&lt;br /&gt;After simulation, you can show the remaining node energy by the following command:&lt;br /&gt;&lt;br /&gt;   puts [$node_(sta_node) energy]&lt;br /&gt;You can check node behaviors with nam tool.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Authors:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;System Platforms Research Laboratories, NEC Corporation.&lt;br /&gt;Makoto Fujinami &lt;mfujinami at users.sourceforge.net&gt;&lt;br /&gt;Yoshinori Miyamoto &lt;y-miyamoto at users.sourceforge.net&gt;&lt;br /&gt;Takuya Murakami &lt;tmurakamnec at users.sourceforge.net&gt;&lt;br /&gt;&lt;br /&gt;Download files from &lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=237230&quot;&gt;Project Website&lt;/a&gt;.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/9097088514285292622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/9097088514285292622?isPopup=true' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/9097088514285292622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/9097088514285292622'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2008/09/wireless-lan-power-management-extension.html' title='Wireless LAN Power Management Extension for ns-2'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_G_H8VJDtezw/SMctEV77xKI/AAAAAAAACrQ/aDTkwygQF_o/s72-c/nam.png" height="72" width="72"/><thr:total>17</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-8573841605995878893</id><published>2008-07-01T14:34:00.000+09:00</published><updated>2008-07-01T14:36:42.890+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ns-3"/><category scheme="http://www.blogger.com/atom/ns#" term="release"/><title type='text'>ns-3.1 Stable Release</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;The first ns-3 stable release&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This release is immediately available from:&lt;br /&gt;&lt;a href=&quot;http://www.nsnam.org/releases/ns-3.1.tar.bz2&quot;&gt;http://www.nsnam.org/releases/ns-3.1.tar.bz2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;What is ns-3 ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ns-3 is a new discrete-event network simulator designed for supporting&lt;br /&gt;network research and education. ns-3 features a solid, well documented&lt;br /&gt;C++ core and models for TCP/IP (IPv4), several link types including&lt;br /&gt;WiFi, and mobility models.&lt;br /&gt;&lt;br /&gt;ns-3 is an open source project released under the GNU GPLv2 license&lt;br /&gt;which allows anyone to use ns-3 without having to pay any license fee or&lt;br /&gt;royalties. ns-3 is actively seeking new contributors to extend the range&lt;br /&gt;of supported models and/or to maintain existing models.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;br /&gt;Where to get more information about ns-3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All the ns-3 documentation, is accessible from the ns-3 website:&lt;br /&gt;&lt;a href=&quot;http://www.nsnam.org&quot;&gt;http://www.nsnam.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Including, tutorials:&lt;br /&gt;&lt;a href=&quot;http://www.nsnam.org/tutorials.html&quot;&gt;http://www.nsnam.org/tutorials.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Supported platforms&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ns-3 is regularly tested on the following platforms:&lt;br /&gt;  - linux x86 gcc 4.2, 4.1, and, 3.4.6.&lt;br /&gt;  - linux x86_64 gcc 4.1.3, 4.2.1, 3.4.6&lt;br /&gt;  - MacOS X ppc and x86&lt;br /&gt;  - cygwin gcc 3.4.4 (debug only)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Known issues&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ns-3 is known to fail on the following platforms:&lt;br /&gt;  - gcc 3.3 and earlier&lt;br /&gt;  - optimized builds on gcc 3.4.4 and 3.4.5&lt;br /&gt;  - optimized builds on linux x86 gcc 4.0.x&lt;br /&gt;&lt;br /&gt;The IPv4 API defined in src/node/ipv4.h is expected to undergo major&lt;br /&gt;changes in preparation of the merge of the IPv6 API and implementation.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Future releases&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Our next release, which is expected to happen in 2 to 4 months from now,&lt;br /&gt;will feature the merging of some of our projects currently in&lt;br /&gt;development: python scripting, IPv6, emulation, a statistics framework&lt;br /&gt;and synchronous posix sockets.&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/8573841605995878893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/8573841605995878893?isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/8573841605995878893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/8573841605995878893'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2008/07/ns-31-stable-release.html' title='ns-3.1 Stable Release'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-1213197523284218881</id><published>2008-01-11T15:50:00.000+09:00</published><updated>2008-12-09T20:02:35.331+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="evaluation"/><category scheme="http://www.blogger.com/atom/ns#" term="guide"/><category scheme="http://www.blogger.com/atom/ns#" term="tcpeval"/><category scheme="http://www.blogger.com/atom/ns#" term="tools"/><title type='text'>An NS2 TCP Evaluation Tool: Installation Guide and Tutorial</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://1.bp.blogspot.com/_G_H8VJDtezw/R4cStODn1hI/AAAAAAAABb8/45vxXNZfBj4/s1600-h/tcpeval.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;http://1.bp.blogspot.com/_G_H8VJDtezw/R4cStODn1hI/AAAAAAAABb8/45vxXNZfBj4/s400/tcpeval.JPG&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5154108866625525266&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A TCP performance evaluation tool for the network simulator NS2 has been developed. This &lt;a href=&quot;http://labs.nec.com.cn/tcpeval/tcpeval-manual.pdf&quot;&gt;document&lt;/a&gt; describes how to install and use this tool.&lt;br /&gt;&lt;br /&gt;Researchers frequently use the network simulator NS2 to evaluate the performance of their protocols in the early stage of design. One particular area of recent intest is the congestion control protocols (a.k.a., TCP alternatives) for high-speed, long-delay networks. There is significant overlap among (but lack of a community-agreed set of) the topologies, traffic, and metrics used by many researchers in the evaluation of TCP alternatives: effort could be saved by starting research from an existing framework. As such, we developed a TCP performance evaluation tool. This tool includes several typical topologies and traffic models; it measures some of the most important metrics commonly used in TCP evaluation; and it can automatically generate simulation statistics and graphs ready for inclusion in latex and html documents. The tool is very easy to use and contains an extendable open-source framework.&lt;br /&gt;&lt;br /&gt;This tool can be used not only for high-speed TCP protocols, but for other proposed changes to congestion control mechanisms as well, such as ECN added to SYN/ACK packets, changes to make small transfers more robust, changes in RTO estimation, and proposals to distinguish between loss due to congestion or corruption, etc.&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/tcp&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;tcp&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/evaluation&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;evaluation&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/tool&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;tool&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/1213197523284218881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/1213197523284218881?isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/1213197523284218881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/1213197523284218881'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2008/01/ns2-tcp-evaluation-tool-installation.html' title='An NS2 TCP Evaluation Tool: Installation Guide and Tutorial'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_G_H8VJDtezw/R4cStODn1hI/AAAAAAAABb8/45vxXNZfBj4/s72-c/tcpeval.JPG" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-5930920773575154380</id><published>2007-11-02T12:12:00.000+09:00</published><updated>2007-11-02T12:16:27.294+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mesh"/><category scheme="http://www.blogger.com/atom/ns#" term="wireless"/><title type='text'>IEEE 802.16 Wireless Mesh Networks in ns-2</title><content type='html'>This is a patch to the Network Simulator 2 (ns-2) that allows IEEE 802.16d Wireless Mesh Networks to be simulated. &lt;span style=&quot;font-style:italic;&quot;&gt;No support to the Point-to-Multipoint mode is included in this patch. Only the Mesh mode.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is the first public release of the this software. Therefore, it is expected that some problems that have not surfaced while we were using the simulator will happen to you.&lt;br /&gt;&lt;br /&gt;The functions for enabling data transmission at the MAC layer are fully implemented. Access to the data sub-frame is negotiated by means of the three-way handshake specified by the standard, while scheduling is implemented according to the Fair End-to-end Bandwidth Access (FEBA) algorithm described in a &lt;a href=&quot;http://dx.doi.org/10.1109/INFCOM.2007.244&quot;&gt;technical paper&lt;/a&gt; presented at IEEE INFOCOM 2006. Access to the control sub-frame is implemented according to the standard distributed election procedure described in a tutorial manner in &lt;a href=&quot;http://doi.acm.org/10.1145/1298126.1298181&quot;&gt;this paper&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Installation&lt;br /&gt;&lt;br /&gt;To install the patch, follow the instructions below:&lt;br /&gt;&lt;br /&gt;   1. download the &lt;a href=&quot;http://downloads.sourceforge.net/nsnam/ns-allinone-2.31.tar.gz?modtime=1173548159&amp;big_mirror=0&quot;&gt;ns-allinone-2.31&lt;/a&gt; package from SourceForge&lt;br /&gt;   2. unpack the file that you just downloaded in your preferred location (let us assume the location is /usr/local). This will create a directory named /usr/local/ns-allinone-2.31&lt;br /&gt;   3. download the latest &lt;a href=&quot;http://info.iet.unipi.it/~cng/ns2mesh80216/ns2mesh80216-2.31-071030.patch.gz&quot;&gt;ns2mesh80216 patch&lt;/a&gt; (let us assume that you downloaded the file in /tmp)&lt;br /&gt;   4. apply the patch, by executing the following command:&lt;br /&gt;      &#39;cd /usr/local/ns-allinone-2.31/ns-2.31 ; \&lt;br /&gt;      gzip -dc /tmp/ns2mesh80216-2.31-071030.patch.gz | patch -Np1&#39;&lt;br /&gt;   5. compile the all-in-one patched ns-2.31, by executing the following command:&lt;br /&gt;      &#39;/usr/local/ns-allinone-2.31/install&#39; &lt;br /&gt;&lt;br /&gt;You are now ready to run the Tcl scenario example wimax/tcl/mesh.tcl. You will find many useful pointers on what-to-do-next in the same directory.&lt;br /&gt;&lt;br /&gt;The ns2mesh80216 patch includes the following modules:&lt;br /&gt;&lt;br /&gt;    * ns2measure (more information available &lt;a href=&quot;http://info.iet.unipi.it/~cng/ns2measure/&quot;&gt;here&lt;/a&gt;)&lt;br /&gt;    * ns2voip (more information available &lt;a href=&quot;http://info.iet.unipi.it/~cng/ns2voip/&quot;&gt;here&lt;/a&gt;) &lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/wireless&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;wireless&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/mesh&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;mesh&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns-2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns-2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/IEEE&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;IEEE&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/802.16&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;802.16&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/5930920773575154380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/5930920773575154380?isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/5930920773575154380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/5930920773575154380'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/11/ieee-80216-wireless-mesh-networks-in-ns.html' title='IEEE 802.16 Wireless Mesh Networks in ns-2'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-4541994175719178286</id><published>2007-07-04T17:02:00.000+09:00</published><updated>2008-12-09T20:02:35.737+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="libraries"/><category scheme="http://www.blogger.com/atom/ns#" term="ns-miracle"/><title type='text'>NS-MIRACLE: Multi-InteRfAce Cross-Layer Extension library for the Network Simulator</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/RotVDrOsO0I/AAAAAAAAAzs/STllvutcvsI/s1600-h/network.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/RotVDrOsO0I/AAAAAAAAAzs/STllvutcvsI/s400/network.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5083250126050048834&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Overview&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NS-MIRACLE is a set of libraries designed to enhance the functionalities provided by the Network Simulator ns2. It provides an efficient and embedded engine for handling cross-layer messages and, at the same time, enables the co-existance of multiple modules within each layer of the protocol stack. For instance, multiple IP, link layers, MACs or physical layers can be specified and used within the same node. The NS-MIRACLE framework facilitates the implementation and the simulation of modern communication systems in ns2; moreover, due to its modularity, the code will be portable, re-usable and extensible. (&lt;a href=&quot;http://www.dei.unipd.it/wdyn/?IDfile=3098&amp;IDsezione=3966&quot;&gt;Download&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For step-by-step installation instructions, you can refer to the &lt;a href=&quot;http://www.dei.unipd.it/%7Ebaldo/nsmiracle-dei80211mr-howto.html&quot;&gt;nsmiracle-dei80211mr tutorial&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Documentation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A detailed documentation of ns-miracle is available. Please note that this documentation was written for a preliminary release of ns-miracle, and is therefore somehow outdated.&lt;br /&gt;&lt;br /&gt;You can find the documentation &lt;a href=&quot;http://www.dei.unipd.it/%7Emaguolof/doc-ns-miracle&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In this release, in addition to MIRACLE library, it is included a set of libraries to simulate wireless system networks, in detail:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Traffic generators&lt;/li&gt;&lt;li&gt;TCP Agents&lt;/li&gt;&lt;li&gt;IP modules&lt;/li&gt;&lt;li&gt;IEEE802.11 (both the one from standard ns distribution and Multirate [2])&lt;/li&gt;&lt;li&gt;MPhy, a general physical layer module in which interference of&lt;/li&gt;&lt;li&gt;in-flight packets is evaluated using a Gaussian Model, and an enhanced&lt;/li&gt;&lt;li&gt;propagation model is provided (fading with Jakes Simulator, shadowing&lt;/li&gt;&lt;li&gt;with Gudmonson model and path loss with Hata model)&lt;/li&gt;&lt;li&gt;UMTS:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Link layer is derived from eurane extension [3]&lt;/li&gt;&lt;li&gt;Physical layer is develpoed exteding Mphy&lt;/li&gt;&lt;li&gt;Link and Wireless Channel&lt;/li&gt;&lt;li&gt;physical mobility models (standard and Gauss Markov mobility model)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/library&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;library&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns-miracle&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns-miracle&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/physical&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;physical&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/layer&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;layer&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/4541994175719178286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/4541994175719178286?isPopup=true' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/4541994175719178286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/4541994175719178286'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/07/ns-miracle-multi-interface-cross-layer.html' title='NS-MIRACLE: Multi-InteRfAce Cross-Layer Extension library for the Network Simulator'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_G_H8VJDtezw/RotVDrOsO0I/AAAAAAAAAzs/STllvutcvsI/s72-c/network.jpg" height="72" width="72"/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-4583435463698759148</id><published>2007-07-03T22:06:00.000+09:00</published><updated>2008-12-09T20:02:36.102+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gpsr"/><category scheme="http://www.blogger.com/atom/ns#" term="routing"/><title type='text'>Greedy Perimeter Stateless Routing (GPSR)</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/RopKxrOsOzI/AAAAAAAAAzk/JlXvE76kO50/s1600-h/organic-star-routing1.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/RopKxrOsOzI/AAAAAAAAAzk/JlXvE76kO50/s400/organic-star-routing1.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5082957346719415090&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;GPSR: Greedy Perimeter Stateless Routing code for version 2.26 or later (till 2.29 now). Download my implementation &lt;a href=&quot;http://www.cs.binghamton.edu/%7Ekliu/research/ns2code/GPSR_KeLiu_SUNY_Binghamton.tgz&quot;&gt;tarball&lt;/a&gt;&lt;br /&gt;You can obtain its original implementation through &lt;a href=&quot;http://www.cs.cmu.edu/%7Ebkarp/gpsr/gpsr.html&quot;&gt;GPSR official link&lt;/a&gt; which is just for old version of ns2.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Since this implementation is original based on ns2 version 2.26, you need to be careful to deal with it when you use a later vesion. Especially the ns-packet.tcl file, you need to do the change by yourself. The one in my tarball may not be suitable for you to use.&lt;/li&gt;&lt;li&gt;This implementation consists of 2 parts exactly the same as proposed by the original GPSR paper, and is a little bit different from the orginial ns2 implementation (see through the link above).&lt;/li&gt;&lt;li&gt;This implementation is a pure Stateless implementation, where the routing decision of each packet on any node is made purely only on the local information (one-hop neighborhood)&lt;/li&gt;&lt;li&gt;Both GG and RNG planarization methods are provided by this implementation. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;blockquote&gt;In wireless networks comprised of numerous mobile stations, the routing problem of finding paths from a traffic source to a traffic destination through a series of intermediate forwarding nodes is particularly challenging. When nodes move, the topology of the network can change rapidly. Such networks require a responsive routing algorithm that finds valid routes quickly as the topology changes and old routes break. Yet the limited capacity of the network channel demands efficient routing algorithms and protocols, that do not drive the network into a congested state as they learn new routes. The tension between these two goals, responsiveness and bandwidth efficiency, is the essence of the mobile routing problem.&lt;br /&gt;&lt;br /&gt;Greedy Perimeter Stateless Routing, GPSR, is a responsive and efficient routing protocol for mobile, wireless networks. Unlike established routing algorithms before it, which use graph-theoretic notions of shortest paths and transitive reachability to find routes, GPSR exploits the correspondence between geographic position and connectivity in a wireless network, by using the positions of nodes to make packet forwarding decisions. GPSR uses greedy forwarding to forward packets to nodes that are always progressively closer to the destination. In regions of the network where such a greedy path does not exist (i.e., the only path requires that one move temporarily farther away from the destination), GPSR recovers by forwarding in perimeter mode, in which a packet traverses successively closer faces of a planar subgraph of the full radio network connectivity graph, until reaching a node closer to the destination, where greedy forwarding resumes.&lt;br /&gt;&lt;br /&gt;GPSR will allow the building of networks that cannot scale using prior routing algorithms for wired and wireless networks. Such classes of networks include:&lt;br /&gt;&lt;br /&gt; &lt;li&gt;Sensor networks: potentially mobile, potentially great density, vast numbers of nodes, impoverished per-node resources&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Rooftop networks: fixed, dense deployment of vast numbers of nodes&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Vehicular networks: mobile, non-power-constrained, widely varying density&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Ad-hoc networks: mobile, varying density, no fixed infrastructure&lt;/li&gt;&lt;/blockquote&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/GPSR&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;GPSR&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/Greedy&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;Greedy&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/Perimeter&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;Perimeter&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/Stateless&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;Stateless&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/Routing&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;Routing&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/code&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;code&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/4583435463698759148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/4583435463698759148?isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/4583435463698759148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/4583435463698759148'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/07/greedy-perimeter-stateless-routing-gpsr.html' title='Greedy Perimeter Stateless Routing (GPSR)'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_G_H8VJDtezw/RopKxrOsOzI/AAAAAAAAAzk/JlXvE76kO50/s72-c/organic-star-routing1.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-294106993954229794</id><published>2007-06-03T21:29:00.000+09:00</published><updated>2007-07-03T21:54:22.820+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="trace"/><category scheme="http://www.blogger.com/atom/ns#" term="wireless"/><title type='text'>How to interprete the NS2 tracefile for wireless simulation</title><content type='html'>&lt;p&gt;To find the interpretation of all possible trace format when you do the wireless simulation, you&#39;d better read the code of ns2 in file &lt;em&gt;ns2home/trace/cmu-trace{.h, .cc}&lt;/em&gt; Mostly, the format would be as &lt;pre&gt;&lt;font color=&quot;#ff0000&quot;&gt;ACTION: [s|r|D]: s -- sent, r -- received, D -- dropped&lt;br /&gt;WHEN: the time when the action happened&lt;br /&gt;WHERE: the node where the action happened&lt;br /&gt;LAYER: AGT -- application, &lt;br /&gt; RTR -- routing, &lt;br /&gt; LL  -- link layer (ARP is done here)&lt;br /&gt; IFQ -- outgoing packet queue (between link and mac layer)&lt;br /&gt; MAC -- mac, &lt;br /&gt; PHY -- physical&lt;br /&gt;flags:&lt;br /&gt;SEQNO: the sequence number of the packet&lt;br /&gt;TYPE: the packet type&lt;br /&gt;  cbr -- CBR data stream packet&lt;br /&gt;  DSR -- DSR routing packet (control packet generated by routing)&lt;br /&gt;  RTS -- RTS packet generated by MAC 802.11&lt;br /&gt;  ARP -- link layer ARP packet&lt;br /&gt;SIZE: the size of packet at current layer, when packet goes down, size increases, goes up size decreases&lt;br /&gt;[a b c d]: a -- the packet duration in mac layer header&lt;br /&gt;  b -- the mac address of destination&lt;br /&gt;  c -- the mac address of source&lt;br /&gt;  d -- the mac type of the packet body&lt;br /&gt;flags:&lt;br /&gt;[......]: [&lt;br /&gt;  source node ip : port_number&lt;br /&gt;  destination node ip (-1 means broadcast) : port_number&lt;br /&gt;  ip header ttl &lt;br /&gt;  ip of next hop (0 means node 0 or broadcast)&lt;br /&gt;  ]&lt;/font&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br&gt;So we can interpret the below trace &lt;pre&gt;&lt;strong&gt;s 76.000000000 _98_ AGT  --- 1812 cbr 32 [0 0 0 0] ------- [98:0 0:0 32 0]&lt;/strong&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;as &lt;font color=&quot;#0000ff&quot;&gt;Application 0 (port number) on node 98 sent a CBR packet whose ID is 1812 and size is 32 bytes, at time 76.0 second, to application 0 on node 0 with TTL is 32 hops. The next hop is not decided yet.&lt;/font&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br&gt;And we can also interpret the below trace &lt;/p&gt;&lt;pre&gt;&lt;strong&gt;r 0.010176954 _9_ RTR  --- 1 gpsr 29 [0 ffffffff 8 800] ------- [8:255 -1:255 32 0]&lt;/strong&gt;&lt;br /&gt;&lt;/pre&gt;in the same way, as &lt;font color=&quot;#0000ff&quot;&gt;The routing agent on node 9 received a GPSR broadcast (mac address 0xff, and ip address is -1, either of them means broadcast) routing packet whose ID is 1 and size is 19 bytes, at time 0.010176954 second, from node 8 (both mac and ip addresses are 8), port 255 (routing agent).&lt;/font&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/294106993954229794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/294106993954229794?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/294106993954229794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/294106993954229794'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/06/how-to-interprete-ns2-tracefile-for.html' title='How to interprete the NS2 tracefile for wireless simulation'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-7837667974054270020</id><published>2007-05-24T01:47:00.000+09:00</published><updated>2008-12-09T20:02:36.286+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="network performance"/><category scheme="http://www.blogger.com/atom/ns#" term="trace"/><category scheme="http://www.blogger.com/atom/ns#" term="video"/><title type='text'>Video Traces for Network Performance Evaluation</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://1.bp.blogspot.com/_G_H8VJDtezw/RlRxQAd6GLI/AAAAAAAAAl0/QvrezjkQ2A4/s1600-h/13-02.gif&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: center; cursor: pointer;&quot; src=&quot;http://1.bp.blogspot.com/_G_H8VJDtezw/RlRxQAd6GLI/AAAAAAAAAl0/QvrezjkQ2A4/s400/13-02.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5067800000515938482&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To obtain video trace for network performance evaluation, you can download them at &lt;a href=&quot;http://trace.eas.asu.edu/tracemain.html&quot;&gt;Arizone State University (ASU) website&lt;/a&gt;. The traces have been generated from encodings of several videos of typically 60 minutes length each. ASU provide traces for videos encoded with MPEG-4 Part 2, H.261, H.263 and H.264/AVC. For MPEG-4 Part 2 traces for single layer encoded video, temporal scalable, spatial scalable (two-layer) encoded video, as well as fine grain scalable video. For H.264/AVC ASU provide traces for up to high definition resolution video.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://trace.eas.asu.edu/tracemain.html&quot;&gt;Site Link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/video&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;video&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/trace&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;trace&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/arizona&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;arizona&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/state&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;state&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/university&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;university&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/performance&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;performance&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/evaluation&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;evaluation&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/7837667974054270020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/7837667974054270020?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/7837667974054270020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/7837667974054270020'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/05/video-traces-for-network-performance.html' title='Video Traces for Network Performance Evaluation'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_G_H8VJDtezw/RlRxQAd6GLI/AAAAAAAAAl0/QvrezjkQ2A4/s72-c/13-02.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-122674763115375608</id><published>2007-05-10T02:29:00.000+09:00</published><updated>2008-12-09T20:02:36.507+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="download"/><category scheme="http://www.blogger.com/atom/ns#" term="internet"/><category scheme="http://www.blogger.com/atom/ns#" term="traffic generator"/><title type='text'>Web Traffic Generation in NS-2 with PackMime-HTTP</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://2.bp.blogspot.com/_G_H8VJDtezw/RkIF58H2qSI/AAAAAAAAAjs/DWRf0KnG4Xw/s1600-h/PM-architecture.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: center; cursor: pointer;&quot; src=&quot;http://2.bp.blogspot.com/_G_H8VJDtezw/RkIF58H2qSI/AAAAAAAAAjs/DWRf0KnG4Xw/s400/PM-architecture.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5062615424067610914&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Implementation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The ns network simulator has objects called &quot;Applications&quot; that control data transfer in a simulation. These Applications communicate via &quot;Agents&quot; which represent the transport layer of the network. PackMimeHTTP is the ns object that drives the generation of HTTP traffic. Each PackMimeHTTP object controls the operation of two types of Applications, a PackMimeHTTP server Application and a PackMimeHTTP client Application. Each of these Applications is conncted to a TCP Agent (Full-TCP).&lt;br /&gt;&lt;br /&gt;Each web server or web client cloud is represented by a single ns node that can produce and consume multiple HTTP connections at a time (Figure 1). For each HTTP connection, PackMimeHTTP creates (or allocates from the inactive pool, as described below) server and client Applications and their associated TCP Agents. After setting up and starting each connection, PackMimeHTTP sets a timer to expire when the next new connection should begin. The time between new connections is governed by the connection rate parameter supplied by the user. New connections are started according to the connection arrival times without regard to the completion of previous requests, but a new request between the same client and server pair (as with HTTP 1.1) begins only after the previous request-response pair has been completed.&lt;br /&gt;&lt;br /&gt;PackMimeHTTP handles the re-use of Applications and Agents that have completed their data transfer. There are 5 pools used to maintain Applications and Agents -- one pool for inactive TCP Agents and one pool each for active and inactive client and server Applications. The pools for active Applications ensure that all active Applications are destroyed when the simulation is finished. Active TCP Agents do not need to be placed in a pool beacuse each active Application contains a pointer to its associated TCP Agent. New objects are only created when there are no Agents or Applications available in the inactive pools.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;PackMimeHTTP Client Application&lt;/span&gt;&lt;br /&gt;Each PackMimeHTTP client controls the HTTP request sizes that are transferred. The client is started when a new TCP connection is started. Each PackMimeHTTP client takes the following steps:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;    sample the number of requests for this connection from the number-of-requests distribution (if the number of requests is 1, this is an HTTP 1.0 connection)&lt;/li&gt;&lt;li&gt;    sample the inter-request times from the inter-request-time distribution, if there will be more than 1 request&lt;/li&gt;&lt;li&gt;    sample the HTTP request sizes from the request-size distribution&lt;/li&gt;&lt;li&gt;    send the first HTTP request to the server&lt;/li&gt;&lt;li&gt;    listen for the HTTP response&lt;/li&gt;&lt;li&gt;    when the entire HTTP response has been received, the client sets a timer to expire when the next request should be made&lt;/li&gt;&lt;li&gt;    when the timer expires, the next HTTP request is sent, and the above process is repeated until all requests have been completed &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;PackMimeHTTP Server Application&lt;/span&gt;&lt;br /&gt;Each web server controls the response sizes that are transferred. The server is started by when a new TCP connection is started. Each PackMimeHTTP client takes the following steps:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;    listen for an HTTP request from the associated client&lt;/li&gt;&lt;li&gt;    when the entire request arrives, the server samples the server delay time from the server delay distribution&lt;/li&gt;&lt;li&gt;    set a timer to expire when the server delay has passed&lt;/li&gt;&lt;li&gt;    when the timer expires, the server samples the HTTP response sizes from the HTTP response size distribution&lt;/li&gt;&lt;li&gt;    this process is repeated until the requests are exhausted -- the server is told how many requests will be sent in the connection&lt;/li&gt;&lt;li&gt;    send a FIN to close the connection &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;PackMimeHTTP Random Variables&lt;/span&gt;&lt;br /&gt;This implementation of PackMimeHTTP provides several ns RandomVariable objects for specifying distributions of PackMimeHTTP connection variables. The implementations were taked from source code provided by Bell Labs and modified to fit into the ns RandomVariable framework. This allows PackMimeHTTP connection variables to be specified by any type of ns RandomVariable, which now include PackMimeHTTP-specific random variables. The PackMimeHTTP-specific random variable syntax for TCL scripts is as follows:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;    RandomVariable/PackMimeHTTPFlowArrive rate, where rate is the specified PackMimeHTTP connection rate&lt;/li&gt;&lt;li&gt;    RandomVariable/PackMimeHTTPFileSize rate type, where type is 0 for HTTP requests and 1 for HTTP responses&lt;/li&gt;&lt;li&gt;    RandomVariable/PackMimeHTTPXmit rate type, where type is 0 for client-side transmission delays and 1 for server-side transmission delays&lt;/li&gt;&lt;/ul&gt;For installation, more info &lt;a href=&quot;http://dirt.cs.unc.edu/packmime/#Installation&quot;&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/Web&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;Web&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/Traffic&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;Traffic&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/Generation&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;Generation&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/PackMime-HTTP&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;PackMime-HTTP&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/122674763115375608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/122674763115375608?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/122674763115375608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/122674763115375608'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/05/web-traffic-generation-in-ns-2-with.html' title='Web Traffic Generation in NS-2 with PackMime-HTTP'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_G_H8VJDtezw/RkIF58H2qSI/AAAAAAAAAjs/DWRf0KnG4Xw/s72-c/PM-architecture.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-6786061966605245073</id><published>2007-05-06T01:52:00.000+09:00</published><updated>2008-12-09T20:02:36.651+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="media"/><category scheme="http://www.blogger.com/atom/ns#" term="real"/><category scheme="http://www.blogger.com/atom/ns#" term="streaming"/><category scheme="http://www.blogger.com/atom/ns#" term="video"/><title type='text'>Streaming Media System for NS-2</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/Rjy3_sH2qQI/AAAAAAAAAjc/7uP7gHR1ggI/s1600-h/mediaxpress.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/Rjy3_sH2qQI/AAAAAAAAAjc/7uP7gHR1ggI/s320/mediaxpress.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5061122386061338882&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Goddard Streaming Media System is streaming system (client and server) that be used in the NS simulator. Goddard (named after Robert Goddard, the &quot;Father of Modern Rocketry&quot;) is designed based on the behaviors of Real Networks streaming media and Windows Stream media, as observed in measurements studies from work at the &lt;a href=&quot;http://perform.wpi.edu/real-tracer&quot;&gt;Video Tracer&lt;/a&gt; project page.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://perform.wpi.edu/downloads/goddard/README&quot;&gt;README&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://perform.wpi.edu/downloads/goddard/INSTALL&quot;&gt;INSTALL&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://perform.wpi.edu/downloads/goddard/goddard-ns.tgz&quot;&gt;source&lt;/a&gt; (15 KB tgz, source code and README + INSTALL) &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Reference :&lt;/span&gt;&lt;br /&gt;Jae Chung, Mark Claypool, and Robert Kinicki. &lt;a href=&quot;ftp://ftp.cs.wpi.edu/pub/techreports/pdf/05-10.pdf&quot;&gt;MTP: A Streaming-Friendly Transport Protocol&lt;/a&gt;, Technical Report WPI-CS-TR-05-10, Computer Science Department, Worcester Polytechnic Institute, May 2005.&lt;br /&gt;Online at: &lt;a href=&quot;ftp://ftp.cs.wpi.edu/pub/techreports/pdf/05-10.pdf&quot;&gt;ftp://ftp.cs.wpi.edu/pub/techreports/pdf/05-10.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/real&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;real&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/streaming&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;streaming&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/media&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;media&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/system&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;system&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/multimedia&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;multimedia&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/video&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;video&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/6786061966605245073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/6786061966605245073?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/6786061966605245073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/6786061966605245073'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/05/streaming-media-system-for-ns-2.html' title='Streaming Media System for NS-2'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_G_H8VJDtezw/Rjy3_sH2qQI/AAAAAAAAAjc/7uP7gHR1ggI/s72-c/mediaxpress.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-2446997262084733420</id><published>2007-05-03T16:07:00.000+09:00</published><updated>2008-12-09T20:02:36.753+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="fec"/><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><category scheme="http://www.blogger.com/atom/ns#" term="simulator"/><title type='text'>Hacks : Adding Forward Error Correction (FEC) into NS-2 Sender &amp; Receiver Agents</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/RjmNFcH2qGI/AAAAAAAAAiM/xYVLS0hgT_c/s1600-h/bb_figure1.gif&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/RjmNFcH2qGI/AAAAAAAAAiM/xYVLS0hgT_c/s320/bb_figure1.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5060230780915460194&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;This is a hack for NS FEC sender and receiver agents. The sender agent waits for a request from the receiver and then sends the file. Below is a description on integration of these agents into NS. (For more information, please refer to the ping tutorial)&lt;br /&gt;&lt;br /&gt;Forward error correction (FEC) is a system of error control for data transmission, whereby the sender adds redundant data to its messages, which allows the receiver to detect and correct errors (within some bound) without the need to ask the sender for additional data. The advantage of forward error correction is that retransmission of data can often be avoided, at the cost of higher bandwidth requirements on average, and is therefore applied in situations where retransmissions are relatively costly or impossible.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Steps :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Get the following files to put in your NS Agent C++ directory:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;FEC Agent fec.h fec.cc&lt;/li&gt;&lt;li&gt;          FEC Sender Agent fec_snd.h fec_snd.cc&lt;/li&gt;&lt;li&gt;FEC Receiver Agent fec_rcv.h fec_rcv.cc &lt;/li&gt;&lt;/ul&gt;&lt;li&gt;   2. Add fec.o, fec_snd.o, and fec_rcv.o to NS Makefile&lt;/li&gt;&lt;li&gt;   In packet.h, add &quot;PT_FEC,&quot; to the &quot;enum packet_t&quot; list and add &quot;name_[PT_FEC]= &quot;fec&quot;;&quot; to the class p_info p_info() function.&lt;/li&gt;&lt;li&gt;Perform a &quot;make depend&quot;. Ignore any warnings.&lt;/li&gt;&lt;li&gt;   Add the following to the end of tcl/lib/ns-default.tcl:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;      Agent/FEC/Snd set packetSize_ 64&lt;/li&gt;&lt;li&gt;      Agent/FEC/Snd set rate_ 100Kbps&lt;/li&gt;&lt;li&gt;      Agent/FEC/Snd set extraPkts_ 0&lt;/li&gt;&lt;li&gt;      Agent/FEC/Snd set debug_ false&lt;/li&gt;&lt;li&gt;      Agent/FEC/Rcv set debug_ false&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;   Add the following to the &quot;foreach pair&quot; list in tcl/lib/ns-packet.tcl:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;      { FEC off_fec_ }&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;   Run &quot;make&quot;&lt;/li&gt;&lt;li&gt;   Try ns on the example TCL script, fec.tcl&lt;/li&gt;&lt;li&gt;   You can also try this TCL multicast script, mfec.tcl &lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;Download the source files, &lt;a href=&quot;http://www.esnips.com/doc/afa4a6b0-9255-42af-8be1-ff766d4d0c2e/Adding-FEC-to-NS-2-agents&quot;&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/forward&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;forward&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/error&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;error&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/correction&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;correction&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/fec&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;fec&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/receiver&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;receiver&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/sender&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;sender&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/agent&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;agent&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/hack&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;hack&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/2446997262084733420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/2446997262084733420?isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/2446997262084733420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/2446997262084733420'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/05/hacks-adding-forward-error-correction.html' title='Hacks : Adding Forward Error Correction (FEC) into NS-2 Sender &amp; Receiver Agents'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_G_H8VJDtezw/RjmNFcH2qGI/AAAAAAAAAiM/xYVLS0hgT_c/s72-c/bb_figure1.gif" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-7604537880437579540</id><published>2007-05-02T13:24:00.000+09:00</published><updated>2008-12-09T20:02:36.931+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adhoc"/><category scheme="http://www.blogger.com/atom/ns#" term="download"/><category scheme="http://www.blogger.com/atom/ns#" term="module"/><category scheme="http://www.blogger.com/atom/ns#" term="wimax"/><title type='text'>The Design and Implementation of WiMAX Module for ns-2 Simulator</title><content type='html'>The Network Simulator 2 (ns-2) is a popular and powerful simulation tool for the simulation of packet-switched networks, which provides substantial support for simulation of TCP, routing, and MAC protocols over wired and wireless networks, such as wireless LANs, mobile ad hoc networks (MANETs), and satellite communications, etc, and is widely used in both academia and industry. Although many protocol modules have been implemented in the ns-2, the IEEE 802.16 broadband wireless access networks (BWANs) or WiMAX module has not been contributed yet. Thus, in this paper, we present our detailed design and implementation of the WiMAX module based on the IEEE 802.16 standard with the point-to-multipoint (PMP) mode for the ns-2. The implemented module comprises fundamental functions of the service-specific convergence sublayer (CS), the MAC common part sublayer (CPS), and the PHY layer. A simple call admission control (CAC) mechanism and the scheduler are also included in this module.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://1.bp.blogspot.com/_G_H8VJDtezw/RjgTAMH2qDI/AAAAAAAAAh0/bJ_cbYGHIgs/s1600-h/module.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;http://1.bp.blogspot.com/_G_H8VJDtezw/RjgTAMH2qDI/AAAAAAAAAh0/bJ_cbYGHIgs/s400/module.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5059815075325847602&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To install the patch, follow the instructions below:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download the software &lt;a href=&quot;http://ndsl.csie.cgu.edu.tw/ns_setup.rar&quot;&gt;cygwin&lt;/a&gt; and &lt;a href=&quot;http://prdownloads.sourceforge.net/nsnam/ns-allinone-2.29.3.tar.gz?download&quot;&gt;ns-allinone-2.29.3 package&lt;/a&gt;.(&lt;span style=&quot;font-style: italic;&quot;&gt;refer to this &lt;/span&gt;&lt;a style=&quot;font-style: italic;&quot; href=&quot;http://140.116.72.80/%7Esmallko/ns2/setup_en.htm&quot;&gt;website&lt;/a&gt;&lt;span style=&quot;font-style: italic;&quot;&gt; on how to setup cygwin + ns-2&lt;/span&gt;)&lt;/li&gt;&lt;li&gt;Download the latest &lt;a href=&quot;http://ndsl.csie.cgu.edu.tw/download.php&quot;&gt;ns-2 WiMAX module source code&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Decompress the &lt;a href=&quot;http://ndsl.csie.cgu.edu.tw/download.php&quot;&gt;ns-2 WiMAX module source code&lt;/a&gt; file which including three files : 802_16、common and queue.&lt;/li&gt;&lt;li&gt;Put the 802_16 into c:\cigwin\home\&quot;your_account&quot;\ns-allinone-2.28\ns-2.28\mac.&lt;/li&gt;&lt;li&gt;Move data for common and queue to c:\cigwin\home\&quot;your_account&quot;\ns-allinone-2.28\ns-2.28\common and queue respectively.&lt;/li&gt;&lt;li&gt;Renew your Makefile .&lt;/li&gt;&lt;li&gt;To compile your files by execute &quot;make&quot;.&lt;/li&gt;&lt;/ol&gt;                &lt;br /&gt;&lt;br /&gt;More &lt;a href=&quot;http://ndsl.csie.cgu.edu.tw/wimax_ns2.html&quot;&gt;info&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/wimax&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;wimax&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/802.11&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;802.11&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/tcp&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;tcp&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/mac&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;mac&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/protocol&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;protocol&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/mobile&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;mobile&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/adhoc&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;adhoc&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;  &lt;table style=&quot;width: 450px; height: 26px; color: rgb(0, 0, 153);&quot; border=&quot;2&quot; cellpadding=&quot;3&quot; cellspacing=&quot;0&quot;&gt;  &lt;tbody&gt;  &lt;tr&gt;  &lt;td width=&quot;100%&quot;&gt;  &lt;span style=&quot;font-weight: bold;&quot;&gt;Related Articles :&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://ns-2.blogspot.com/2007/04/simulation-of-bittorrent-peer-to-peer.html&quot;&gt;Simulation of BitTorrent Peer-to-Peer (P2P) Networks in ns-2&lt;/a&gt;&lt;/li&gt;  &lt;li&gt;  &lt;a href=&quot;http://ns-2.blogspot.com/2007/05/ns-2-emulation-extensions.html&quot;&gt;NS-2 Emulation Extensions&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://ns-2.blogspot.com/2007/04/peer-to-peer-p2p-simplified-protocol.html&quot;&gt;Peer-to-Peer (P2P) Simplified protocol&lt;/a&gt;&lt;/li&gt;  &lt;/ul&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;  &lt;/table&gt; &lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/7604537880437579540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/7604537880437579540?isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/7604537880437579540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/7604537880437579540'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/05/design-and-implementation-of-wimax.html' title='The Design and Implementation of WiMAX Module for ns-2 Simulator'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_G_H8VJDtezw/RjgTAMH2qDI/AAAAAAAAAh0/bJ_cbYGHIgs/s72-c/module.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-5302529339147124834</id><published>2007-05-01T09:41:00.000+09:00</published><updated>2008-12-09T20:02:36.951+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="download"/><category scheme="http://www.blogger.com/atom/ns#" term="emulation"/><category scheme="http://www.blogger.com/atom/ns#" term="simulator"/><category scheme="http://www.blogger.com/atom/ns#" term="tools"/><title type='text'>NS-2 Emulation Extensions</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/RjaNfcH2p6I/AAAAAAAAAgs/81ShOhAZvfY/s1600-h/image007.jpg&quot;&gt;&lt;img style=&quot;float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;&quot; src=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/RjaNfcH2p6I/AAAAAAAAAgs/81ShOhAZvfY/s400/image007.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5059386802661926818&quot; /&gt;&lt;/a&gt;&lt;br /&gt; The network simulator ns-2 is a widely accepted discrete event network simulator, actively used for wired and wireless network simulations. It has a highy detailed model of the lower layers (Physical and MAC) of wireless IEEE 802.11 networks.&lt;br /&gt;&lt;br /&gt;Ns-2 has also an &lt;a href=&quot;http://www.isi.edu/nsnam/ns/ns-emulation.html&quot;&gt;emulation feature&lt;/a&gt;, i.e. the ability to introduce the simulator into a live network and to simulate a desired network between real applications in real-time.&lt;br /&gt;&lt;br /&gt;Within the scope of this project we developed some methods and extensions to the ns-2 to combine wireless network simulation and network emulation. Now ns-2 can emulate an arbitrary IEEE 802.11 network between real applications. Furthermore, our extensions are generic, i.e. can be applied to any network supported in the ns-2.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www-ivs.cs.uni-magdeburg.de/EuK/forschung/projekte/nse/index.shtml&quot;&gt;NS-2 emulation extensions&lt;/a&gt; use two methods for network emulation: Single Host and Distributed Clients. In the first method the simulator and all the applications run on one computer. We use User-Mode-Linux virtual machines and emulate a ns-2 netwok among them. The applications run inside the virtual machines and do not notice that they communicate through a simulated network.&lt;br /&gt;&lt;br /&gt;In the Distributed Clients method we run the applications and the simulator on separated machines for better scalability. Here we use TUN/TAP virtual network interfaces and map them to nodes in the ns-2 simulator. The network among these TUN/TAP interfaces is again simulated. The applications interact with it in the same way they would interact with a real network.&lt;br /&gt;&lt;br /&gt;More &lt;a href=&quot;http://www-ivs.cs.uni-magdeburg.de/EuK/forschung/projekte/nse/index.shtml&quot;&gt;Info&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/emulation&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;emulation&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/extension&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;extension&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/physical&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;physical&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/layer&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;layer&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/MAC&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;MAC&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/wireless&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;wireless&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/5302529339147124834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/5302529339147124834?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/5302529339147124834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/5302529339147124834'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/05/ns-2-emulation-extensions.html' title='NS-2 Emulation Extensions'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_G_H8VJDtezw/RjaNfcH2p6I/AAAAAAAAAgs/81ShOhAZvfY/s72-c/image007.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-3431371967430557476</id><published>2007-04-30T01:19:00.000+09:00</published><updated>2008-12-09T20:02:37.043+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nam"/><category scheme="http://www.blogger.com/atom/ns#" term="online"/><category scheme="http://www.blogger.com/atom/ns#" term="simulator"/><category scheme="http://www.blogger.com/atom/ns#" term="tools"/><title type='text'>Extended Network Simulator NS-2 Nam Editor</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/RjTHIsH2p5I/AAAAAAAAAgk/k7MXER4O-8E/s1600-h/TopologyGeneration.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/RjTHIsH2p5I/AAAAAAAAAgk/k7MXER4O-8E/s400/TopologyGeneration.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5058887233540892562&quot; /&gt;&lt;/a&gt;&lt;br /&gt;The Extended Nam Editor is an editor that allows the graphical creation of ns2 scripts. It extends the basic Nam Editor with the following features:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;   Integration with existing topology generators&lt;/li&gt;&lt;li&gt;   Localization and visualization of set of nodes on large network topologies according to different selection criteria;&lt;/li&gt;&lt;li&gt;   Instantiation of agents of any types on all the nodes of a given node set;&lt;/li&gt;&lt;li&gt;   Definition of new node types;&lt;/li&gt;&lt;li&gt;   Support for simulations of web cache systems.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Topology Generator Interface&lt;/span&gt;&lt;br /&gt;The manual generation of complex Network Topology is a tedious and error prone activity.&lt;br /&gt;&lt;br /&gt;In order to simulate networks with realistic topologies, it is a common practice to use ad-hoc topology generators, whose output is usually not compatible with the ns2 syntax. Hence, several tools have been developed to translate topology descriptions generated by topology generators in ns-scripts that can be used in the definition of a simulation scenario.&lt;br /&gt;&lt;br /&gt;Unfortunately, scripts produced in this way are not compatible with the Nam Editor, hence networks created by common topology generators cannot be modified interactively. Such a limitation is sometimes annoying, in particular when the automatically generated topology needs to be further adapted, e.g. by instantiating agents on particular network nodes.&lt;br /&gt;&lt;br /&gt;Nam-Editor provides a graphical interface to:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;    GT-ITM topology generator;&lt;/li&gt;&lt;li&gt;    INET topology generator;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;It is now possible to create, visualize and modify topologies created according to the following topology models:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;   flat-itm;&lt;/li&gt;&lt;li&gt;   hierarchical-itm;&lt;/li&gt;&lt;li&gt;   transit-stub-itm;&lt;/li&gt;&lt;li&gt;   INET;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;More info &lt;a href=&quot;http://www.grid.unina.it/grid/ExtendedNamEditor/&quot;&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/topology&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;topology&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/generator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;generator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/gt-itm&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;gt-itm&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/inet&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;inet&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/nam&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;nam&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/editor&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;editor&lt;/a&gt;&lt;br /&gt; &lt;br/&gt; &lt;br/&gt; &lt;div&gt;  &lt;table border=&quot;2&quot; bordercolor=&quot;#000099&quot; cellpadding=&quot;3&quot; cellspacing=&quot;0&quot; style=&quot;WIDTH: 450px; HEIGHT: 26px&quot;&gt;  &lt;tbody&gt;  &lt;tr&gt;  &lt;td width=&quot;100%&quot;&gt;  &lt;span style=&quot;FONT-WEIGHT: bold&quot;&gt;Related Articles :&lt;br/&gt;  &lt;br/&gt;  &lt;/span&gt;  &lt;ul&gt;  &lt;li&gt;  &lt;a href=&quot;http://ns-2.blogspot.com/2007/11/ns-workbench-graphical-user-interface.html&quot;&gt;NS WorkBench : Graphical User Interface For Network Simulator&lt;/a&gt;&lt;/li&gt;  &lt;li&gt;  &lt;a href=&quot;http://ns-2.blogspot.com/2007/04/ns2measure-integrated-framework-for.html&quot;&gt;ns2measure : An Integrated Framework for Enabling Effective Data Collection and Statistical Analysis with ns2&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;  &lt;/table&gt; &lt;/div&gt; &lt;br/&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/3431371967430557476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/3431371967430557476'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/04/extended-network-simulator-ns-2-nam.html' title='Extended Network Simulator NS-2 Nam Editor'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_G_H8VJDtezw/RjTHIsH2p5I/AAAAAAAAAgk/k7MXER4O-8E/s72-c/TopologyGeneration.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-7530552276608501126</id><published>2007-04-28T01:12:00.000+09:00</published><updated>2008-12-09T20:02:37.202+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="analysis"/><category scheme="http://www.blogger.com/atom/ns#" term="data collection"/><category scheme="http://www.blogger.com/atom/ns#" term="online"/><category scheme="http://www.blogger.com/atom/ns#" term="statistical"/><category scheme="http://www.blogger.com/atom/ns#" term="tools"/><title type='text'>ns2measure : An Integrated Framework for Enabling Effective Data Collection and Statistical Analysis with ns2</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/RjIjwcH2p4I/AAAAAAAAAgQ/gydxrFG0EJo/s1600-h/it_infrastructure.jpg&quot;&gt;&lt;img style=&quot;float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;&quot; src=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/RjIjwcH2p4I/AAAAAAAAAgQ/gydxrFG0EJo/s400/it_infrastructure.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5058144646580316034&quot; /&gt;&lt;/a&gt;&lt;br /&gt;The Network Simulator 2 (ns2) is an open source tool for network simulation. When planning for large-scale simulation experiments, an efficient and flexible data collection and a statistically sound output data analysis are important aspects to keep in mind. Unfortunately, ns2 offers little support for data collection, and statistical analysis of the simulation results is most often performed offline, using either home made code or available packages, which are not integrated with ns2.&lt;br /&gt;&lt;br /&gt;In this site, you will find two complementary contributions:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;    the first one consists of a set of C++ modules, that allow a flexible and efficient data collection;&lt;/li&gt;&lt;li&gt;    the second one is a software framework, which is fully integrated with ns2, which performs all the operations required to carry out simulation experiments in a statistically sound way. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;To learn more about ns2measure, &lt;a href=&quot;http://info.iet.unipi.it/~cng/ns2measure/&quot;&gt;link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Reference :&lt;/span&gt;&lt;br /&gt;An Integrated Framework for Enabling Effective Data Collection and Statistical Analysis with ns2&lt;br /&gt;Claudio Cicconetti, Enzo Mingozzi, Giovanni Stea,&lt;br /&gt;Workshop on ns-2: the IP network simulator (WNS2)&lt;br /&gt;Pisa, Italy, October 10, 2006.&lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/ns2measure&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2measure&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/data&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;data&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/collection&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;collection&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/statistical&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;statistical&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/analysis&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;analysis&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;  &lt;table style=&quot;width: 450px; height: 26px;color:#000099;&quot; border=&quot;2&quot; border cellpadding=&quot;3&quot; cellspacing=&quot;0&quot;&gt;  &lt;tbody&gt;  &lt;tr&gt;  &lt;td width=&quot;100%&quot;&gt;  &lt;span style=&quot;font-weight: bold;&quot;&gt;Related Articles :&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://ns-2.blogspot.com/2007/01/why-simulation-results-are-not-stable.html&quot;&gt;Why the simulation results are not stable?&lt;/a&gt;&lt;/li&gt;  &lt;li&gt;  &lt;a href=&quot;http://ns-2.blogspot.com/2007/11/ns-workbench-graphical-user-interface.html&quot;&gt;NS WorkBench : Graphical User Interface For Network Simulator&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;  &lt;/table&gt; &lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/7530552276608501126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/7530552276608501126?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/7530552276608501126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/7530552276608501126'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/04/ns2measure-integrated-framework-for.html' title='ns2measure : An Integrated Framework for Enabling Effective Data Collection and Statistical Analysis with ns2'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_G_H8VJDtezw/RjIjwcH2p4I/AAAAAAAAAgQ/gydxrFG0EJo/s72-c/it_infrastructure.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-8839319367705399055</id><published>2007-04-27T12:35:00.000+09:00</published><updated>2008-12-09T20:02:37.350+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="download"/><category scheme="http://www.blogger.com/atom/ns#" term="jxta"/><category scheme="http://www.blogger.com/atom/ns#" term="online"/><category scheme="http://www.blogger.com/atom/ns#" term="p2p"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>Peer-to-Peer (P2P) Simplified protocol</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/RjFwwcH2p1I/AAAAAAAAAf4/VyMPkWWcZis/s1600-h/image002.jpg&quot;&gt;&lt;img style=&quot;float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;&quot; src=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/RjFwwcH2p1I/AAAAAAAAAf4/VyMPkWWcZis/s320/image002.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5057947833998944082&quot; /&gt;&lt;/a&gt;&lt;br /&gt; P2PS (Peer-to-Peer Simplified) is a lightweight infrastructure for peer-to-peer service discovery and pipe-based communication. As its names suggests, P2PS aims to provide a simple platform on which to develop peer-to-peer style applications, hiding the complexity of other similar architectures such as JXTA.&lt;br /&gt;&lt;br /&gt;The P2PS protocols allow ad-hoc peer networks to be created containing everything from super-computer peers to PDAs. P2PS peers can create and advertise services within the network and discover the services offered by other peers. Services usually have at least one pipe associated, an abstract communication channel used to contact the service. Pipes are only bound to specific transport protocols (e.g. TCP/IP) at connection time and allow peers to communicate over multiple protocols.&lt;br /&gt;&lt;br /&gt;The current P2PS reference implementation is written using Java, however as P2PS is based on XML protocols interoperability should exist with other implementations. The Java implementation provides a straightforward API for creating and advertising a peer within a network and for discovering the capabilities of other peers. Pluggable endpoint resolvers allow additional transport protocols to be inserted transparently to the application.&lt;br /&gt;&lt;br /&gt;P2PS is an open-source project.&lt;br /&gt;&lt;br /&gt;The source code is available from the download section of this &lt;a href=&quot;http://www.trianacode.org/p2ps/download/index.html&quot;&gt;website&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;p&gt;tags: &lt;a href=&quot;http://www.technorati.com/tags/network&quot; rel=&quot;tag&quot;&gt;network&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/simulator&quot; rel=&quot;tag&quot;&gt;simulator&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/ns2&quot; rel=&quot;tag&quot;&gt;ns2&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/peer&quot; rel=&quot;tag&quot;&gt;peer&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/simplified&quot; rel=&quot;tag&quot;&gt;simplified&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/protocol&quot; rel=&quot;tag&quot;&gt;protocol&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/p2p&quot; rel=&quot;tag&quot;&gt;p2p&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/jxta&quot; rel=&quot;tag&quot;&gt;jxta&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/xml&quot; rel=&quot;tag&quot;&gt;xml&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/java&quot; rel=&quot;tag&quot;&gt;java&lt;/a&gt;&lt;/p&gt;&lt;br /&gt; &lt;br/&gt;&lt;div&gt;  &lt;table border=&quot;2&quot; bordercolor=&quot;#000099&quot; cellpadding=&quot;3&quot; cellspacing=&quot;0&quot; style=&quot;WIDTH: 450px; HEIGHT: 26px&quot;&gt;  &lt;tbody&gt;  &lt;tr&gt;  &lt;td width=&quot;100%&quot;&gt;  &lt;span style=&quot;FONT-WEIGHT: bold&quot;&gt;Related Articles :&lt;br/&gt;  &lt;br/&gt;  &lt;/span&gt;  &lt;ul&gt;  &lt;li&gt;  &lt;a href=&quot;http://ns-2.blogspot.com/2007/04/simulation-of-bittorrent-peer-to-peer.html&quot;&gt;Simulation of BitTorrent Peer-to-Peer (P2P) Networks in ns-2&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;  &lt;/table&gt; &lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/8839319367705399055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/8839319367705399055?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/8839319367705399055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/8839319367705399055'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/04/peer-to-peer-p2p-simplified-protocol.html' title='Peer-to-Peer (P2P) Simplified protocol'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_G_H8VJDtezw/RjFwwcH2p1I/AAAAAAAAAf4/VyMPkWWcZis/s72-c/image002.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-540072886723705883</id><published>2007-04-24T23:41:00.000+09:00</published><updated>2007-04-25T00:51:20.691+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bittorrent"/><category scheme="http://www.blogger.com/atom/ns#" term="p2p"/><category scheme="http://www.blogger.com/atom/ns#" term="source code"/><title type='text'>Simulation of BitTorrent Peer-to-Peer (P2P) Networks in ns-2</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Overview:&lt;/span&gt;&lt;br /&gt;Peer-to-peer (P2P) networks can reduce the distribution cost of large media files for the original provider of the data significantly. Thereby, the BitTorrent protocol is widely used in the Internet today. Most research work studies the protocol analytically, by simulations at the flow-level or real world experiments. Thereby, for flow-level simulations the influence of neglecting packet-level characteristics is not yet quantified.&lt;br /&gt;&lt;br /&gt;Therefore, we implemented a BitTorrent-like protocol for the network simulator ns-2. We denote it as BitTorrent-like, because we do not intend to implement a specific version of BitTorrent, but aim at assessing the differences between a full simulation of all network layers and simplified simulations on the application-layer. Thus, some functionalities were simplified and others were omitted. In detail, in our simulator no torrent file is used and the downloaded data is not checked for data integrity by hash values. The HTTP tracker protocol is not implemented. That is, all tracker traffic is directly given to the peers rather than being transmitted over the network. We use this simplification because we are predominantly interested in the efficiency of the data transfers between the peers. Each peer runs the original unchoking algorithm. Thereby, anti-snubbing and the endgame-mode are neglected. We omitted the endgame mode in our implementation because it is not clearly specified when a peer switches to the endgame mode. Hence, different implementations realize it differently. Furthermore, anti-snubbing was omitted because it can result in situations where a peer does not contribute its upload bandwidth although it can transfer data to other peers. This can cause inefficiency in the network.&lt;br /&gt;&lt;br /&gt;However, we implemented the super-seeding functionality because it improves considerably the performance for the flash crowd scenario. The BitTorrent implementation is modular. That is, the peer and the piece selection algorithms can be replaced by alternatives. Thus, different implementations of BitTorrent-like networks can be compared easily by simulations.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;br /&gt;Reference:&lt;/span&gt;&lt;br /&gt;K. Eger, T. Hoßfeld, A. Binzenhöfer, G. Kunzmann: &quot;Efficient Simulation of Large-Scale P2P Networks: Packet-level vs. Flow-level Simulations&quot;, 2nd Workshop on the Use of P2P, GRID and Agents for the Development of Content Networks (UPGRADE-CN&#39;07), in conjunction with 16th IEEE HPDC (High Performance Distributed Computing), June 25-29, 2007, Monterey Bay California, USA.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Source code:&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://www.esnips.com/doc/b6a6ce2e-7a84-46f9-9581-c312e7baaa23/bittorrent&quot;&gt;Patch for ns-allinone-2.29 &lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.esnips.com/doc/fcae8a64-1848-47ac-b516-e068852a76d2/bt_flashcrowd_star&quot;&gt;Sample script for packet-level simulation&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.esnips.com/doc/503b021b-fde8-4591-bcb9-10fc8eed8a32/bt_flashcrowd_flow&quot;&gt;Sample script for flow-level simulation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The patch changes the source code of &lt;span style=&quot;font-style:italic;&quot;&gt;agent.cc, agent.h, node.cc, node.h, tcp-full.cc, tcp-full.h&lt;/span&gt; and &lt;span style=&quot;font-style:italic;&quot;&gt;Makefile.in&lt;/span&gt;. Additionally, it adds the folder bittorrent/ with the corresponding files of the BitTorrent implementation. To apply changes run&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;patch -p1 &lt; bittorrent.patch&lt;/span&gt;&lt;br /&gt;in the ns-2.29 folder.&lt;br /&gt;The two sample scripts simulate a flash crowd with initially only one seed and a number of leechers in the network.&lt;br /&gt;&lt;br /&gt;Website Extracted from &lt;a href=&quot;http://www.tu-harburg.de/et6/research/bittorrentsim/index.html&quot;&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Kolja Eger&lt;br /&gt;Hamburg University of Technology (TUHH)&lt;br /&gt;Communication Networks&lt;br /&gt;fon: +49-40-42878-3480&lt;br /&gt;fax: +49-40-42878-2941&lt;br /&gt;e-mail: eger@tuhh.de&lt;br /&gt;web: &lt;a href=&quot;http://www.tu-harburg.de/et6/staff/eger.html&quot;&gt;http://www.tu-harburg.de/et6/staff/eger.html&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;tags : &lt;a href=&quot;http://technorati.com/tag/bittorrent&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;bittorrent&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/p2p&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;p2p&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/network&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;network&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/simulator&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;simulator&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/ns2&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;ns2&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/source&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;source&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/code&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;code&lt;/a&gt; &lt;a href=&quot;http://technorati.com/tag/patch&quot; rel=&quot;tag&quot; class=&quot;techtag&quot;&gt;patch&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/540072886723705883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/540072886723705883?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/540072886723705883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/540072886723705883'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/04/simulation-of-bittorrent-peer-to-peer.html' title='Simulation of BitTorrent Peer-to-Peer (P2P) Networks in ns-2'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-2987029620974963867</id><published>2007-03-15T13:55:00.000+09:00</published><updated>2008-12-09T20:02:37.593+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Tips : How to use two version of NS-2</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/Ri7gTcH2puI/AAAAAAAAAfA/YGi9i6D3PI0/s1600-h/labX_networking_l.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;http://4.bp.blogspot.com/_G_H8VJDtezw/Ri7gTcH2puI/AAAAAAAAAfA/YGi9i6D3PI0/s320/labX_networking_l.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5057226056154916578&quot; /&gt;&lt;/a&gt;&lt;br /&gt;If you would like to use two version of NS2, one old version and a another newer version. This is what you can set to call each different version of ns in the terminal/bash. Whenever you want to call the older version of ns, just make changes to the make file :&lt;br /&gt;&lt;br /&gt;Example: Makefile.in&lt;br /&gt;&lt;br /&gt; - snip -&lt;br /&gt;NS = ns-old&lt;br /&gt; - snip -&lt;br /&gt;&lt;br /&gt;run &quot;./configure &amp;&amp; make install&quot; again and you are done.&lt;br /&gt;&lt;p&gt;tags: &lt;a href=&quot;http://www.technorati.com/tags/run&quot; rel=&quot;tag&quot;&gt;run&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/two&quot; rel=&quot;tag&quot;&gt;two&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/version&quot; rel=&quot;tag&quot;&gt;version&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/network&quot; rel=&quot;tag&quot;&gt;network&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/simulator&quot; rel=&quot;tag&quot;&gt;simulator&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/ns2&quot; rel=&quot;tag&quot;&gt;ns2&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/tips&quot; rel=&quot;tag&quot;&gt;tips&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/2987029620974963867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/2987029620974963867?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/2987029620974963867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/2987029620974963867'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/03/tips-how-to-use-two-version-of-ns-2.html' title='Tips : How to use two version of NS-2'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_G_H8VJDtezw/Ri7gTcH2puI/AAAAAAAAAfA/YGi9i6D3PI0/s72-c/labX_networking_l.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21339912.post-4809782647278372834</id><published>2007-02-25T16:11:00.000+09:00</published><updated>2008-12-09T20:02:37.663+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="simulation"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Tips : How to scale your simulation to more nodes eg. &gt; 500 nodes  and increase the simulation speed</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/Ri8CP8H2pvI/AAAAAAAAAfI/zp9Rryvja0E/s1600-h/network.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;http://3.bp.blogspot.com/_G_H8VJDtezw/Ri8CP8H2pvI/AAAAAAAAAfI/zp9Rryvja0E/s320/network.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5057263379420718834&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;One of the biggest problem for the implementation of the Packet data structure of NS2 is that it does not math the realities. The packet in ns2 simulation keeps all packet headers for any protocols implemented in NS2. For example, a DSR routing packet may keep DSDV, AODV, or even a PING application header. For this reason, till today, a packet used in ns2 simulation, would have a header size around 40~64KB. And NO packet would be deleted to release the memory it holds until the end of the simulation.&lt;br /&gt;&lt;br /&gt;So for a typical simulation with 100 nodes in ns2 around 1M packets exchanged (of course, you may reuse the packets already being freed through &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Packet::free(Packet*)&lt;/span&gt;. To learn the implementation of it, please check file common/packet{.h,.cc} ), you may hold 10% of it, 100K packets, and you may use a memory at least 100K*64KB -&gt; 6.4GB, which definitely would crash your computer even server computers.&lt;br /&gt;&lt;br /&gt;SO what is the best way to scale the simulation and increase the simulation speed. Fortunately there are two ways :&lt;br /&gt;&lt;br /&gt;1. Suggested by ns2 manual, putting the below codes in your tcl script&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;       remove-all-packet-headers&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;       add-packet-header DSR ARP LL MAC CBR IP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;to simulation a CBR application on UDP with DSR as routing protocol in a wireless ad hoc network (OOPS!, UDP is not a header. This method is effective, but it requires you to understand most packets header you need.&lt;br /&gt;&lt;br /&gt;2. Another way is my way, changing the tcl library for the packet headers. You may find the tcl library file for packet headers in ns2/tcl/lib/ns-packet.tcl, you may find a procedure starting as &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;foreach prot&lt;/span&gt; .  You can comment out all the headers you don&#39;t recognize, like all the Routing protocols you dont know, all Routers, all Multicast, all Transport Protocols except you need, all application layer protocols, some of the Wireless, some of the Mobility, Ad-Hoc Networks, Sensor Nets and all the Other. Finally, you may just have all the below left&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span style=&quot;color:Green;&quot;&gt;&lt;pre&gt;foreach prot {&lt;br /&gt;# Common:&lt;br /&gt;Common&lt;br /&gt;Flags&lt;br /&gt;IP&lt;br /&gt;# Transport Protocols&lt;br /&gt;TCP&lt;br /&gt;# Wireless&lt;br /&gt;ARP&lt;br /&gt;LL&lt;br /&gt;Mac&lt;br /&gt;# Mobility&lt;br /&gt;AODV&lt;br /&gt;} {&lt;br /&gt;add-packet-header $prot&lt;br /&gt;}&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Here is a sample of the skeleton of the script for you to put your code for your own packet header.&lt;br /&gt;&lt;br /&gt;Typically, after this way, you may just have a packet size as 256B. So even you have 500 nodes, and 10M packets need to be exchanged during the simulation. You just need 256MB (if 10% packets held) for it, which is lower than any common configuration of current PCs.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;tags: &lt;a href=&quot;http://www.technorati.com/tags/network&quot; rel=&quot;tag&quot;&gt;network&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/simulator&quot; rel=&quot;tag&quot;&gt;simulator&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/ns2&quot; rel=&quot;tag&quot;&gt;ns2&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/scale&quot; rel=&quot;tag&quot;&gt;scale&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/simulation&quot; rel=&quot;tag&quot;&gt;simulation&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/speed&quot; rel=&quot;tag&quot;&gt;speed&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/protocol&quot; rel=&quot;tag&quot;&gt;protocol&lt;/a&gt;, &lt;a href=&quot;http://www.technorati.com/tags/node&quot; rel=&quot;tag&quot;&gt;node&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;a href=&quot;http://www.pheedo.com/click.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot;&gt;&lt;img src=&quot;http://www.pheedo.com/img.phdo?x=0b4f8bab78c24b149b8c27a6d283e702&amp;u=%%UNIQUEID%%&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ns-2.blogspot.com/feeds/4809782647278372834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/21339912/4809782647278372834?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/4809782647278372834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21339912/posts/default/4809782647278372834'/><link rel='alternate' type='text/html' href='http://ns-2.blogspot.com/2007/02/tips-how-to-scale-your-simulation-to.html' title='Tips : How to scale your simulation to more nodes eg. &gt; 500 nodes  and increase the simulation speed'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_G_H8VJDtezw/Ri8CP8H2pvI/AAAAAAAAAfI/zp9Rryvja0E/s72-c/network.JPG" height="72" width="72"/><thr:total>2</thr:total></entry></feed>