LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   link bandwidth (https://www.linuxquestions.org/questions/linux-newbie-8/link-bandwidth-4175521056/)

Aabha 10-04-2014 01:14 PM

link bandwidth
 
Dear sir
during simulation of UMTS WLAN handover in ns-2.29 NIST add on module,duplex link between RNC and BS UMTS is SET as
$ns setup-Iub $bsUMTS $rnc 622Mbit 622Mbit 15ms 15ms DummyDropTail 2000
Is there any rule to decide 15 ms delay, because with this setting when simulation performed and cross check the data rate supply and received, there were huge gap.
In my simulation i set an application of 1024 bytes with interval of 2ms, Single MN node received this application through CN.
duplex-link rnc router1 622Mbit 0.4ms DropTail 1000
duplex-link between router1 and CN 100MBit 5ms DropTail 1000
CN-------------Router1------------RNC----------------BS(umts)
please guide
Regards

Aabha 10-07-2014 06:14 AM

dear sir
I am simulating umts wlan integrated network with ns-2.29 (NIST add on) but having confusion in trace file generated as output.
When i calculated throughput with following script, results are not as per theoretical values. please guide or send another awk script for throughput.
Regards
As there is a problem with uploading, i am pasting file
BEGIN {
recv = 0
currTime = prevTime = 0
printf("# %10s %10s %5s %5s %15s %18s\n\n", \
"flow","flowType","src","dst","time","throughput")
}

{
# Trace line format: normal
if ($2 != "-t") {
event = $1
time = $2
if (event == "+" || event == "-") node_id = $3
if (event == "r" || event == "d") node_id = $4
flow_id = $8
pkt_id = $12
pkt_size = $6
flow_t = $5
level = "AGT"
}
# Trace line format: new
if ($2 == "-t") {
event = $1
time = $3
node_id = $5
flow_id = $39
pkt_id = $41
pkt_size = $37
flow_t = $45
level = $19
}

# Init prevTime to the first packet recv time
if(prevTime == 0)
prevTime = time

# Calculate total received packets' size
if (level == "AGT" && flow_id == flow && node_id == dst &&
event == "r" && pkt_size >= pkt) {
# Rip off the header
hdr_size = pkt_size % pkt
pkt_size -= hdr_size
# Store received packet's size
recv += pkt_size
# This 'if' is introduce to obtain clearer
# plots from the output of this script
if((time - prevTime) >= tic*10) {
printf(" %10g %10s %5d %5d %15g %18g\n", \
flow,flow_t,src,dst,(prevTime+1.0),0)
printf(" %10g %10s %5d %5d %15g %18g\n", \
flow,flow_t,src,dst,(time-1.0),0)
}
currTime += (time - prevTime)
if (currTime >= tic) {
printf(" %10g %10s %5d %5d %15g %18g\n", \
flow,flow_t,src,dst,time,(recv/currTime)*(1/1000))
recv = 0
currTime = 0
}
prevTime = time
}

}

END {
printf("\n\n")
}

Aabha 10-08-2014 12:14 AM

Dear sir
pl. reply for above two post...
regards


All times are GMT -5. The time now is 06:32 PM.