教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 范文大全 > 资料大全 >

柯志亨老师的ns2课件

来源:网络收集 时间:2026-09-28
导读: 柯志亨老师的ns2课件 Network Simulation and Analysis---Using NS2 Chih-Heng Ke (柯志亨)Webpage: http://hpds.ee.ncku.edu.tw/~smallko Email: smallko@ee.ncku.edu.tw MSN: smallko@http://doc.guandang.net 柯志亨老师的ns2课件 Methods for network re

柯志亨老师的ns2课件

Network Simulation and Analysis---Using NS2

Chih-Heng Ke (柯志亨)Webpage: http://hpds.ee.ncku.edu.tw/~smallko Email: smallko@ee.ncku.edu.tw MSN: smallko@http://doc.guandang.net

柯志亨老师的ns2课件

Methods for network research Analytical– Model – General expression or close form

Emulation– Network testbed – Lab environment – Real code

Simulation– Virtual network testbed

柯志亨老师的ns2课件

Why Simulation Study of implemented protocols and algorithms– Behavior – Performance

Test of unimplemented new protocols and algorithms

Comparison of results across research efforts

柯志亨老师的ns2课件

Simulation -- Advantage Inexpensive, Flexible and Reconfigurable Network phenomena interested can be reproduced Opportunity to study large-scale network

Easier comparison of results across research efforts

柯志亨老师的ns2课件

Simulation -- Disadvantage Important network details may be missed Protocols or algorithms must be “added” before simulation can be done High start-up cost Have to be carefully verified before the test results can be used

柯志亨老师的ns2课件

Outline1 NS2 Introduction and Installation– – – – – cygwin installation ns2.26, ns2.27, ns2.28, ns2.29, myNS2, others How to apply the patch New module insertion Recompilation

Tools– nsbench – NS2 Scenarios Generator (NSG)

柯志亨老师的ns2课件

Outline2 How to measure the loss rate, delay, jitter, throughput?– parse the trace file – use ―LossMonitor‖ agent – modify the C++ code

How to present the simulation result?– gnuplot (xgraph, or Excel) – random number generator – confidence interval How to run the simulation in a batch mode?

柯志亨老师的ns2课件

Outline3 How CBR works? How UDP works? How DCF works ?– Trace the C++ code in NS2 Multicast Unicast

Propagation Model– Transmission range

柯志亨老师的ns2课件

Outline4 wireless error model– random uniform model – GE model (burst pattern) – Others

DCF vs. EDCF– Adaptive Approach for QoS Support in IEEE 802.11e Wireless LAN

柯志亨老师的ns2课件

Outline5 How to dynamically set the link bandwidth during simulation? How to set the different operation modes (DCF or EDCF) for different mobile nodes? How to set the different transmission speeds to different mobile nodes? How to measure the queue length in the base station or mobile node? How to set the communication radius in wireless nodes? Hidden Terminal Problem How to get the information in different layers?

柯志亨老师的ns2课件

Outline6 Multimedia simulation– myEvalvid (encoding from raw YUV video) – myEvalvid-NT (for publicly available video traffic traces) – Multiple Description Coding (MDC) – voip simulation

柯志亨老师的ns2课件

What is NS-2 NEST (Network Simulation Testbed) REAL (Realistic and Large) NS-1 NS-2 NS-2 is a common network simulator NS-2 is developed by the VINT project in order to reduce duplication of effort within the network research and develop community http://www.isi.edu/nsnam

柯志亨老师的ns2课件

Ns functionalities Wired– – – – – Transportatio

n: TCP,UDP,RTP,SRM Traffic sources:web, ftp, telnet, cbr, stochastic Queuing disciplines:drop-tail, RED, FQ, SFQ, DRR QoS: IntServ and Diffserv Emulation

Wireless– Ad hoc routing and mobile IP – Directed diffusion, sensor-MAC

Tracing, visualization, various utilities

柯志亨老师的ns2课件

“Ns” Components Ns, the simulator itself Nam, the network animator– Visualize ns (or other) output – Nam editor: GUI interface to generate ns scripts

Pre-processing:– Traffic and topology generators

Post-processing:– Simple trace analysis, often in awk, perl, or Tcl

柯志亨老师的ns2课件

NS Architecture Split-Programming Model– C++ implement the simulation model Implement data path per packet processing, core of ns fast to run, detailed, complete control

– OTcl (Tcl script language with Object-oriented extensions developed at MIT ) Simulation scenario configurations Periodic or triggered action Manipulating existing C++ objects fast to write and change

柯志亨老师的ns2课件

The simulation procedureProblems Simulate the environment Run with ns-2 Analysis the result Yes Finish simulation

Modify the simulation

No

…… 此处隐藏:2039字,全部文档内容请下载后查看。喜欢就下载吧 ……
柯志亨老师的ns2课件.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/fanwen/1816690.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150份
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150份
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)