Download 投影片 1

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Airborne Networking wikipedia , lookup

Internet protocol suite wikipedia , lookup

Deep packet inspection wikipedia , lookup

IEEE 1355 wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

UniPro protocol stack wikipedia , lookup

Transcript
QualNet Overview
Speaker: Chen-Nien Tsai
Adviser: Kai-Wei Ke
Date: 2006.05.23
Outline
•
•
•
•
•
•
Introduction
Scenario Designer
Animator
Analyzer
Some Tips
Conclusion
2006/5/23
2
What is QualNet?
• QualNet is a discrete-event network
simulator.
– Periodic scan vs. event scan
E1
E2 E3 E4 E5
E6 E7
E8
T0 T1 T2 T3 T4 T5 T6 T7 T8
• It includes a rich set of models for various
networks.
2006/5/23
3
Why bother?
• “If I have seen a little further it is by
standing on the shoulders of Giants.”
-- Sir Isaac Newton
• The process to climb the Giants is not
trivial.
• “OPNet太貴,NS2太難,QualNet功能強
且既便宜又簡單!”
– http://www.pitotech.com.tw/c/3-product01.htm
2006/5/23
4
Introduction (1/2)
• QualNet provides a comprehensive
environment for
– designing protocols (Protocol Designer),
– creating and animating experiments (Scenario
Designer and Animator),
– and analyzing the results of those experiments
(Analyzer).
2006/5/23
5
Introduction (2/2)
• QualNet is composed of the following
tools:
2006/5/23
Scenario Designer
Analyzer
Simulator
Protocol Designer
Animator
Packet Tracer
6
Outline
•
•
•
•
•
•
Introduction
Scenario Designer
Animator
Analyzer
Some Tips
Conclusion
2006/5/23
7
Scenario Designer
• It is used to create and design experiments
in QualNet.
• Scenario Designer Basic
–
–
–
–
FileSystem/Inspector
Properties Explorer
Canvas
Tool Bar
• Demo
2006/5/23
8
Tool Bar
FileSystem/Inspector
Canvas
Properties Explorer
2006/5/23
9
FileSystem/Inspector
• The FileSystem is a tree-based view of all
the directories mounted in the QualNet
Developer IDE.
• The Inspector displays the scenario's
global, node and link topology settings in a
hierarchical tree format.
2006/5/23
10
Properties Explorer
• This is a view of any properties of any
component selected in the FileSystem or
inspector window.
2006/5/23
11
Canvas
• This allows you to build the scenario's
network topology using components such
as nodes, links, switches, routers and
subnets.
2006/5/23
12
Tool Bar
• Devices Tab
– contains basic node components.
• Applications Tab
– contains applications that are available in the
Scenario Designer.
• Links Tab
– contains two types of links: Link and BGP Link.
• Network Components Tab
2006/5/23
13
A Tutorial
•
•
•
•
•
Create a new scenario
Place nodes
Create an application
Modify application properties
Save the scenario
• http://netlab.csie.ntut.edu.tw/seminar/year
2005/data/qualnet/scenariodesigner.htm
2006/5/23
14
Outline
•
•
•
•
•
•
Introduction
Scenario Designer
Animator
Analyzer
Some Tips
Conclusion
2006/5/23
15
Animator
• It is used to execute and animate
experiments created in the Scenario
Designer.
• Animator Basic
– Runtime Controls
– Animation Filters
– Time Controls
• Demo
2006/5/23
16
Runtime Controls
•
•
•
•
•
•
Run animator
Play
Pause
Stop
Step
Analyze
2006/5/23
17
Animation Filters
• To Enable/Disable some animations
• Animation Command Filters
–
–
–
–
–
–
2006/5/23
Node Mobility Animation
Node Link Animation
Broadcast Packet Animation
Multicast Packet Animation
Unicast Packet Animation
and more
18
Animation Filters
• Layer Animation Filters
–
–
–
–
–
–
–
2006/5/23
Channel Layer Animation
Radio Layer Animation
MAC Layer Animation
Network Layer Animation
Transport Layer Animation
Routing Layer Animation
Application Layer Animation
19
Time Controls
• Sliding speed control allows you to slow
down or speed up the animation.
• Simulation Time shows you how far
along in the simulation period you are.
• Real Time show how long the simulator
has been running to produce the data
you're watching.
2006/5/23
20
A Tutorial
•
•
•
•
Open a scenario
Run Animator
Play
Modify animation filters
• http://netlab.csie.ntut.edu.tw/seminar/year
2005/data/qualnet/animator.htm
2006/5/23
21
Outline
•
•
•
•
•
•
Introduction
Scenario Designer
Animator
Analyzer
Some Tips
Conclusion
2006/5/23
22
Analyzer
• Analyzer displays network statistics
generated from a QualNet experiment.
• Analyzer Basic
– Statistics from a Single Experiment
– Statistics from Multiple Experiments
– Export data.
2006/5/23
23
Statistics from a Single Experiment
• The animator will create a statistic file after
the simulation was completed.
• Open the statistic file and we can see the
statistical data.
2006/5/23
24
Statistics from Multiple Experiments
• If we change some parameter and run the
simulation again, we will get another
statistic file.
• Open these files and we can compare the
statistical data for these experiments.
2006/5/23
25
Export data
• In some situation, we may want to export
the statistic data.
– To redraw the figure.
– To apply additional calculation.
2006/5/23
26
A Tutorial
•
•
•
•
•
•
•
Open a scenario
Run a simulation
Show statistics from a Single Experiment
Run another simulation
Show statistics from Multiple Experiments
Export data
http://netlab.csie.ntut.edu.tw/seminar/year
2005/data/qualnet/analyzer.htm
2006/5/23
27
Outline
•
•
•
•
•
•
Introduction
Scenario Designer
Animator
Analyzer
Some Tips
Conclusion
2006/5/23
28
Some Tips
•
•
•
•
•
•
Export multiple statistic data.
Show multiple graphs
Run simulation without IDE.
To specify multiple applications.
Re-compile Qualnet
Documentations
2006/5/23
29
Export multiple statistic data
• Why?
– We will exhaust our energy and patience if we
export these one by one…
• How?
– Tools  Analyzer  Export
• Export all
• Export opened
2006/5/23
30
Show Multiple Graphs
• Why?
– You have to open multiple graphs before you
can export opened graphs
– Someone may like to glance multiple graphs at
a time.
• How?
– Tools  Analyzer  Options 
Graph Visibility  Multiple Graph
2006/5/23
31
Run simulation without IDE
• Why?
– The Animator is a kind of slow.
– To control the scenario flexibly.
• Configuration files
• How?
– Use command line to execute “qualnet.exe.”
– qualnet test.config
2006/5/23
32
To specify multiple applications
• Why?
– We will exhaust our energy and patience if we
drag the mouse from source to destination, say,
100 times.
• How?
– Specify the applications in a special file (*.app).
– Run the simulation by executing “qualnet.exe”
2006/5/23
33
Re-compile QualNet
• Why?
– After we modified/added protocols, we have to
recompile QualNet to let them work.
• How?
– VC++ (or GNU gcc) is required.
– In Qualnet_dir/3.9/main directory
• nmake Makefile-windowsnt
2006/5/23
34
Documentations
• For newbie
– QualNet-3.9-ProductTour.pdf
– QualNet-3.9-UsersGuide.pdf
• For programmer (design a new protocol)
– QualNet-3.9-ProgrammersGuide.pdf
– QualNet-3.9-APIReferenceGuide.pdf
• For libraries’ info
– QualNet-3.9-ProtocolLibrary-library_name.pdf
2006/5/23
35
Outline
•
•
•
•
•
•
Introduction
Scenario Designer
Animator
Analyzer
Some Tips
Conclusion
2006/5/23
36
Conclusion
• The good side
–
–
–
–
–
–
2006/5/23
An easy-to-use environment.
Convenient tools.
Easy to build scenarios.
Build-in devices, protocols, and links.
Animator is a funny toy.
Packet Tracer may be useful.
37
Conclusion
• The evil side
– License/ IP restriction.
• The biggest problem when the deadline is
closer and closer…
– Learning curve is not linear.
• Easy to build scenarios, but hard to
modify/add protocols.
– Poor documentation. (compare to OPNET)
– Does not Support Chinese?
2006/5/23
38
References
• QualNet Documentation
• 皮托科技
– http://www.pitotech.com.tw/c/3-product01.htm
• Scalable Network Technologies
– http://www.scalable-networks.com/
2006/5/23
39
The End