[摘要]Pushing the Limits of Windows: Physical Memory From Mark Russinovich's blog

This an abstract to Russinovich's blog:
Pushing the Limits of Windows: Physical Memory(http://blogs.technet.com/markrussinovich/archive/2008/07/21/3092070.aspx)
学习其精华,留下我的糟粕在这里。

1.Windows support for physical memory is dictated by hardware limitations, licensing, operating system data structures, and driver compatibility。
2.Windows Server 2003 Datacenter Edition在32位的处理器上,物理内存的限制是128GB,这个数值来源于Windows内存管理器的数据结构的限制。Windows使用PFN数据结构来表示每一个physical pages,出于效率的考虑,整个PFN database需要映射到虚拟地址空间上。每个page的PFN需要28bytes,那么128GB就大约需要930MB的地址空间(128GB/4K*28 ~= 896MB)。Windows默认预留了2G的虚拟地址空间给kernel,那么这个930MB就几乎占用了一半的地址空间。
3.64位的Windows Server 2003 Datacenter Edition的限制是2TB,这不是由于任何实现以及硬件的限制。仅仅是微软无法测试更大的内存了。
4.对于64位的非服务器版本的Windows,有更低的限制,比如说WinXP Starter只有512M, Win7 UL只有192GB.
5.如果不开PAE的话,32位系统的自然有一个理论上限是4GB.而实际的上限是小于4GB的。这取决于是用的chipset和所连接的外设,物理地址空间不仅仅映射内存空间,同样的也映射外设的存储空间。chipset也可能主动地保留一部分地址空间,即使它暂时用不上。
6.你是否有足够的内存?没有答案,"available memory"是做决定的一个因子。Windows defines available memory as physical memory that's not assigned to a process, the kernel, or device drivers。
 
原文地址:https://www.cnblogs.com/aoaoblogs/p/1608619.html