[net2-wg] Deluge T2 Overhead (fwd)
Razvan Musaloiu-E.
razvanm at cs.jhu.edu
Mon May 21 21:38:10 PDT 2007
Hi!
On Mon, 21 May 2007, Razvan Musaloiu-E. wrote:
> Hi!
>
> On Mon, 21 May 2007, Philip Levis wrote:
>
>> On May 21, 2007, at 5:57 PM, Razvan Musaloiu-E. wrote:
>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> Date: Mon, 21 May 2007 20:35:52 -0400
>>> From: "Chieh-Jan (Mike) Liang" <mliang at tuffmail.com>
>>> To: Razvan Musaloiu-E. <razvanm at jhu.edu>
>>> Subject: Deluge T2 Overhead
>>>
>>> Hi all,
>>>
>>> As promised during last Friday's meeting, I have compiled the overhead of
>>> including Deluge T2. I used RadioCountToLeds as the baseline. Note that
>>> Deluge T2 can be optionally included as a base station, which means it
>>> can take commands from the serial port.
>>>
>>> No Deluge:
>>> 8452 bytes in ROM
>>> 380 bytes in RAM
>>>
>>> Deluge:
>>> 20330 bytes in ROM (~12K increase)
>>> 1131 bytes in RAM (~0.8K increase)
>>>
>>> Deluge (Base station):
>>> 25732 bytes in ROM (~5K increase)
>>> 1709 bytes in RAM (0.6K~ increase)
>>
>>
>> This is pretty large; IIRC, Deluge in 1.1 was about 6K program memory and
>> 150 bytes of RAM. I'm currently looking into CTP's link and route
>> selection; after I'm done I can look into ways to trim Deluge down.
>
> RadioCountToLeds doesn't use the flash and the dissemination service so we
> pay the full price for them. I'll change TestDissemination to make use of
> both in order to get a better comparison.
Here are the results for a merge between TestDissemination and
apps/tests/storage/Block (which also uses the serial port).
Note: The increase in size is computed against the "No Deluge" version.
With TOSH_DATA_LENGTH=100:
No Deluge:
19956 bytes in ROM
1757 bytes in RAM
Deluge:
27740 bytes in ROM (+7784 bytes)
2633 bytes in RAM (+876 bytes)
Deluge (Base station):
30104 bytes in ROM (+10148 bytes)
2871 bytes in RAM (+1114 bytes)
With normal TOSH_DATA_LENGTH:
No Deluge:
19956 bytes in ROM
1757 bytes in RAM
Deluge:
27798 bytes in ROM (+7842 bytes)
2065 bytes in RAM (+308 bytes)
Deluge (Base station):
30162 bytes in ROM (+10206 bytes)
2159 bytes in RAM (+402 bytes)
The TOSH_DATA_LENGTH=100 is a temporary setting that allows us to get the
whole meta information in one shot. We'll remove it soon.
--
Razvan ME
More information about the net2-wg
mailing list