How reducing delay and Packet loss in geographic routing protocol for Vanet

64 views
Skip to first unread message

BAEK-VANET

unread,
Feb 11, 2020, 11:38:38 AM2/11/20
to Network Simulator 2 (NS2)
Hi, 
I'm developing a new geographic protocol for video streaming over Vanet. I got a great delay and packet loss.
how can i reduce delay and packet loss.

Adi Saputra

unread,
Feb 13, 2020, 7:02:24 PM2/13/20
to Network Simulator 2 (NS2)
hey im sorry for asking
how do you make movement for the node on vanet? are you using SUMO or what?
thankyou

knudfl

unread,
Feb 14, 2020, 5:58:23 AM2/14/20
to Network Simulator 2 (NS2)
bonnmotion-MODELS.txt
Message has been deleted

BAEK-VANET

unread,
Feb 20, 2020, 8:14:32 AM2/20/20
to Network Simulator 2 (NS2)
Hi Adi Saputra
I'm sorry.

Generate mobilty files for NS simulator from Open street Map using SUMO 
sumo
OSM - Open street Map (osmWebWizard.py)

Step 1 :Create the Sumo-gui or Sumo configuration file using :
$] cd sumo/tools
$] python osmWebWizard.py

Select the cars, buses, motorcycles, etc.
and generate the scenario,
sumo-gui automatically pops up.

Step 2: Create the mobility.tcl
$] sumo -c osm.sumocfg --fcd-output trace.xml
$] cd && cd sumo/tools
$] python traceExporter.py -i trace.xml --ns2mobility-output=mobility.tcl
Now check the number of nodes in the mobility.tcl file which is very important.

Adi Saputra

unread,
Mar 13, 2020, 4:34:36 AM3/13/20
to Network Simulator 2 (NS2)
hello sir.
im able to create a mobility for ns2 from SUMO.
but im facing why my node is not moving till the end of simulation time.
example, my simulation should run 300s, im generate 25 of mobility node from SUMO , but my node was stop moving at 120~second. how to manage longer node move in mobility.

thank you

knudfl

unread,
Mar 13, 2020, 5:37:24 AM3/13/20
to Network Simulator 2 (NS2)
@Adi Saputra ,   Hi.

The time you have set is maximum time.
Please run some many simulations,  and see for yourself.

How to get "long time" ....  Run these ex to known how to achieve long time ..

Adi Saputra

unread,
Mar 13, 2020, 9:43:19 AM3/13/20
to Network Simulator 2 (NS2)
hello sir @knudfl.

what do you mean maximun time sir?
im generate the mobility with randomTrips.py sir

knudfl

unread,
Mar 13, 2020, 4:30:18 PM3/13/20
to Network Simulator 2 (NS2)
@Adi Saputra

Example "aodv-30.tcl"
set val(stop) 50    ;# maximum simulation time
.... The simulation time appears to be 2 seconds :  Intel i3-2120 CPU @ 3.30GHz
I.e. no setting will extend that time.
( Some "long times" in old examples were set for e.g. a Pentium 2 computer : A slow processor = longer time.) 
  • Extended  traffic complexity can extend the simulation time.
-

Hameurlaine Hicham

unread,
Aug 22, 2023, 3:43:01 AM8/22/23
to Network Simulator 2 (NS2)
@knudfl, please, can you provide the line command to generate  Gauss Markov model please

Muhammad Rehan Basharat

unread,
Aug 22, 2023, 4:54:18 AM8/22/23
to ns-u...@googlegroups.com
Kindly help me, how we generate this topology in Ns-2 having changes in C file.

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/f2ab3c21-beba-4ba7-bf63-e71edeff9dc3n%40googlegroups.com.
Photo from REHAN BASHARAT

knudfl

unread,
Aug 22, 2023, 6:19:00 AM8/22/23
to Network Simulator 2 (NS2)
To  hichamham....

Miscellaneous gauss markov
http://www.computerscijournal.org/dnload/SAAD-ALJEBORI--and-ALAA-TAIMA-/OJCSV06I01P31-40.pdf
Ref. https://scholar.google.dk/scholar?q=ns2+gauss+markov+model&hl=en&as_sdt=0&as_vis=1&oi=scholart

Bonnmotion doc, see https://sys.cs.uos.de/bonnmotion/doc/README.pdf → →
→ the options -a -s, -m -h, -b -u : are described in section 6.5.2

A random / guessed command ....
$ ./bm -f gauss GaussMarkov -n 50 -d 60 -x 750 -y 750 -a 30 -s 20 -m 3 -h 4 -b 1 -u 2
...... and convert to ns2 ............
$ ./bm NSFile -f gaussbm NSFile -f gauss
...... the file gauss.ns_movements 121.7kB is created
https://drive.google.com/drive/folders/1AbFseS-1vDPHvCvL_cCu49wd0oJHBspV?usp=sharing
→ → →  GaussMarkov/
Reply all
Reply to author
Forward
0 new messages