Mobility-Models-and-Traces

Mobility-Models-and-Traces - Mobility Models and Traces...

Info iconThis preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon
Mobility Models and Traces Wei-jen Hsu Advised by Dr. Ahmed Helmy Presented in CIS6930 class, Spring 2008
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Outline Simulation of user mobility Within NS-2 As a stand-alone code Traces from existing wireless networks
Background image of page 2
Simulation of User Mobility Why? Mobile ad hoc networks are still not widely deployed, even though a lot of research has been done. But it is a fundamental factor that influences network protocol performance. Use simulation as a way to perform experiments in a controlled environment.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Simulation of User Mobility How? Use existing network simulation tools (e.g., NS-2) with extensions to handle user mobility. Build you tool from scratch.
Background image of page 4
Simulation of User Mobility How to choose a suitable approach? NS-2 Powerful simulation tool, with many existing protocols implemented for it. Hence complex, with high overhead You have to fit your idea into its structure You own tool You can do anything you want, focusing on the part that matters to you Clean-slate implementation You have to re-build everything; credibility
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Simulation of User Mobility What do you want from the simulation? Mobility metrics or statistics for the mobility model Performance of routing protocols under the mobility model
Background image of page 6
NS-2 Mobility Interface Mobility generator Protocol Simulation (NS) Mobility metric Protocol performance NS trace file format
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ns-2 Mobility file format Mobility trace file Format (the line you need to instruct how a node moves): $ns_ at <time> “$node_(<id>) setdest <x> <y> <speed>” Example: $ns_ at 0.000000 "$MN2 setdest 610.107730 230.884732 40.608997“ Why is this format chosen??
Background image of page 8
Ns-2 Mobility file format
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Ns-2 Mobility file format NS provides only linear movement What if I want a movement trajectory of arbitrary curve? A(t0) B(t1)
Background image of page 10
Plugging scenario files into NS It’s simple, just add these lines in your tcl script Create tcl variables for file location set val(cp) ". ./mobility/scene/cbr-3-test" set val(sc) ". ./mobility/scene/scen-3-test" Include these files in simulation source $val(cp) source $val(sc)
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
How do I generate these files? Default mobility file generator is RWP model. /indep-utils/cmu-scen-gen/setdest/setdest Default traffic file generator is “random UDP flows” /indep-utils/cmu-scen-gen/cbrgen.tcl Use IMPORTANT tool to generate more complex mobility scenario Or… Write your own stand alone code!
Background image of page 12
How to use IMPORTANT tool? Remember that it is a stand-alone
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 14
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/27/2011 for the course CIS 4930 taught by Professor Staff during the Spring '08 term at University of Florida.

Page1 / 38

Mobility-Models-and-Traces - Mobility Models and Traces...

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online