内存怎么只有128M?
我运行的是ARCHLINUXARM# dmesg |grep mem
free_area_init_node: node 0, pgdat c057d568, node_mem_map c05cf000
Normal zone: 256 pages used for memmap
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 123440k/123440k available, 7632k reserved, 0K highmem
Virtual kernel memory layout:
lowmem: 0xc0000000 - 0xc8000000 ( 128 MB)
Initializing cgroup subsys memory
vc-mem: mm_vc_mem_phys_addr = 0x00000000
vc-mem: mm_vc_mem_size = 0x10000000 (256 MiB)
vc-mem: Videocore memory driver
dwc_otg bcm2708_usb: irq 75, io mem 0x00000000
Freeing init memory: 128K再看TOP:
top - 23:11:36 up 13 min,2 users,load average: 0.03, 0.06, 0.09
Tasks:46 total, 1 running,45 sleeping, 0 stopped, 0 zombie
%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
KiB Mem: 123568 total, 34432 used, 89136 free, 8148 buffers
KiB Swap: 0 total, 0 used, 0 free, 15468 cached
看来看去还是128M,难道是系统的关系? 256M内存,A版和B版都一样,内存。 GPU要使用一些内存。内存是“分割”了的。 修改启动文件,在内存分配有三种模式可选。 如果用不着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. 原来如此,XBMC也太霸道了,要用这么多,要是512M就好了
我的archlinux上装上了XBMC,不用专用的了,可以上个网,操作操作,顺便看个片
页:
[1]