Hi Phil,

Thanks for your response. When we change the CtpRoutingEngineP instantiation
as you suggested, route discovery takes really long time. Since we do not
change the location of the nodes often, we want the initial setup to be done
quickly. As an alternative, we keep the minInterval at 1 and change the
decayInterval() function as follows (i.e. it applies to root to a certain
limit as well.) We haven't fully tested this yet. What is your opinion?

void decayInterval() {
      if (!state_is_root) {
        currentInterval *= 2;
        if (currentInterval > maxInterval) {
          currentInterval = maxInterval;
        }
      }
      else { // if root
    currentInterval *= 2;
        if (currentInterval > 60) {
          currentInterval = 60;
        }
      }
      chooseAdvertiseTime();
    }

BTW, we have TinyOS 2.0.2 installed. In CtpP.nc minInterval is given as 1:

components new CtpRoutingEngineP(TREE_ROUTING_TABLE_SIZE, 1, 1024) as
Router;

Thanks,
Bulut


On Wed, Mar 5, 2008 at 8:00 PM, Philip Levis <[EMAIL PROTECTED]> wrote:

>
> On Mar 5, 2008, at 8:36 AM, Kaan Tuna wrote:
>
> > Hi all,
> >
> >
> > I have a multihop CollectionC network with a root node and three
> > nodes, each sending a data packet (measurements) every 15 minutes.
> > Using alkaline batteries with about 2500mA capacity, I analyzed
> > that the overall power consumption is about three times of what I
> > expected (down from 2.99V to 2.80V in a week).
> >
> > Could there be some debug messages or unexpected multi-hop traffic?
> > Any suggestions or ideas to improve power consumption would be
> > greatly welcome!
> >
> > Here are some details about my configuration:
> >
> >
> > 1) I am using an ACK_LPL check interval of 1 second.
> > 2) I am also using PacketLink layer for software Acks. (5 retries,
> > 10ms delay)
> > 3) My network is static, i.e. immobile. I am not even sure if it
> > needs to multi-hop with this placement. But nodes' power decrease
> > like they are sending 40-50 packets every 15 mins.
>
> CollectionC is not yet ultra-low power. In particular, the base
> station sends routing beacons very often, more often than it needs
> to. This is the item we're working on right now: the approach we've
> taken is to first work on its path selection efficiency, then work on
> lowering the control traffic (in progress now).
>
> One simple fix is to lower the beaconing rate of the base station by
> adjusting the constants in CtpP.nc passed to CtpRoutingEngineP:
>
>   components new CtpRoutingEngineP(TREE_ROUTING_TABLE_SIZE, 10,
> 1024) as Router;
>
> Try changing the 10 to 60, and see if that helps.
>
> Phil
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to