orionsnow 发表于 2011-12-13 09:33

XOOM内存只有737MB的官方答复

本帖最后由 orionsnow 于 2011-12-13 12:42 编辑

我看使用程序占据内存上怎么显示是512 的?网上写错了,还是这款装错了?




XOOM内存只有737MB的官方答复
下载了个SetCPU,在信息里看到XOOM内存总量才739M,刚才论坛里也有朋友说到这个问题,所以很疑惑,去查了一下。得到MOTO官方的答复如下:

supportforums.motorola.com      /message/335886

总共1G内存,但有部分内存被显存,内核和其他组件所占用。

cat /proc/meminfo
内存总量: 736512 KB
可用内存:66600 KB
Buffers缓冲: 73084 KB
Cached缓存: 149692 KB

现在我们计算一下:(记住: 40000000 hex(16进制计数) 就是1G 内存的大小) :
00000000-2fffffff : 系统 RAM = 768MB
00034000-00500fff : 核心文本 = ~5MB
00528000-00639cef : 核心数据 = ~1MB
1ff00000-1fffffff : ram_console(控制台RAM) = 1MB
2e800000-2effffff : fbmem = 8MB
2f000000-2fffffff : fbmem = 16MB
30000000-3fffffff : 系统 RAM = 256MB

这就是我们所有的1G内存。第一个内存块是00000000-2fffffff,也就是我们能看见的,这个范围内的内存被还有些其他的一些组件占用了。例如被核心文本,核心数据,缓存缓冲所占用。768 - 5 - 1- 1 -8 -16 = 737MB。这就是为什么可用内存只有736512KB的原因。


P.S:不知道Google和MOTO的想法是什么,但是我个人觉得占用了256MB这么大的内存作为显存和系统缓存,蜂巢系统表现的并不如人意。要知道,10年前的电脑,256MB的内存运行XP都没压力。

原文:

Box has 1GB of ram in it, just some of the ram is being used for video card, kernel and other stuff.

cat /proc/meminfo

MemTotal: 736512 KB
MemFree: 66600 KB
Buffers: 73084 KB
Cached: 149692 KB

Now lets look at iomem output which tells the real story:
(Keep in mind that 40000000 hex is 1GB of ram)
00000000-2fffffff : System RAM = 768MB
00034000-00500fff : Kernel text = ~5MB
00528000-00639cef : Kernel data = ~1MB
1ff00000-1fffffff : ram_console = 1MB
2e800000-2effffff : fbmem = 8MB
2f000000-2fffffff : fbmem = 16MB
30000000-3fffffff : System RAM = 256MB

So there is our entire 1GB of ram. First block is 00000000-2fffffff, but areas in that range are being used for some other things. Its all there but we see we have chunks being used by Kernel Text, Kernel Data, the ram console and the Frame buffers. Which is why the 'available" ram hovers around 736512KB.

So if we do some math your main block is between 00000000-2fffffff but some of it is taken up and being used by other stuff so:
768 - 5 - 1- 1 -8 -16 = 737MB which matches up with around what we see in Meminfo.

Then there is another memory block between 30000000-3fffffff which is 256MB in size, which I assume is being used by the GPU

Message was edited by: gmanapps (fixed some typos)

cosailer 发表于 2011-12-13 14:06

这个不是X86平台, X86平台耗电啊.

orionsnow 发表于 2011-12-13 14:20


号称 1 G 内存,但是有256 是给显存的,还有乱七八糟的消耗,其实能用的也就300,400
页: [1]
查看完整版本: XOOM内存只有737MB的官方答复