怎么检查服务器主板BIOS支持的最大内存大小?
来源于:
How to check Maximum Supported Memory by Motherboard Bios (文档 ID 1680534.1)
适用于:
Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.5 [Release OL5 to Ol6U5]
Linux x86-64
Linux x86
目标:
获得服务器主板BIOS支持的最大内存大小
解决方案:
简单的dmidecode 查询会得到这个值
# dmidecode -t 16 SMBIOS 2.7 present. Handle 0x0041, DMI type 16, 23 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 32 GB Error Information Handle: Not Provided Number Of Devices: 4
因此,上面例子中,服务器主板的BIOS可以最多容纳32GB内存
如果有超过32GB的内存被安装在了主板上,操作系统还是会发现最大32GB内存。
译者注:我的虚拟机的查询结果如下:
[root@rhel63single ~]# dmidecode -t 16 # dmidecode 2.11 SMBIOS 2.4 present. Handle 0x00E2, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 1 TB Error Information Handle: Not Provided Number Of Devices: 64 [root@rhel63single ~]# uname -r 2.6.32-279.el6.x86_64 [root@rhel63single ~]# uname -a Linux rhel63single 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux [root@rhel63single ~]#