>>>> 2) What would be the size of /proc/vmcore ??
>>>>    /proc/vmcore size will be dependent on any criteria like RAM size
>>>> or
>>>> other ?
>>> 
>>> It will be (RAM Size - Reserved memory area size)
>> 
>> 
>> /proc/vmcore size ---> 4166476832 bytes     ---> 3.88GB --> 3,973.12 MB
>> (Dump-Capture kernel)
>> /proc/meminfo size --> MemTotal 3994184 kB  ---> 3.809GB--> 3,900.41 MB
>> (Priamry Kernel)
>> 
> 
> Hi,
> 
> Look at /proc/iomem at add up the all entries of "System RAM". That
> would give a good idea of total physical memory in the system.
> 
> I think /proc/meminfo does some filtering like removing reserved pages
> while calulating total memory. So most likely it will not report 64MB
> of memory reserved for dump kernel.
> 
> Thanks
> Vivek

Thanks for your quick response.

cat /proc/iomem  | grep "System RAM"
00000000-0009fbff : System RAM    ----> 638kB
00100000-fbfeffff : System RAM    ----> 4127679kB

Total : 4127679 + 638 = 4128317kB --> 4031.56MB
        4031.56MB - 64MB = 3967.56MB

/proc/vmcore size ---> 4166476832 bytes ---> 3.88GB --> 3,973.12MB 
(Dump-Capture kernel)


Conclusion:-  vmcore size is approximately 6MB greater than the SYSTEM RAM size 


Thanks
Seetharam



_______________________________________________
fastboot mailing list
fastboot@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/fastboot

Reply via email to