[Contiki-developers] Throughput measures

90 views
Skip to first unread message

Melanie Schranz

unread,
Oct 21, 2009, 8:33:41 AM10/21/09
to Contiki-d...@lists.sourceforge.net
Hello everybody!

I want to measure throughput and packet loss between two tmote sky motes. What is the right tool to do so?

Thanks for answers
Melanie

Ikram

unread,
Oct 22, 2009, 6:26:33 AM10/22/09
to Contiki developer mailing list
There are many ways to calculate the throughput. One way to calculate
the end-to-end throughput for node "1" is defined as the rate of the
number of data packets (bits/sec) from node "1" that have arrived at
the base node (nPackets) over the elapsed time since the first packet
from node i has arrived (Duration).

Per-node throughput for node "1" = nPackets(at node "1") *
Packet_size(bits) / Duration (sec)

Its better to consider all the packets, inclusive retransmissions done by MAC.

First define the packet which include the sequence number. you can
program tmote sky (Node "1") which is sending let suppose 1
packet/sec, and other node received (base node) the packets from Node
"1". At receiving node you can compare the current packet sequence
number with the previous packet sequence number to calculate the
packet lost.

hope it will helps.
Ikram

> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Contiki-developers mailing list
> Contiki-d...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/contiki-developers
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Contiki-developers mailing list
Contiki-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/contiki-developers

Qasim Mushtaq

unread,
Oct 22, 2009, 7:07:56 AM10/22/09
to contiki-d...@lists.sourceforge.net
Hi,
 Aren't there any "standarized tools" for this purpose. Or do we have to develop for ourselves?
 
Best regards,
Qasim.
 
> Date: Thu, 22 Oct 2009 13:26:33 +0300
> From: ikram...@gmail.com
> To: contiki-d...@lists.sourceforge.net
> Subject: Re: [Contiki-developers] Throughput measures

Windows 7: Simplify your PC. Learn more.

Melanie Schranz

unread,
Nov 3, 2009, 6:43:39 AM11/3/09
to Contiki developer mailing list
HI!

I'm very new to cotniki. Are there any specific lines of code in order to get it the way you described?

Thanks in advance
Melanie

2009/10/22 Ikram <ikram...@gmail.com>

mianali...@gmail.com

unread,
Dec 1, 2019, 1:14:22 PM12/1/19
to osdeve.mirror.rtos.Contiki-developers

mianali...@gmail.com

unread,
Dec 1, 2019, 1:16:08 PM12/1/19
to osdeve.mirror.rtos.Contiki-developers


On Wednesday, 21 October 2009 18:33:41 UTC+6, Melanie Schranz wrote:
Hello everybody!

I want to measure throughput and packet loss between two mote sky motes. What is the right tool to do so?
 
    how to find throughput(a send node send how many packets and a sink node how many packets received in a unit time) in a sky mode?


Reply all
Reply to author
Forward
0 new messages