Windows操作系统对物理内存支持列表及/PAE/3G相关问题
Physical Memory Limits: Windows Server 2008
The following table specifies the limits on physical memory for Windows Server 2008. Limits greater than 4 GB for 32-bit Windows assume that PAE is enabled.
| Version |
Limit in 32-bit Windows |
Limit in 64-bit Windows |
| Windows Server 2008 Datacenter (full installation) |
64 GB |
2 TB |
| Windows Server 2008 Datacenter (Server Core installation) |
64 GB |
2 TB |
| Windows Server 2008 Enterprise |
64 GB |
2 TB |
| Windows Server 2008 HPC Edition |
Not applicable |
128 GB |
| Windows Server 2008 Standard |
4 GB |
32 GB |
| Windows Server 2008 for Itanium-Based Systems |
Not applicable |
2 TB |
| Windows Web Server 2008 |
4 GB |
32 GB |
Physical Memory Limits: Windows Vista
The following table specifies the limits on physical memory for Windows Vista.
| Version |
Limit in 32-bit Windows |
Limit in 64-bit Windows |
| Windows Vista Ultimate |
4 GB |
128 GB |
| Windows Vista Enterprise |
4 GB |
128 GB |
| Windows Vista Business |
4 GB |
128 GB |
| Windows Vista Home Premium |
4 GB |
16 GB |
| Windows Vista Home Basic |
4 GB |
8 GB |
| Windows Vista Starter |
1 GB |
Not applicable |
Physical Memory Limits: Windows Home Server
Windows Home Server is available only in a 32-bit edition. The physical memory limit is 4 GB.
Physical Memory Limits: Windows Server 2003
The following table specifies the limits on physical memory for Windows Server 2003. Limits over 4 GB for 32-bit Windows assume that PAE is enabled.
| Version |
Limit in 32-bit Windows |
Limit in 64-bit Windows |
| Windows Server 2003 with Service Pack 2 (SP2), Datacenter Edition |
128 GB
64 GB with 4GT |
2 TB |
| Windows Server 2003 with Service Pack 2 (SP2), Enterprise Edition |
64 GB |
2 TB |
| Windows Storage Server 2003, Enterprise Edition |
8 GB |
Not applicable |
| Windows Storage Server 2003 |
4 GB |
Not applicable |
|
Windows Server 2003 R2 Datacenter Edition
Windows Server 2003 with Service Pack 1 (SP1), Datacenter Edition |
128 GB
16 GB with 4GT |
1 TB |
|
Windows Server 2003 R2 Enterprise Edition
Windows Server 2003 with Service Pack 1 (SP1), Enterprise Edition |
64 GB
16 GB with 4GT |
1 TB |
|
Windows Server 2003 R2 Standard Edition
Windows Server 2003, Standard Edition SP1
Windows Server 2003, Standard Edition SP2 |
4 GB |
32 GB |
| Windows Server 2003, Datacenter Edition |
128 GB
16 GB with 4GT |
512 GB |
| Windows Server 2003, Enterprise Edition |
32 GB
16 GB with 4GT |
64 GB |
| Windows Server 2003, Standard Edition |
4 GB |
16 GB |
| Windows Server 2003, Web Edition |
2 GB |
Not applicable |
| Windows Small Business Server 2003 |
4 GB |
Not applicable |
| Windows Compute Cluster Server 2003 |
Not applicable |
32 GB |
Physical Memory Limits: Windows XP
The following table specifies the limits on physical memory for Windows XP.
| Version |
Limit in 32-bit Windows |
Limit in 64-bit Windows |
| Windows XP |
4 GB |
128 GB |
| Windows XP Starter Edition |
512 MB |
Not applicable |
Physical Memory Limits: Windows 2000
The following table specifies the limits on physical memory for Windows 2000.
| Version |
Limit in 32-bit Windows |
| Windows 2000 Professional |
4 GB |
| Windows 2000 Server |
4 GB |
| Windows 2000 Advanced Server |
8 GB |
| Windows 2000 Datacenter Server |
32 GB |
对于Windows Server 2003,我们仍然需要/PAE来使得系统支持4G以上的内存。4G的限制并不是针对操作系统的,而是针对Intel32位体系架构的。所以我们需要在boot.ini文件中加入/PAE
具体的关于PAE的信息和如何修改boot.ini,请参考:
283037 Large memory support is available in Windows Server 2003 and in
Windows 2000
http://support.microsoft.com/kb/283037
关于内存识别:
======
内存识别与/PAE是两件不同的事情. 系统报告的内存容量, 并不直接等于处理器可用的内存. /PAE使得处理器可以访问更多的内存 (x86的处理器可以访问64GB, 或者128GB).
内存识别:
======
内存识别是一个系统事件. 系统通过查询注册的WMI类来得知目前的内存容量. 但是这个WMI类的注册并不一定正确. 所以可能出现系统不能报告正确内存容量的情况. 但是, 这并不意味着处理器不能使用所有内存.
一般内存识别的问题都可以通过应用最新的补丁程序解决问题. 根据我的经验, 也有个别情况, 是因为主板BIOS对内存的配置不对, 导致系统报告的内存容量不准确.
关于/PAE:
======
/PAE是一个技术, 它改变了原来芯片访问内存的算法, 使得可以访问的内存容量增加. 一个简单的比方就是:
使用/pae之前, 芯片使用的是两级指针. 使用/pae之后, 芯片使用三级指针. 计算机使用二进制的方式来访问内存, 所以增加一级指针的效果是以2的指数次方的效果增加了可以访问的内存容量. /PAE技术同时适用与x86架构的芯片和x64架构的芯片, 因为它改变的是算法, 而这是独立于架构的.
您如果有兴趣, 可以参阅这篇文章来了解详细信息:
Physical Address Extension
http://msdn.microsoft.com/en-us/library/aa366796(VS.85).aspx
32-bit的Windows XP 默认不能识别4G内存:
======
在默认情况下 (不使用PAE), Windows XP (32bit)是可以识别4GB内存的. PAE参数是为了多于4GB内存的情况.
但是根据我的经验, 有很多情况下, Windows XP不能够正确的识别出4GB内存. 一般这都是因为计算机硬件占用内存.
32-bit的 Windows XP 默认不能使用4GB内存:
======
32位的Windows XP最大支持4GB物理内存. 但是Windows XP不能使用全部的4GB内存, 因为有一部分内存是保留给系统硬件, 驱动等. 所以有时候您安装4GB内存, 但是系统报告2.5GB到3.5GB. 这个情况是比较常见的.
加了/PAE后Windows XP是否可以识别使用4GB内存:
======
/PAE主要用于大于4gb物理内存的情况下, 所以4GB内存不需要/PAE.
另外, 32位的Windows XP添加了/PAE也依然有4GB物理内存限制 ---, 即32位的Windows XP依然只能使用最大4GB物理内存. 这一点和32位的Windows 2003 不一样. 物理内存限制和系统也是有关系的.
--------------------------------------------
/3GB
引用:
KB : 328882
/3GB 开关
默认情况下,Windows 可以对总计 4 千兆字节 (GB) 的虚拟地址空间进行寻址。默认情况下,此地址空间中的 2 GB 为内核(操作系统)保留,另外 2 GB 是为用户模式程序(如 Exchange 2000 Server)保留的。
当您将 /3GB 开关放入操作系统的 Boot.ini 文件中时,您就重新分配了虚拟地址空间,给用户模式程序提供 3 GB 的空间,同时将内核限制为 1 GB。
重要说明:只有在以下操作系统中可以使用 /3GB 开关:
• Microsoft Windows Server 2003 Enterprise Edition
• Microsoft Windows Server 2003 Datacenter Edition
• Microsoft Windows Small Business Server 2003
• Microsoft Windows XP Professional
• Microsoft Windows 2000 Advanced Server
• Microsoft Windows 2000 Datacenter Server
• Microsoft Windows NT 4.0 Enterprise Server
在以下操作系统中不要使用 /3GB 开关:
• Microsoft Windows 2000 Server
• Microsoft Windows NT 4.0 Server
Windows 2000 Server 和 Windows NT 4.0 Server 只可以为用户模式程序分配 2 GB。如果您在 Windows 2000 Server 或 Windows NT 4.0 Server 中使用 /3GB 开关,则会将 1 GB 分配给内核,将 2 GB 分配给用户模式程序,因而您将丢失 1 GB 的地址空间。
当您的计算机中安装的物理内存超过 1 GB 后,用户模式程序的 2GB 虚拟内存地址会导致 Exchange 2000 Server 中出现若干问题。
Exchange 2000 Server 基于物理内存数量计算分配给数据库缓冲区的内存。物理内存超过 1 GB,可能导致将不相称的 2 GB 虚拟内存分配给数据库缓冲区。这可能导致虚拟内存分段故障、性能问题或“内存不足”问题。
注意:如果您仍遇到内存故障,请从服务器中删除一些 RAM 以将其减小至 1GB 或更少。这有助于您确认本文中描述的情况是不是此问题的根源。
基于 Windows 2000 Advanced Server 的计算机上的 Exchange 2000 Server
当基于 Windows 2000 Advanced Server 的计算机拥有超过 1 GB 的物理 RAM,请在 Boot.ini 中使用 /3GB 开关,使用户模式程序(如 Exchange 2000 Server)可以访问 3 GB 的虚拟地址空间。
基于 Windows 2000 Datacenter Server 的计算机上的 Exchange 2000 Server
在基于 Windows 2000 Datacenter Server 的计算机上,当物理 RAM 超过 1 GB 时,请使用 /3GB 开关。Exchange 2000 Server 需要在 Windows 2000 Datacenter Server 上支持的 Service Pack 1 (SP1)。
/PAE 开关
物理地址扩展 (PAE) 是 Windows 2000 Datacenter Server 和 Windows 2000 Advanced Server 的一项功能,为此 API 编写的程序能够使用 4 GB 以上的内存。虽然有专门为利用此 API 而编写的程序,例如 Microsoft SQL Server 2000,但 Exchange 2000 Server 与其不兼容。因此,如果您使用 /3GB 开关,Exchange 2000 Server 只能对 3 GB 的地址空间进行寻址。
PS: 请留意上文中标蓝段落, M$ 只是将 Exchange 用来做例子,因为 Exchange 是 M$ 自己的产品。PS: 版内有没有 PhotoShop 、CD 或其他需要频繁操作上百甚至上G文件的朋友? 有的话,请留意下面:
来至 kb.adobe.com , ID :332271
If you are running Windows XP Professional with Service Pack 2, you can set the 3 GB switch in the boot.ini file, which allows Photoshop to use up to 3 GB of RAM.
--------------------------------------------