[android-kernel] Re: How much RAM does G1 have?

2009-07-09 Thread Dianne Hackborn
Well your estimate for the graphics is way low. That's just a framebuffer -- every window has its own buffer (and is actually double-buffered) as well. The modem is a lot more too. :) Anyway, regardless of exactly what takes what, this is the RAM we end up with on the device. On Thu, Jul 9, 200

[android-kernel] Re: How much RAM does G1 have?

2009-07-09 Thread tom
2MB framebuffer should be enough for a 480*320*16bpp device, (even considering the virtual 960 width, and double buffer) for camera, a 3M pixel camera, 6MB might be enough, or the worst 10MB Modem, RAM for its execution, plus the AP-BP communication, 15M is enough enough. other driver's DMA buffer

[android-kernel] Re: How much RAM does G1 have?

2009-07-09 Thread Dianne Hackborn
On Wed, Jul 8, 2009 at 10:33 PM, tom wrote: > yes, kernel need to reserve some for its text, data, mem_map, and > other like FB etc. > But, 192-101=91MB, does modem need 91MB?! It also includes DMA buffers, graphics memory, etc. -- Dianne Hackborn Android framework engineer hack...@android.co

[android-kernel] Re: How much RAM does G1 have?

2009-07-08 Thread XingChao Wang
2009/7/9 tom : > > yes, kernel need to reserve some for its text, data, mem_map, and > other like FB etc. > > But, 192-101=91MB, does modem need 91MB?! > We argue HTC ram usage once.It's really hard to know ram detail layout. --wxc200 > > On Jul 9, 1:09 pm, wxc200 wrote: >> On Jul 9, 11:51 am, D

[android-kernel] Re: How much RAM does G1 have?

2009-07-08 Thread tom
yes, kernel need to reserve some for its text, data, mem_map, and other like FB etc. But, 192-101=91MB, does modem need 91MB?! On Jul 9, 1:09 pm, wxc200 wrote: > On Jul 9, 11:51 am, Dianne Hackborn wrote:> On Wed, Jul > 8, 2009 at 7:25 PM, wxc200 wrote: > > > Do you mean App-processor and o

[android-kernel] Re: How much RAM does G1 have?

2009-07-08 Thread wxc200
On Jul 9, 11:51 am, Dianne Hackborn wrote: > On Wed, Jul 8, 2009 at 7:25 PM, wxc200 wrote: > > Do you mean App-processor and other Modem processors? > > If so,that's right.App processor only use part of the total physical > > memory. > > BUt in my case, even "cat /proc/meminfo"  doesnot match

[android-kernel] Re: How much RAM does G1 have?

2009-07-08 Thread Dianne Hackborn
On Wed, Jul 8, 2009 at 7:25 PM, wxc200 wrote: > Do you mean App-processor and other Modem processors? > If so,that's right.App processor only use part of the total physical > memory. > BUt in my case, even "cat /proc/meminfo" doesnot match app-usable > memory. Well what does it say? As the or

[android-kernel] Re: How much RAM does G1 have?

2009-07-08 Thread wxc200
On Jul 6, 10:53 pm, Jean-Baptiste Queru wrote: > There are other processors in the device that also need some RAM in > order to be able to run. Do you mean App-processor and other Modem processors? If so,that's right.App processor only use part of the total physical memory. BUt in my case, eve

[android-kernel] Re: How much RAM does G1 have?

2009-07-06 Thread Jean-Baptiste Queru
There are other processors in the device that also need some RAM in order to be able to run. JBQ On Mon, Jul 6, 2009 at 12:51 AM, tom wrote: > > HTC hardware spec said there are 192MB RAM. > But there is only 101MB available for kernel. > > What are the rest 91MB used for? > Or did I miss someth