tailieunhanh - Lecture Wireless and mobile computing – Chapter 29: Wireless and mobile computing ns-2 architecture

The following will be discussed in this chapter: ns2 goals, ns2 languages, ns2 models, ns2 components, ns2 research, ns2 platform, directory structure, class hierarchy, duality (split model), ns2 applications, ns2 agents, visualization tool, node, link, packet, addressing routing, wireless node. | Wireless and Mobile Computing ns-2 Architecture Lecture 29 2 Overview material in this lecture is based on, ns-2 documentation UCB ns-2 tutorial workshop, ns2 Goals ns2 Languages ns2 Models ns2 Components ns2 Research ns2 Platform Directory Structure Class Hierarchy Duality (Split Model) ns2 Applications ns2 Agents Visualization Tool Node Link Packet Addressing Routing Wireless Node 2 ns-2 Developed by UC Berkeley Maintained by USC Popular simulator in scientific environment Other popular network simulators QualNet: based on GloMoSim GloMoSim, OPNET, OMNeT++ etc. 3 ns-2 Goals To support research and education Protocol design, traffic studies, etc. Protocol comparison; New architecture designs are also supported To provide collaborative environment Freely distributed, open source; Increase confidence in result People are using it for NoC communication behavior and topology simulations 4 ns-2 Languages (OTcl) OTcl: short for MIT Object Tcl, an extension to Tcl/Tk for object-oriented programming. Used to build the network structure and topology which is just the surface of your simulation; Easy to configure your network parameters; Not enough for research schemes and protocol architecture adaption. 5 C++: Most important and kernel part of the NS2 To implement the kernel of the architecture of the protocol designs; From the packet flow view, the processes run on a single node; To change or “comment out” the existing protocols running in NS2; Details of your research scheme. 6 ns-2 Languages (C++) 2 requirements of the simulator Detailed simulation of Protocol: Run-time speed; Varying parameters or configuration: easy to use. C++ is fast to run but slower to code and change; OTcl is easy to code but runs slowly. 7 Two Languages (why?) ns-2 Models Traffic models and applications: Web, FTP, telnet, constant-bit rate, real audio Transport protocols: unicast: TCP (Reno, Vegas, etc.), UDP Multicast: SRM Routing and queueing: Wired routing, ad hoc rtg and directed . | Wireless and Mobile Computing ns-2 Architecture Lecture 29 2 Overview material in this lecture is based on, ns-2 documentation UCB ns-2 tutorial workshop, ns2 Goals ns2 Languages ns2 Models ns2 Components ns2 Research ns2 Platform Directory Structure Class Hierarchy Duality (Split Model) ns2 Applications ns2 Agents Visualization Tool Node Link Packet Addressing Routing Wireless Node 2 ns-2 Developed by UC Berkeley Maintained by USC Popular simulator in scientific environment Other popular network simulators QualNet: based on GloMoSim GloMoSim, OPNET, OMNeT++ etc. 3 ns-2 Goals To support research and education Protocol design, traffic studies, etc. Protocol comparison; New architecture designs are also supported To provide collaborative environment Freely distributed, open source; Increase confidence in result People are using it for NoC communication behavior and topology simulations 4 ns-2 Languages (OTcl) OTcl: short for MIT Object Tcl, an extension to Tcl/Tk for object-oriented .