how to calculate performance metrics for wireless network using ns3 simulator

1,477 views
Skip to first unread message

msilini hayet

unread,
Sep 15, 2009, 9:06:46 AM9/15/09
to ns-3-...@googlegroups.com
 Dear ns-3-users
I'm new to ns-3. I'm a student and have to work on Ns-3 as a project. What I needed help for, is that if neone can guide me to calculate performance metrics such as jitter, delay, and packet loss and visualise them using ns3 simulator
I really need for your help to accomplish my work
any sugestions?
thank you in advance


lizha...@gmail.com

unread,
Sep 15, 2009, 1:25:33 PM9/15/09
to ns-3-users
you can use wireshark to analyse the pcap file, in order to get the
metrics you want.

hayet

unread,
Sep 15, 2009, 3:08:39 PM9/15/09
to ns-3-users
I know that i can visualise metrics with wireshark but my problem is
haw to write a script that calculate delay, jitter and packet loss for
wireless network
or is there any script which accomplish that work
thank you

Antti Mäkelä

unread,
Sep 15, 2009, 4:26:20 PM9/15/09
to ns-3-users
On Sep 15, 10:08 pm, hayet <msilini_ha...@yahoo.fr> wrote:
> I know that i can visualise metrics with wireshark but my problem is
> haw to write a script that calculate delay, jitter and packet loss for
> wireless network

You might want to take a look at tracing subsystem.

Then, you should add timestamps as tags to all your packets and then
trace the delay (Now() - Packet's sendtime) to some file (see the
previous few threads about using tracing). Calculating jitter is just
applying some statistics to observed delays and loss of course you can
do with an incrementing packet counter tag and seeing what's dropping.

I'm not sure if such functionality is already builtin to Netdevices
for automatically adding such tags..

Patxi Azpiroz

unread,
Sep 22, 2009, 8:07:40 AM9/22/09
to ns-3-...@googlegroups.com
Hi,
This discussion is related with "Throughput at IP layer!" that I have
just replied.

You can copy great ideas from the examples folder.
wifi-adhoc.cc for example and more complete examples/stats/*

Any other ideas? sample scripts?

2009/9/15 Antti Mäkelä <zar...@gmail.com>
--
Patxi Azpiroz De Pedro

Patxi

unread,
Sep 22, 2009, 8:37:10 AM9/22/09
to ns-3-users
There is a delay and jitter estimation in the contribution directory.
I haven't even try it, I just "discover" it.

src/contrib/delay-jitter-estimation
Reply all
Reply to author
Forward
0 new messages