I am having a bit of confusion regarding the function of RAM and ROM
within the Android machine. For reference, I'll pick my phone, a
Motorola Droid (original), though I guess the question applies to all
Android machines.

I am trying to write an article on how Android memory is used, (and
once and for all what should we think about CompCache and Swap)  The
prototype is here:

http://forum.xda-developers.com/showthread.php?t=897823

I believe this thing is riddled with major technical errors, but I
can't find the actual information. My Google-fu is weak. I would
appreciate a technical review if any one want to comment there. In the
meanwhile, here's a few related questions.

According to Motorola specs on Motodev, it has 512MB of ROM, and 256MB
of RAM. From Eneas, I found the boot process explained (
http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html
)

I guess my question is what exactly happens when Android loads a
program? And what's the ROM loaded with?

In the 512MB ROM, is 256MB ROM loaded with boot stuff and system
stuff, and the other 256MB for app storage? (Is that what DiskUsage
app sees?)

How do I read what's in RAM itself? I have CM612 loaded and I have
terminal so I can see Busybox output. "Free" doesn't tell me very
much. I can do ADB. Which rooted app tells me more? I tried both
AutoKiller and Auto Memory Manager, and they give very similar
outputs, but I'm not quite understanding them under "processes".

What exactly is that "free memory" under Advanced Task Killer? (ATK
Froyo by ReChild)  It doesn't agree with the numbers I find under
"free" in Busybox.

How do I interpret that little bar graph at the bottom of "Manage
Services"? I figured "red" is system like gapps, acore, and so on, but
what is yellow and green? Is green the services and apps that can be
killed?

Can compcache and swap be activated together? Or are they mutually
exclusive?

Just how efficient is compcache?

Sorry for the messy questions. I seems there is no consensus on task
killers, compcache and swap. A lot of this stuff seem to be related by
anecdotes instead of actual technical info. Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to