查看: 1940|回复: 4
收起左侧

内存怎么只有128M?

2012-7-17 23:11:44 | 显示全部楼层 |阅读模式
我运行的是ARCHLINUXARM
  1. [root@RBP ~]# dmesg |grep mem
  2. free_area_init_node: node 0, pgdat c057d568, node_mem_map c05cf000
  3.   Normal zone: 256 pages used for memmap
  4. please try 'cgroup_disable=memory' option if you don't want memory cgroups
  5. Memory: 123440k/123440k available, 7632k reserved, 0K highmem
  6. Virtual kernel memory layout:
  7.     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
  8. Initializing cgroup subsys memory
  9. vc-mem: mm_vc_mem_phys_addr = 0x00000000
  10. vc-mem: mm_vc_mem_size      = 0x10000000 (256 MiB)
  11. vc-mem: Videocore memory driver
  12. dwc_otg bcm2708_usb: irq 75, io mem 0x00000000
  13. Freeing init memory: 128K
复制代码
再看TOP:
  1. top - 23:11:36 up 13 min,  2 users,  load average: 0.03, 0.06, 0.09
  2. Tasks:  46 total,   1 running,  45 sleeping,   0 stopped,   0 zombie
  3. %Cpu(s):  0.7 us,  0.3 sy,  0.0 ni, 99.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
  4. KiB Mem:    123568 total,    34432 used,    89136 free,     8148 buffers
  5. KiB Swap:        0 total,        0 used,        0 free,    15468 cached
复制代码
看来看去还是128M,难道是系统的关系?
回复

使用道具 举报

2012-7-17 23:42:40 | 显示全部楼层
256M内存,A版和B版都一样,内存。
回复 支持 反对

使用道具 举报

2012-7-17 23:43:08 | 显示全部楼层
GPU要使用一些内存。内存是“分割”了的。
回复 支持 反对

使用道具 举报

2012-7-18 06:19:20 | 显示全部楼层
修改启动文件,在内存分配有三种模式可选。 如果用不着XBMC,开机的时候64m用于3d加速
sudo cp /boot/arm192_start.elf /boot/start.elf  就行了

这时候内存:显存的分配为 192:64

sudo cp /boot/arm224_start.elf /boot/start.elf 只给显存保留最少32m使用,没有加速了.
这时候内存:显存的分配为 224:32

/Choosing the right ARM/GPU memory split
There is a choice of how the 256M of RAM is divided between the ARM and GPU:

   arm224_start.elf : 224M ARM,  32M GPU split : Maximum ARM memory. Good for ARM desktop use. No accelerated video or 3D possible.
   arm192_start.elf : 192M ARM,  64M GPU split : Reasonable ARM memory. Simple video (omxplayer) or 3D (quake) is possible. This is the default.
   arm128_start.elf : 128M ARM, 128M GPU split : Use this for heavy 3D work, or 3D plus video. Needed for XBMC.
回复 支持 反对

使用道具 举报

 楼主| 2012-7-18 07:30:03 | 显示全部楼层
原来如此,XBMC也太霸道了,要用这么多,要是512M就好了
我的archlinux上装上了XBMC,不用专用的了,可以上个网,操作操作,顺便看个片
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热点推荐

关注我们,了解更多

官方微信

服务时间:10:00-16:00

13714503811

公司地址:深圳市龙岗区南湾街道东门头路8号

Copyright © 2012-2020 Powered by 树莓派论坛 2019.4  粤ICP备15075382号-1
快速回复 返回列表 返回顶部