From fz.benhamida at gmail.com Thu Apr 3 05:18:14 2008 From: fz.benhamida at gmail.com (fatima zohra) Date: Thu, 3 Apr 2008 13:18:14 +0100 Subject: [Diffusion-users] publish/subscribe implementaion Message-ID: Hello, i am looking for an implementation of any publish/subscribe protocol. actually, i need it to implement the Directed Diffusion Protocol. However, i've already found a code in sourceForge CVS (called TinyDiff) but it doesn't help me that much. so if anyone knows about other publish/subscribe implementations (or even other Directed Diffusion code), thanks to send me the corresponding link. Best Regards. From johnh at ISI.EDU Fri Apr 4 13:11:21 2008 From: johnh at ISI.EDU (John Heidemann) Date: Fri, 04 Apr 2008 13:11:21 -0700 Subject: [Diffusion-users] publish/subscribe implementaion In-Reply-To: Message-ID: <30166.1207339881@dash.isi.edu> On Thu, 03 Apr 2008 13:18:14 BST, "fatima zohra" wrote: >Hello, >i am looking for an implementation of any publish/subscribe protocol. >actually, i need it to implement the Directed Diffusion Protocol. >However, i've already found a code in sourceForge CVS (called TinyDiff) but >it doesn't help me that much. >so if anyone knows about other publish/subscribe implementations (or even >other Directed Diffusion code), thanks to send me the corresponding link. >Best Regards. Several implementations of directed diffusion are at . This site includes pointers to the original version in ns-2 used in the Mobicom paper, and the implementation for 32-bit nodes used in the SOSP paper. -John Heidemann From mkk6 at buffalo.edu Wed Apr 9 07:07:03 2008 From: mkk6 at buffalo.edu (Michel Kulhandjian) Date: Wed, 09 Apr 2008 10:07:03 -0400 Subject: [Diffusion-users] Problem with analyzing the trace file of directed diffusion - help Message-ID: <47FCCD87.6030003@buffalo.edu> Hi everyone, I try to simulate directed diffusion and calculate the average delay. I have several problem with the tracefile. This is what my tracefile look like: r 35.923188588 _1_ MAC --- 1486717614 diffusion 0 [0 ffffffff 0 800] [energy 999.971155 ei 0.000 es 0.000 et 0.010 er 0.019] ------- [0:255 -1:255 32 0] r 35.923213588 _1_ RTR --- 1486717614 diffusion 0 [0 ffffffff 0 800] [energy 999.971155 ei 0.000 es 0.000 et 0.010 er 0.019] ------- [0:255 -1:255 32 0] r 35.923214588 _1_ AGT --- 672080299 diffusion 0 [0 0 0 0] [energy 999.971155 ei 0.000 es 0.000 et 0.010 er 0.019] ------- [1:255 1:254 32 0] s 36.610001000 _4_ AGT --- 1486717616 diffusion 0 [0 0 0 0] [energy 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:254 4:255 32 0] r 36.610001000 _4_ RTR --- 1486717616 diffusion 0 [0 0 0 0] [energy 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:254 4:255 32 0] r 36.610002000 _4_ AGT --- 1113789816 diffusion 0 [0 0 0 0] [energy 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:255 4:254 32 0] s 36.693003000 _4_ AGT --- 1486717617 diffusion 0 [0 0 0 0] [energy 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:254 4:255 32 0] r 36.693003000 _4_ RTR --- 1486717617 diffusion 0 [0 0 0 0] [energy 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:254 4:255 32 0] s 36.693078000 _4_ MAC --- 1486717616 diffusion 52 [0 ffffffff 4 800] [energy 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:255 -1:255 32 0] N -t 36.693079 -n 3 -e 999.970991 N -t 36.693079 -n 2 -e 999.970991 N -t 36.693080 -n 1 -e 999.970991 Node 4 here is the sink and node 0 is the sender. I noticed that 1. the packet size (diffusion) is always zero at the receiver (AGT) but it is 52 for sending, i do not know why? 2. Sequence id of received packets does not match any sequence id, this information is needed to calculate delay. Is there something wrong? 3. what is the problem ? maybe there is different way to calculate delay for directed diffusion? I am waiting for your quick response, thanks in advance, Michel From fz.benhamida at gmail.com Sat Apr 12 00:53:02 2008 From: fz.benhamida at gmail.com (fatima zohra) Date: Sat, 12 Apr 2008 09:53:02 +0200 Subject: [Diffusion-users] Problem with analyzing the trace file of directed diffusion - help In-Reply-To: <47FCCD87.6030003@buffalo.edu> References: <47FCCD87.6030003@buffalo.edu> Message-ID: Hello, i am replying for your last email to ask about something (sorry i can't help you cause i'm just new with Directed Diffusion protocol) actually, you said you are simulating DD. i wish i can know which simulator are you using. i have to implement DD code with Tossim. so if you can help me in this problem, i'll be so grateful. thanks in advance. best regards. 2008/4/9 Michel Kulhandjian : > Hi everyone, > > I try to simulate directed diffusion and calculate the average delay. I > have several problem with the tracefile. This is what my tracefile look > like: > > > > r 35.923188588 _1_ MAC --- 1486717614 diffusion 0 [0 ffffffff 0 800] > [energy 999.971155 ei 0.000 es 0.000 et 0.010 er 0.019] ------- [0:255 > -1:255 32 0] > > r 35.923213588 _1_ RTR --- 1486717614 diffusion 0 [0 ffffffff 0 800] > [energy 999.971155 ei 0.000 es 0.000 et 0.010 er 0.019] ------- [0:255 > -1:255 32 0] > > r 35.923214588 _1_ AGT --- 672080299 diffusion 0 [0 0 0 0] [energy > 999.971155 ei 0.000 es 0.000 et 0.010 er 0.019] ------- [1:255 1:254 32 0] > > s 36.610001000 _4_ AGT --- 1486717616 diffusion 0 [0 0 0 0] [energy > 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:254 4:255 32 0] > > r 36.610001000 _4_ RTR --- 1486717616 diffusion 0 [0 0 0 0] [energy > 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:254 4:255 32 0] > > r 36.610002000 _4_ AGT --- 1113789816 diffusion 0 [0 0 0 0] [energy > 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:255 4:254 32 0] > > s 36.693003000 _4_ AGT --- 1486717617 diffusion 0 [0 0 0 0] [energy > 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:254 4:255 32 0] > > r 36.693003000 _4_ RTR --- 1486717617 diffusion 0 [0 0 0 0] [energy > 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:254 4:255 32 0] > > s 36.693078000 _4_ MAC --- 1486717616 diffusion 52 [0 ffffffff 4 800] > [energy 999.976658 ei 0.000 es 0.000 et 0.005 er 0.018] ------- [4:255 > -1:255 32 0] > > N -t 36.693079 -n 3 -e 999.970991 > > N -t 36.693079 -n 2 -e 999.970991 > > N -t 36.693080 -n 1 -e 999.970991 > > > Node 4 here is the sink and node 0 is the sender. I noticed that > > 1. the packet size (diffusion) is always zero at the receiver (AGT) but it > is 52 for sending, i do not know why? > 2. Sequence id of received packets does not match any sequence id, this > information is needed to calculate delay. Is there something wrong? > 3. what is the problem ? maybe there is different way to calculate delay > for directed diffusion? > > I am waiting for your quick response, thanks in advance, > > > Michel > > > > > From fz.benhamida at gmail.com Fri Apr 25 00:30:18 2008 From: fz.benhamida at gmail.com (fatima zohra) Date: Fri, 25 Apr 2008 08:30:18 +0100 Subject: [Diffusion-users] generating packets (data/interest) using Tossim Message-ID: hi every one, i have to implement a publish/ subscribe class protocol (Directed Diffusion protocol) using Tossim for simulation ( i use only Tossim, no real motes to test). i want to know if there is a method for generating "periodic and random" packets (data or interest) for test. does anyone have an existing code for this ??? thanks for help.