Centos6

dmidecode 顯示 6 * 8GB DIMM 但 free -m 只顯示 16GB?

  • November 9, 2018

我在 HP ProLiant BL460c G7 刀片伺服器上執行 CentOS 6.4。我在 HP 刀片伺服器上安裝了 6 * 8GB DIMM 記憶體。

當我使用 dmidecode –type memory 時,我得到以下輸出

Handle 0x1000, DMI type 16, 23 bytes
Physical Memory Array
   Location: System Board Or Motherboard
   Use: System Memory
   Error Correction Type: Single-bit ECC
   Maximum Capacity: 192 GB
   Error Information Handle: Not Provided
   Number Of Devices: 6

Handle 0x1001, DMI type 16, 23 bytes
Physical Memory Array
   Location: System Board Or Motherboard
   Use: System Memory
   Error Correction Type: Single-bit ECC
   Maximum Capacity: 192 GB
   Error Information Handle: Not Provided
   Number Of Devices: 6

Handle 0x1100, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1000
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: No Module Installed
   Form Factor: DIMM
   Set: 1
   Locator: PROC 1 DIMM 1D
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: Unknown
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: Unknown
   Configured Clock Speed: Unknown

Handle 0x1101, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1000
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: 8192 MB
   Form Factor: DIMM
   Set: 2
   Locator: PROC 1 DIMM 2A
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: 1333 MHz
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: 2
   Configured Clock Speed: 1333 MHz

Handle 0x1102, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1000
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: No Module Installed
   Form Factor: DIMM
   Set: 3
   Locator: PROC 1 DIMM 3E
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: Unknown
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: Unknown
   Configured Clock Speed: Unknown

Handle 0x1103, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1000
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: 8192 MB
   Form Factor: DIMM
   Set: 4
   Locator: PROC 1 DIMM 4B
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: 1333 MHz
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: 2
   Configured Clock Speed: 1333 MHz

Handle 0x1104, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1000
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: No Module Installed
   Form Factor: DIMM
   Set: 5
   Locator: PROC 1 DIMM 5F
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: Unknown
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: Unknown
   Configured Clock Speed: Unknown

Handle 0x1105, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1000
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: 8192 MB
   Form Factor: DIMM
   Set: 6
   Locator: PROC 1 DIMM 6C
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: 1333 MHz
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: 2
   Configured Clock Speed: 1333 MHz

Handle 0x1106, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1001
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: No Module Installed
   Form Factor: DIMM
   Set: 7
   Locator: PROC 2 DIMM 1D
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: Unknown
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: Unknown
   Configured Clock Speed: Unknown

Handle 0x1107, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1001
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: 8192 MB
   Form Factor: DIMM
   Set: 8
   Locator: PROC 2 DIMM 2A
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: 1333 MHz
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: 2
   Configured Clock Speed: 1333 MHz

Handle 0x1108, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1001
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: No Module Installed
   Form Factor: DIMM
   Set: 9
   Locator: PROC 2 DIMM 3E
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: Unknown
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: Unknown
   Configured Clock Speed: Unknown

Handle 0x1109, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1001
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: 8192 MB
   Form Factor: DIMM
   Set: 10
   Locator: PROC 2 DIMM 4B
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: 1333 MHz
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: 2
   Configured Clock Speed: 1333 MHz

Handle 0x110A, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1001
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: No Module Installed
   Form Factor: DIMM
   Set: 11
   Locator: PROC 2 DIMM 5F
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: Unknown
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: Unknown
   Configured Clock Speed: Unknown

Handle 0x110B, DMI type 17, 34 bytes
Memory Device
   Array Handle: 0x1001
   Error Information Handle: Not Provided
   Total Width: 72 bits
   Data Width: 64 bits
   Size: 8192 MB
   Form Factor: DIMM
   Set: 12
   Locator: PROC 2 DIMM 6C
   Bank Locator: Not Specified
   Type: DDR3
   Type Detail: Synchronous
   Speed: 1333 MHz
   Manufacturer: Not Specified
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Rank: 2
   Configured Clock Speed: 1333 MHz

但是當我輸入 free -m 時,它只顯示 16GB。我不明白這裡有什麼問題。請幫忙。

            total       used       free     shared    buffers     cached
Mem:         15914       4697      11216          0        226       3385
-/+ buffers/cache:       1085      14828
Swap:        18095         52      18043

您必須使用 64 位系統來處理這麼多的主記憶體。您能夠處理超過約 4G 的任何內容這一事實要歸功於 PAE,這是一種在邏輯上擴展 32 位系統的記憶體映射的方法。如您所見,它不會擴展很遠。

因此,使用 amd64 發行版重新安裝,您將能夠處理剩餘的記憶體。

引用自:https://serverfault.com/questions/939371