From weiye at ISI.EDU Tue Jan 3 11:51:33 2006 From: weiye at ISI.EDU (Wei Ye) Date: Tue, 03 Jan 2006 11:51:33 -0800 Subject: [Smac-users] SCP-MAC Release Message-ID: <1136317893.16072.18.camel@wee.isi.edu> Folks, Happy new year! We are glad to make an initial release of our SCP-MAC implementation on Mica2 motes. SCP-MAC is a new MAC protocol that enables ultra-low duty cycles (e.g., 0.1% or less), so that it is able to save much more energy than existing protocols. For details of SCP-MAC design, please look at our technical report at http://www.isi.edu/~weiye/pub/isi-tr-604.pdf For implementation details and getting the source code, please visit the web site at http://www.isi.edu/ilense/software/scpmac/ Cheers, Wei From iqbalqr at aston.ac.uk Wed Jan 4 04:14:06 2006 From: iqbalqr at aston.ac.uk (Qasim Raza Iqbal) Date: Wed, 4 Jan 2006 12:14:06 -0000 (GMT) Subject: [Smac-users] Difference between DumbAgent and DSDV Message-ID: <32814.134.151.144.68.1136376846.squirrel@134.151.144.68> Dear All Happy New Year, I Hope you all had great holidays. I wanted to enquire what is the difference between DumbAgent protocol and DSDV (I know about DSDV as mentioned in NS2 manual. DumbAgent is applied in the example MyTest.TCL, an online example for smac users Another thing I needed to know if MyTest.tcl applies the motes version of parameters for routing etc, and Tiny OS parameters for bandwith and other calculations Also in the example it has two lines as follow #set opt(mac) Mac/802_11 ;# MAC type set opt(mac) Mac/SMAC ;# MAC type this means that smac is applied in calculations. However if I rem out Mac/SMAC and leave Mac/802_11 only. Would this apply 802.11 protocol for the motes using DumbAgent. I would be very much grateful for answer to any or all questions mentioned above Best regards Qasim Iqbal Aston University From iqbalqr at aston.ac.uk Thu Jan 5 03:55:36 2006 From: iqbalqr at aston.ac.uk (Qasim Raza Iqbal) Date: Thu, 5 Jan 2006 11:55:36 -0000 (GMT) Subject: [Smac-users] Which routing protocol to use with sensor nets and SMAC (please reply) Message-ID: <32788.134.151.144.68.1136462136.squirrel@134.151.144.68> Dear All I was hoping you could guide me, which routing protocol is best to use with SMAC in NS2 for simple simulations using 4 or 5 nodes. Many thanks in advance Best regards Qasim Iqbal From sita at ece.gatech.edu Tue Jan 17 19:15:54 2006 From: sita at ece.gatech.edu (Sita S. Krishnakumar) Date: Tue, 17 Jan 2006 22:15:54 -0500 (EST) Subject: [Smac-users] problem running SMAC with 50 nodes Message-ID: <58060.68.85.51.3.1137554154.squirrel@secure2.ece.gatech.edu> Hello, I am running a scenario with 50 nodes and an FTP application (for packet generation). It runs for ~29 seconds and gets a segmentation fault. Reducing the number of nodes did not fix it either. I went down to as low as 20 nodes. On looking at the core dump in gdb, it crashes at: #0 0x08123883 in SmacCounterTimer::sched (this=0x0, time=0.12819999999999976) at mac/smac.cc:181 181 tts_ = time; // time before it goes to sleep again In the step before, the numSched_ parameter is at 4 (the max value for the parameter). numSched_ cannot reach the max value - how it reaches that value, I do not know (due to this, this is 0x0). I am writing to see if anyone has run SMAC with a large number of nodes in ns-2. Thanks for your help. Regards, Sita From sita at ece.gatech.edu Tue Jan 17 19:43:23 2006 From: sita at ece.gatech.edu (Sita S. Krishnakumar) Date: Tue, 17 Jan 2006 22:43:23 -0500 (EST) Subject: [Smac-users] additional info [Re: problem running SMAC with 50 nodes] In-Reply-To: <58060.68.85.51.3.1137554154.squirrel@secure2.ece.gatech.edu> References: <58060.68.85.51.3.1137554154.squirrel@secure2.ece.gatech.edu> Message-ID: <60375.68.85.51.3.1137555803.squirrel@secure2.ece.gatech.edu> Here is a more detailed gdb output: #0 0x08123883 in SmacCounterTimer::sched (this=0x0, time=0.1262003466666678) at mac/smac.cc:181 181 tts_ = time; // time before it goes to sleep again (gdb) up #1 0x08125238 in SMAC::handleSYNC (this=0xadd86a0, p=0xaec29f8) at mac/smac.cc:1877 1877 mhCounter_[numSched_]->sched(sf->sleepTime); (gdb) p sf $1 = (smac_sync_frame *) 0xaec35c0 (gdb) p mhCounter_ $2 = {0xadddaf0, 0xadd8c60, 0xadd8cd0, 0xadd8d40} (gdb) p numSched_ $3 = 4 (gdb) Also, I changed the MAC to 802.11 and the tcl code runs to completion. Thanks, Sita > Hello, > I am running a scenario with 50 nodes and an FTP application (for packet > generation). It runs for ~29 seconds and gets a segmentation fault. > Reducing the number of nodes did not fix it either. I went down to as low > as 20 nodes. On looking at the core dump in gdb, it crashes at: > > #0 0x08123883 in SmacCounterTimer::sched (this=0x0, > time=0.12819999999999976) > at mac/smac.cc:181 > 181 tts_ = time; // time before it goes to sleep again > > In the step before, the numSched_ parameter is at 4 (the max value for the > parameter). numSched_ cannot reach the max value - how it reaches that > value, I do not know (due to this, this is 0x0). I am writing to see if > anyone has run SMAC with a large number of nodes in ns-2. > Thanks for your help. > Regards, > Sita > > _______________________________________________ > Smac-users mailing list > Smac-users at mailman.isi.edu > http://mailman.isi.edu/mailman/listinfo/smac-users > From sita at ece.gatech.edu Mon Jan 23 07:05:40 2006 From: sita at ece.gatech.edu (Sita S. Krishnakumar) Date: Mon, 23 Jan 2006 10:05:40 -0500 (EST) Subject: [Smac-users] problem running SMAC with 50 nodes] In-Reply-To: <60375.68.85.51.3.1137555804.squirrel@secure2.ece.gatech.edu> References: <58060.68.85.51.3.1137554154.squirrel@secure2.ece.gatech.edu> <60375.68.85.51.3.1137555804.squirrel@secure2.ece.gatech.edu> Message-ID: <4639.168.20.175.3.1138028740.squirrel@secure2.ece.gatech.edu> SMAC users, Can anyone help me out by sharing their experiences in using SMAC? I would like to measure the node energy at the end of my simulation - to see how the sleep/wakeup pattern has helped my work. Thanks, Sita > Here is a more detailed gdb output: > > #0 0x08123883 in SmacCounterTimer::sched (this=0x0, > time=0.1262003466666678) > at mac/smac.cc:181 > 181 tts_ = time; // time before it goes to sleep again > (gdb) up > #1 0x08125238 in SMAC::handleSYNC (this=0xadd86a0, p=0xaec29f8) at > mac/smac.cc:1877 > 1877 > mhCounter_[numSched_]->sched(sf->sleepTime); > (gdb) p sf > $1 = (smac_sync_frame *) 0xaec35c0 > (gdb) p mhCounter_ > $2 = {0xadddaf0, 0xadd8c60, 0xadd8cd0, 0xadd8d40} > (gdb) p numSched_ > $3 = 4 > (gdb) > > Also, I changed the MAC to 802.11 and the tcl code runs to completion. > Thanks, > Sita >> Hello, >> I am running a scenario with 50 nodes and an FTP application (for packet >> generation). It runs for ~29 seconds and gets a segmentation fault. >> Reducing the number of nodes did not fix it either. I went down to as >> low >> as 20 nodes. On looking at the core dump in gdb, it crashes at: >> >> #0 0x08123883 in SmacCounterTimer::sched (this=0x0, >> time=0.12819999999999976) >> at mac/smac.cc:181 >> 181 tts_ = time; // time before it goes to sleep again >> >> In the step before, the numSched_ parameter is at 4 (the max value for >> the >> parameter). numSched_ cannot reach the max value - how it reaches that >> value, I do not know (due to this, this is 0x0). I am writing to see if >> anyone has run SMAC with a large number of nodes in ns-2. >> Thanks for your help. >> Regards, >> Sita >> >> _______________________________________________ >> Smac-users mailing list >> Smac-users at mailman.isi.edu >> http://mailman.isi.edu/mailman/listinfo/smac-users >> > > From sita at ece.gatech.edu Mon Jan 23 19:50:32 2006 From: sita at ece.gatech.edu (Sita S. Krishnakumar) Date: Mon, 23 Jan 2006 22:50:32 -0500 (EST) Subject: [Smac-users] New Information [Re: problem running SMAC with 50 nodes]] In-Reply-To: <4639.168.20.175.3.1138028740.squirrel@secure2.ece.gatech.edu> References: <58060.68.85.51.3.1137554154.squirrel@secure2.ece.gatech.edu> <60375.68.85.51.3.1137555804.squirrel@secure2.ece.gatech.edu> <4639.168.20.175.3.1138028740.squirrel@secure2.ece.gatech.edu> Message-ID: <33360.68.85.51.3.1138074632.squirrel@secure2.ece.gatech.edu> In my desperate attempt to get SMAC to work for my scenario, I was searching the smac-users archives and found the below suggestion. Since I was using AODV, I decided to move to DSR to see if that would fix my problem. I took the test-suite-smac-multihop.tcl from ns/tcl/test and modified it. I used 50 nodes and it crashed. I reduced the nodes to 30 to 20 to 15 to 10 - but it all kept crashing at the same point every time. I then realized that the case that only works is the scenario given in the original tcl file. That has 10 nodes at X=100 and Y separated by 200m for each node. My nodes are much closer and do not have this wide distribution. This I think leads to many more timers to be handled due to proximity of nodes and it crashes. Any thoughts? Regards, Sita ========================================================================= We haven't tried to run AODV over S-MAC. Our experience with DSR was that some of its default timer values are set for high-speed radio, such as IEEE 802.11. When running over S-MAC (low radio bandwidth, long sleep delay), those timers fire too quickly. That prevents DSR to find a path. To make DSR work over S-MAC, we actually modified the DSR timer settings, and added an interface for users to configure it. You may want to check similar situations for AODV as well. Regards, Wei On Tue, 2005-07-05 at 12:35 -0400, Jai-Jin Lim wrote: > Dear the author of S-MAC, > > I raised the above question whether to run AODV over S-MAC in ns-2, but > have not received nay reply from a group of S-MAC users. It is okay with > DSR, as specified in test-suite-smac-multihop.tcl. But an attempt to run > AODV over S-MAC by slightly modifiying the script fails. > Do you any idea on this? > > Regards, > -- > Jai-Jin Lim > SMAC users, > Can anyone help me out by sharing their experiences in using SMAC? I would > like to measure the node energy at the end of my simulation - to see how > the sleep/wakeup pattern has helped my work. > Thanks, > Sita > > > >> Here is a more detailed gdb output: >> >> #0 0x08123883 in SmacCounterTimer::sched (this=0x0, >> time=0.1262003466666678) >> at mac/smac.cc:181 >> 181 tts_ = time; // time before it goes to sleep again >> (gdb) up >> #1 0x08125238 in SMAC::handleSYNC (this=0xadd86a0, p=0xaec29f8) at >> mac/smac.cc:1877 >> 1877 >> mhCounter_[numSched_]->sched(sf->sleepTime); >> (gdb) p sf >> $1 = (smac_sync_frame *) 0xaec35c0 >> (gdb) p mhCounter_ >> $2 = {0xadddaf0, 0xadd8c60, 0xadd8cd0, 0xadd8d40} >> (gdb) p numSched_ >> $3 = 4 >> (gdb) >> >> Also, I changed the MAC to 802.11 and the tcl code runs to completion. >> Thanks, >> Sita >>> Hello, >>> I am running a scenario with 50 nodes and an FTP application (for >>> packet >>> generation). It runs for ~29 seconds and gets a segmentation fault. >>> Reducing the number of nodes did not fix it either. I went down to as >>> low >>> as 20 nodes. On looking at the core dump in gdb, it crashes at: >>> >>> #0 0x08123883 in SmacCounterTimer::sched (this=0x0, >>> time=0.12819999999999976) >>> at mac/smac.cc:181 >>> 181 tts_ = time; // time before it goes to sleep again >>> >>> In the step before, the numSched_ parameter is at 4 (the max value for >>> the >>> parameter). numSched_ cannot reach the max value - how it reaches that >>> value, I do not know (due to this, this is 0x0). I am writing to see if >>> anyone has run SMAC with a large number of nodes in ns-2. >>> Thanks for your help. >>> Regards, >>> Sita >>> >>> _______________________________________________ >>> Smac-users mailing list >>> Smac-users at mailman.isi.edu >>> http://mailman.isi.edu/mailman/listinfo/smac-users >>> >> >> > > From look4saurabh at yahoo.co.in Thu Jan 26 13:19:12 2006 From: look4saurabh at yahoo.co.in (saurabh mehta) Date: Thu, 26 Jan 2006 13:19:12 -0800 (PST) Subject: [Smac-users] Help needed Message-ID: <20060126211912.25240.qmail@web8410.mail.in.yahoo.com> hi thr, I am new to NS-2 and S-MAC. Please help me to install S-mAC code in NS-2.29. Thanks Saurabh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sita at ece.gatech.edu Thu Jan 26 15:26:24 2006 From: sita at ece.gatech.edu (Sita S. Krishnakumar) Date: Thu, 26 Jan 2006 18:26:24 -0500 (EST) Subject: [Smac-users] Help needed In-Reply-To: <20060126211912.25240.qmail@web8410.mail.in.yahoo.com> References: <20060126211912.25240.qmail@web8410.mail.in.yahoo.com> Message-ID: <2602.68.85.51.3.1138317984.squirrel@secure2.ece.gatech.edu> SMAC is already available as part of ns2.29 --Sita > hi thr, > I am new to NS-2 and S-MAC. Please help me to > install S-mAC code in NS-2.29. > > Thanks > Saurabh > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > Smac-users mailing list > Smac-users at mailman.isi.edu > http://mailman.isi.edu/mailman/listinfo/smac-users >