Re: [Tinyos-help] obtaining ctp experiment results
Sorry for the confusion . Got it working now. CTP is enabled with LPL in tinyos 2.1.1 . I was working back and forth with 2.1.0 and 2.1.1 and got confused . Thanks. On Wed, Feb 16, 2011 at 8:51 PM, Nicole Chiesi nicole.chi...@gmail.comwrote: Thank you for the answers. I have a question regarding the use of LPL in the CTP I have made changes in order to make the lpl work in the following way in Boot.booted(): call LowPowerListening.setLocalSleepInterval(250); While sending message : call LowPowerListening.setRxSleepInterval(packet, 250); and have used the proper wiring. As I read through the mailing list you had mentioned that one needs to hack into the ctp to send according to LPL for each packet. However I found out ctp with lpl in the cvs . http://hinrg.cs.jhu.edu/git/?p=razvanm/tinyos-2.x.git;a=commit;h=9609b6b90101acae0da46deb835714f9a28d94c1 but seems like some files are missing e.g the Globals.h. Where can I find the working version of LPL use in the CTP ? regards, Nicole On Mon, Feb 14, 2011 at 2:59 AM, Omprakash Gnawali gnaw...@cs.stanford.edu wrote: On Sun, Feb 13, 2011 at 9:15 AM, Nicole Chiesi nicole.chi...@gmail.com wrote: I am facing a situation where , I use the TestNetwork Application in testbed of about 45 telosb motes. I was trying to check the saturation point of ctp. I increased the packet rate to some 1 packet per second for about 15 nodes and one packet every 8s for the rest 20 motes. I still have a very good delivery ratio of about 98 percentage. How much of data rate is ctp supposed to handle? CTP is not designed to work with high data rates. It does not limit the number of packets injected into the network. So, you should try to operate it under channel saturation. What rate will cause channel saturation? That will depend on the radio, MAC, network topology, ... When I went down to 3packets /sec for the 15 nodes and one packet /8s for the rest of the nodes , then was only significant drop in the delivery ratio to about 74 percent. I think the results I got are not accurate? i do not know if I did something wrong here? You are sourcing 45+ packets/s. Many of these packets might be multi-hop which means the region around the sink is receiving and sensing many more packets. You might be way past channel saturation. If the channel is not saturated, it is reasonable to expect a decent performance. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] obtaining ctp experiment results
Thank you for the answers. I have a question regarding the use of LPL in the CTP I have made changes in order to make the lpl work in the following way in Boot.booted(): call LowPowerListening.setLocalSleepInterval(250); While sending message : call LowPowerListening.setRxSleepInterval(packet, 250); and have used the proper wiring. As I read through the mailing list you had mentioned that one needs to hack into the ctp to send according to LPL for each packet. However I found out ctp with lpl in the cvs . http://hinrg.cs.jhu.edu/git/?p=razvanm/tinyos-2.x.git;a=commit;h=9609b6b90101acae0da46deb835714f9a28d94c1 but seems like some files are missing e.g the Globals.h. Where can I find the working version of LPL use in the CTP ? regards, Nicole On Mon, Feb 14, 2011 at 2:59 AM, Omprakash Gnawali gnaw...@cs.stanford.eduwrote: On Sun, Feb 13, 2011 at 9:15 AM, Nicole Chiesi nicole.chi...@gmail.com wrote: I am facing a situation where , I use the TestNetwork Application in testbed of about 45 telosb motes. I was trying to check the saturation point of ctp. I increased the packet rate to some 1 packet per second for about 15 nodes and one packet every 8s for the rest 20 motes. I still have a very good delivery ratio of about 98 percentage. How much of data rate is ctp supposed to handle? CTP is not designed to work with high data rates. It does not limit the number of packets injected into the network. So, you should try to operate it under channel saturation. What rate will cause channel saturation? That will depend on the radio, MAC, network topology, ... When I went down to 3packets /sec for the 15 nodes and one packet /8s for the rest of the nodes , then was only significant drop in the delivery ratio to about 74 percent. I think the results I got are not accurate? i do not know if I did something wrong here? You are sourcing 45+ packets/s. Many of these packets might be multi-hop which means the region around the sink is receiving and sensing many more packets. You might be way past channel saturation. If the channel is not saturated, it is reasonable to expect a decent performance. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] obtaining ctp experiment results
I am facing a situation where , I use the TestNetwork Application in testbed of about 45 telosb motes. I was trying to check the saturation point of ctp. I increased the packet rate to some 1 packet per second for about 15 nodes and one packet every 8s for the rest 20 motes. I still have a very good delivery ratio of about 98 percentage. How much of data rate is ctp supposed to handle? When I went down to 3packets /sec for the 15 nodes and one packet /8s for the rest of the nodes , then was only significant drop in the delivery ratio to about 74 percent. I think the results I got are not accurate? i do not know if I did something wrong here? Please leave your insight. Nicole On Sat, Feb 12, 2011 at 11:43 PM, Nicole Chiesi nicole.chi...@gmail.comwrote: Thank you for the clarifications. I could not figure out how to calculate the duty cycle in the experiments that used LPL and LPP. Could you please tell me how I can do it? thanks, Nicole On Wed, Feb 9, 2011 at 12:16 AM, Omprakash Gnawali gnaw...@cs.stanford.edu wrote: On Mon, Feb 7, 2011 at 12:38 PM, Nicole Chiesi nicole.chi...@gmail.com wrote: I changed the sequence number to 16 bits .Thank you. I have another question. I see the CTP uses different macs. CSMA and Box-mac . How to specify each of those while performing the experiment. How to distinguish which Mac is being used? Those two MACs refer to the same software. If you want to use a different MAC (e.g., SpeckMac), you will have to follow instruction that came with the software. For example, -DLSPECKMACD flag in the Makefile. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] obtaining ctp experiment results
Thank you for the clarifications. I could not figure out how to calculate the duty cycle in the experiments that used LPL and LPP. Could you please tell me how I can do it? thanks, Nicole On Wed, Feb 9, 2011 at 12:16 AM, Omprakash Gnawali gnaw...@cs.stanford.eduwrote: On Mon, Feb 7, 2011 at 12:38 PM, Nicole Chiesi nicole.chi...@gmail.com wrote: I changed the sequence number to 16 bits .Thank you. I have another question. I see the CTP uses different macs. CSMA and Box-mac . How to specify each of those while performing the experiment. How to distinguish which Mac is being used? Those two MACs refer to the same software. If you want to use a different MAC (e.g., SpeckMac), you will have to follow instruction that came with the software. For example, -DLSPECKMACD flag in the Makefile. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] obtaining ctp experiment results
I changed the sequence number to 16 bits .Thank you. I have another question. I see the CTP uses different macs. CSMA and Box-mac . How to specify each of those while performing the experiment. How to distinguish which Mac is being used? thank you, Nicole On Mon, Feb 7, 2011 at 8:16 AM, Omprakash Gnawali gnaw...@cs.stanford.eduwrote: On Sun, Feb 6, 2011 at 2:12 PM, Nicole Chiesi nicole.chi...@gmail.com wrote: I have just a question . It is written in the tep 123 that Together, the origin, seqno and collect_id fields denote a unique *origin packet.* . However if we want to analyse the CollectionDebugMessage , it is seen that after every 255 messages sent or received , the sequence number restarts. So e.g If I want to analyse a node 1 , if it sends data more than 255 packets then , it is bound to have two or more messages with same origin and sequence number. So , analysis of the CollectionDebugMessage is bit out of hand here for me. It is such that , the msg_origin in the CtpDebugMsg.h is a 16 bit , while the originseqno of ctp data frame which writes to it is 8 bit . If I make the ctp data frame to 16 bit as well then I can analyse the CollectionDebugMessage . I was wondering if I change the bit of the data frame affects the performance of ctp. Another question is , if I am to avoid that , how can I go about analysing the CollectionDebugMessage? It is fine to increase the size of the sequence number to 16 bits to make your analysis easier. Otherwise, you will need to write code to detect sequence number wrap around. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] obtaining ctp experiment results
I have just a question . It is written in the tep 123 that Together, the origin, seqno and collect_id fields denote a unique **origin packet.** . However if we want to analyse the CollectionDebugMessage , it is seen that after every 255 messages sent or received , the sequence number restarts. So e.g If I want to analyse a node 1 , if it sends data more than 255 packets then , it is bound to have two or more messages with same origin and sequence number. So , analysis of the CollectionDebugMessage is bit out of hand here for me. It is such that , the msg_origin in the CtpDebugMsg.h is a 16 bit , while the originseqno of ctp data frame which writes to it is 8 bit . If I make the ctp data frame to 16 bit as well then I can analyse the CollectionDebugMessage . I was wondering if I change the bit of the data frame affects the performance of ctp. Another question is , if I am to avoid that , how can I go about analysing the CollectionDebugMessage? thanks , Nicole On Mon, Nov 22, 2010 at 4:11 AM, Omprakash Gnawali gnaw...@cs.stanford.eduwrote: On Sun, Nov 21, 2010 at 8:03 AM, Nicole Chiesi nicole.chi...@gmail.com wrote: hi, I am trying to do the similar experiment as done as mentioned here http://sing.stanford.edu/gnawali/ctp/ctp-sensys-data.html . Basically I want to get and analyse the figures given in index.html file of the experiment. It feels that the experiment data given there is just some excerpts of the experiment . How are these calculations made? #node total_sent uniq_rcv success_rate total_rcv repeated_rcv (frac) repeated_rcvthl (frac) minseq maxseq from the experimental data given there. I was able to set up the experiment and run the experiment but I have no idea how I can come to these results. First you need to get the log files from your testbed experiments. Did you get the logs? The assumption is you have one log file per node. Then you need to run a series of Perl scripts on the logs. You need a few custom Perl libraries and neato to produce the result you see. Because of these dependencies, I haven't posted all those Perl scripts because it most likely won't work on other systems. But here is how you can proceed: 1. Run the parse-ctplogs.pl script on the log files. 2. Do statistics on the output from step 1. For example, if you want to compute delivery ratio for a specific node, you can keep track of sequence numbers received from that node and compute the delivery ratio. If you want to compute churn, you can count the number of times beacons was sent. All these log messages are parsed with parse-ctplogs.pl. Feel free to ask questions as you get going. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] obtaining ctp experiment results
hi, I am trying to do the similar experiment as done as mentioned here http://sing.stanford.edu/gnawali/ctp/ctp-sensys-data.html . Basically I want to get and analyse the figures given in index.html file of the experiment. It feels that the experiment data given there is just some excerpts of the experiment . How are these calculations made? *#node total_sent uniq_rcv success_rate total_rcv repeated_rcv (frac) repeated_rcvthl (frac) minseq maxseq* from the experimental data given there. I was able to set up the experiment and run the experiment but I have no idea how I can come to these results. thanks for the help, Nicole ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help