[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 32 位系统最多支持 4GB 内存,哪些 bigmem 模块是做什么用的?



请参见 “Very Large Memory on Linux”:

On a 32-bit Physical Address Extension (PAE) system with hugemem,
Oracle database can use a shared memory file system, feature called
Very Large Memory (VLM). VLM can increase SGA from 1.7 GB to 62 GB.
However, the user space address is still limited to 4GB.

在支持 PAE 的32bitOS中,可以利用地址窗口的概念,将4G之外的内存映射到用户空间,从而访问到最大62GB的内存。
这种方法效率较低,编程稍微复杂,所以不推荐使用。

2010/1/1 任晓磊 <julyclyde@gmail.com>:
> 1 单个应用程序只能用3G,但多个应用程序加起来可以用更多
> 2 4G地址空间,并不表示4G都是内存,也不表示4G都是给应用程序用的。在每个应用程序的虚拟地址空间中,内核占据1G地址。应用程序需要调用操作系统功能时,就跳转到操作系统的地址运行。注意区分地址和内存的概念
>
> 2010/1/1 User <resation@yeah.net>:
>> 那些地址应用程序不能访问,是否专供内核程序可以使用?另外,应用程序不
>> 是最大能够使用到 4GB 内存,怎么是 3GB 呢?麻烦大哥解释一下。
>>
>
> --
> Ren Xiaolei
>

Reply to: