Hello dears:
I am beginner in ns2. Recently i used gpsr patch of GPSR_KeLiu_SUNY_Binghamton.
When i measure the performance of gpsr, i find the data packets loss ratio is
very high with 70~80%. why is it?
My scenarios are 1000*1000m, (50,100)nodes combined
with (10,20,30,40m/s)velocities respectively with 30 CBR .
See details:
for cbr.tcl: nodes: 50/100, max conn: 30, send rate: 0.5, seed: 1
for scen.tcl: nodes: 50/100, pause: 0.00, max speed: 10/20/30/40.00,
max x: 1000.00, max y: 1000.00
What's more, in the given cbr traffic file"cbr100.tcl" 2 nodes is selected to
startSink as followed:
$ns_ at 11.0 "$ragent_(0) startSink 10.0"
$ns_ at 10.5 "$ragent_(99) startSink 10.0"
In my cbr file, i did this for every node:
for {set i 37} {$i < 40} {incr i} {
$ns_ at 10.5 "$ragent_($i) startSink 10.0"
}
then,when i type "$ ns wireless-gpsr.tcl"
i got info:
num_nodes is set 50
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
GPSR configuration file
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Load complete...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
Wrong the other node
the last "Wrong the other node" means what?is it because that some node send
data, meanwhile startSink to receive data? is there something to do with the
abnormally data loss?
Then, what should i do when i get my own cbr file? manually edit it or any easy
ways to ensure that some nodes only send and some only startSink to receive?
Also, what 's the location service is adopted? GLS? i'm puzzled! Pls guide me!
and in gpsr, this is no store and foward schem? when packets lost,
retransmission occured?
thanks in advance! thank u for your time!
best wishes! Look forward to your letter!
___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/