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

2 views
Skip to first unread message

User

unread,
Jan 1, 2010, 3:48:12 AM1/1/10
to debian-c...@lists.debian.org

  如题,Debian 提供了一些带有“bigmem”标识的包,比如
“aufs-modules-2.6-686-bigmem”等。按照它提供的解释,那种包用于 4--64GB
内存的系统。可又说这适合 686 处理器,那明明是 32 位系统呀?哪位大侠懂得
其中的缘由,恳请指教。


--
To UNSUBSCRIBE, email to debian-chine...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

任晓磊

unread,
Jan 1, 2010, 9:56:44 AM1/1/10
to debian-c...@lists.debian.org
32位CPU其实有36位地址线,可以访问到2^36这么大的地址。bigmem内核是开启了PAE功能,可以使用另外4条地址线的32位内核。但应用程序依然无法使用超过3G的内存

2010/1/1 User <resa...@yeah.net>:

--
Ren Xiaolei

User

unread,
Jan 1, 2010, 10:14:32 AM1/1/10
to debian-c...@lists.debian.org

2010-01-01(Friday) 22:56:44 +0800, 任晓磊 <july...@gmail.com>:

> 32位CPU其实有36位地址线,可以访问到2^36这么大的地址。bigmem内核是开启了PAE功能,可以使用另外4条地址线的32位内核。但应用程序依然无法使用超过3G的内存


  那些地址应用程序不能访问,是否专供内核程序可以使用?另外,应用程序不
是最大能够使用到 4GB 内存,怎么是 3GB 呢?麻烦大哥解释一下。

任晓磊

unread,
Jan 1, 2010, 10:29:11 AM1/1/10
to debian-c...@lists.debian.org
1 单个应用程序只能用3G,但多个应用程序加起来可以用更多
2 4G地址空间,并不表示4G都是内存,也不表示4G都是给应用程序用的。在每个应用程序的虚拟地址空间中,内核占据1G地址。应用程序需要调用操作系统功能时,就跳转到操作系统的地址运行。注意区分地址和内存的概念

2010/1/1 User <resa...@yeah.net>:


>   那些地址应用程序不能访问,是否专供内核程序可以使用?另外,应用程序不
> 是最大能够使用到 4GB 内存,怎么是 3GB 呢?麻烦大哥解释一下。
>

--
Ren Xiaolei

amateur

unread,
Jan 2, 2010, 10:01:50 AM1/2/10
to debian-c...@lists.debian.org
On Fri, Jan 01, 2010 at 04:48:12PM +0800, User wrote:
>
>
>   如题,Debian 提供了一些带有“bigmem”标识的包,比如
> “aufs-modules-2.6-686-bigmem”等。按照它提供的解释,那种包用于 4--64GB
> 内存的系统。可又说这适合 686 处理器,那明明是 32 位系统呀?哪位大侠懂得
> 其中的缘由,恳请指教。
-------------------------
x86 32 位系统有一个 PAE(Physical Address Extension) 扩展,处理器地址总
线扩展到 36 位,可以将支持的物理内存容量增大到 64GB。

--
"I don't know what their
gripe is. A critic is
simply someone paid to
render opinions glibly."
"Critics are grinks and
groinks."
-- Baron and Badger, from Badger comics

cnhnln

unread,
Jan 2, 2010, 10:42:16 AM1/2/10
to debian-c...@lists.debian.org
有个性能测试可以看看

http://www.lupaworld.com/viewnews-141155.html

--------------------------------------------------
From: "amateur" <tianle...@gmail.com>
Sent: Saturday, January 02, 2010 11:01 PM
To: <debian-c...@lists.debian.org>
Subject: Re: 32 位系统最多支持 4GB 内存,哪些 bigmem 模块是做什么用的?

Dongsheng Song

unread,
Jan 3, 2010, 10:20:03 AM1/3/10
to 任晓磊, debian-c...@lists.debian.org
请参见 “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 任晓磊 <july...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages