[ns] FW: setting loss rate for wireless domain

Semra YILMAZ SYilmaz at aselsan.com.tr
Wed Apr 2 11:31:27 PDT 2008


dear all,
i really do not understand why i cannot set loss rate. i want to increase wireless loss rate but my script below does not have any effect in the result. i am expecting that the throughput at the receiver should decrease when loss rate increase in the medium, but not.
please help if you know the reason.
best,
semra

________________________________

From: Semra YILMAZ
Sent: Wed 02.04.2008 20:32
To: ns-users at ISI.EDU
Subject: setting loss rate for wireless domain


hello,
i want to set loss rate for wireless scenario and i am using the following line for setting loss rate. when i change the rate from 0.1 to 0.3, i don't see any difference in the throughput of receiving packets at the receiver (i use tracegrapgh to analyze). i think i am missing something. if you have any idea, i will appreciate.
best,
semra
 
$ns_ node-config -ErrProc losses_module 

proc losses_module {} {

set loss_module [new ErrorModel]

$loss_module set rate_ 0.1

$loss_module unit pkt

$loss_module ranvar [new RandomVariable/Uniform]

$loss_module drop-target[new Agent/Null]

exit 0

}

######################################################################
Dikkat:

Bu elektronik posta mesaji kisisel ve ozeldir. Eger size 
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. 
Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, 
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki 
gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi 
gorusu olmak zorunda degildir.

######################################################################
Attention: 

This e-mail message is privileged and confidential. If you are 
not the intended recipient please delete the message and notify 
the sender. E-mails to and from the company are monitored for 
operational reasons and in accordance with lawful business practices. 
Any views or opinions presented are solely those of the author and 
do not necessarily represent the views of the company.

######################################################################



More information about the Ns-users mailing list