原文链接:http://www.cnblogs.com/hokyhu/archive/2010/04/30/1724597.html
操作系
统实际支持的物理内存上限有三个决定因素:
CPU、主板和操作系统本身。
32位操作系统一般是基
于
x86架构的
CPU设计,传统的
x86 CPU最大支持
232
Bytes即
4GB
的内存
。不过目前的
x86 CPU一般都支持
PAE模式,启用
PAE模式以后理论上能支持
64位物理寻址,也就是
264
Bytes,
但是出于性能、成本等原因,实际上
PAE只是扩展到
36位物理寻址,所以目前大多数
CPU能支持
236
Bytes即
64GB
物理内存
。
主板限制一般看主板说明
书即可,都明确标明了最大支持的物理内存。这个限制一般受主板地址总线、芯片组及生产成本等影响。
说完了
CPU和主板,再说回到操作系统本身。绝大多数
32位操作系统都能支持到
4GB
内存
,只有极少数例外,例如
Windows XP
Stater最大只支持
512M内存,这主要出于产品定位的考虑。
要支持
大于
4GB的内存,需要操作系统能支持
PAE
模式。
而由于
PAE模式与
No PAE模
式虽然大体兼容,但多少还是有些不同的,所以以前的驱动程序能正常支持
PAE的比较少,因此大多数操作系统默认关闭了
PAE模式。
即便是
启用了
PAE,也不是都能支持
64GB
内存
,有的
8GB,有的到
16GB……一
方面是因为实际上大多数系统用不到那么大内存,支持太大内存反而会消耗很多内存做内存管理;另一方面可能也有产品分级定位的考量。
下面列出一下常见的
32
位操作系统
支持的最大内存。
操作系统 |
最大内存 (GB) |
备注 |
Windows 2000 Professional, Server |
4 |
|
Windows 2000 Advanced Server |
8 |
PAE |
Windows 2000 Datacenter |
32 |
PAE |
Windows XP Starter |
0.5 |
|
Windows XP Home & Media Center |
4 |
|
Windows XP Professional |
4 |
|
Windows Server 2003 Web |
2 |
|
Windows Server 2003 Small Business, Home, Storage |
4 |
|
Windows Server 2003 Enterprise Storage |
8 |
PAE |
Windows Server 2003 Standard (SP1/SP2/R2) |
4 |
|
Windows Server 2003 Enterprise (SP2) |
64 |
PAE |
Windows Server 2003 Datacenter (SP2) |
128 |
PAE 需特殊的服务器配置 |
Windows Vista Starter |
1 |
|
Windows Vista Home Basic |
4 |
|
Windows Vista Home Premium |
4 |
|
Windows Vista Business, Enterprise, Ultimate |
4 |
|
Windows Server 2008 Standard, Web |
4 |
|
Windows Server 2008 Enterprise, Datacenter |
64 |
PAE |
Windows 7 Starter |
2 |
|
Windows 7 Home Basic |
4 |
|
Windows 7 Home Premium |
4 |
|
Windows 7 Professional, Enterprise, Ultimate |
4 |
|
Linux kernel 2.3.23之前版本 |
4 |
|
Linux kernel 2.3.23及之后更高版本 |
64 |
PAE |
Mac OS X 10.4.4之前版本 |
4 |
|
Mac OS X 10.4.4至目前版本 |
32 |
PAE |