Hi David, I wanted to ask you what routing protocol you have used for SMAC? I am having problem using the routing protocols, they all have a very large overhead. If you run th esame simulaton and only change the mac layer to 802_11, you will see, it saves between 100-200% energy regards Qasim Dear friends: > I wrote a tcl script with linear 10-node multihop topology to test the > energy efficiency of smac protocol.The trace file I got is like this: > s 133.343014667 _1_ MAC --- 0 RTS 10 [0.12 2 1] [energy 86.451347] > N -t 133.343015 -n 0 -e 88.053160 > N -t 133.343015 -n 2 -e 86.852102 > N -t 133.343016 -n 3 -e 87.335816 > s 133.354015333 _2_ MAC --- 0 CTS 10 [0.11 1 2] [energy 86.852102] > N -t 133.354016 -n 1 -e 86.436128 > N -t 133.354016 -n 3 -e 87.332715 > N -t 133.354017 -n 0 -e 88.050060 > s 133.365016000 _1_ MAC --- 0 cbr 118 [0.07 2 1] [energy 86.436128] > ------- > [0:0 9:0 31 2] [0] 0 0 > N -t 133.365017 -n 0 -e 88.037941 > > > My question is: How can I analyze the energy efficiency from the trace > file? > Does anyone have awk script to obtain the energy efficiency > result from the trace file? > Thanks a lot! Any suggestions will be appreciated > Best regards! > David > _______________________________________________ > Smac-users mailing list > [EMAIL PROTECTED] > http://mailman.isi.edu/mailman/listinfo/smac-users >