Ubuntu 18.04 未显示最大可用内存

Ubuntu 18.04 未显示最大可用内存

眼镜 -

CPU - Ryzen 5 2400G
Motherboard - MSI B450 gaming plus
RAM - Corsair Vengeance 8GB x 2
I am Using two displays - HDMI && DVI

我安装了 ubuntu 18.04,它显示只有 13.7GB 内存,总共 16GB

在此处输入图片描述

当我只使用一根内存条时,它显示 8GB 中有 5.8GB

我使用的是 Windows,内存有 14+GB

在此处输入图片描述

sudo dmidecode -t memory

输出

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x000F, DMI type 16, 23 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: None
    Maximum Capacity: 256 GB
    Error Information Handle: 0x000E
    Number Of Devices: 4

Handle 0x0016, DMI type 17, 40 bytes
Memory Device
    Array Handle: 0x000F
    Error Information Handle: 0x0015
    Total Width: Unknown
    Data Width: Unknown
    Size: No Module Installed
    Form Factor: Unknown
    Set: None
    Locator: DIMM 0
    Bank Locator: P0 CHANNEL A
    Type: Unknown
    Type Detail: Unknown
    Speed: 2133 MT/s
    Manufacturer: Unknown
    Serial Number: Unknown
    Asset Tag: Not Specified
    Part Number: Unknown
    Rank: Unknown
    Configured Clock Speed: Unknown
    Minimum Voltage: Unknown
    Maximum Voltage: Unknown
    Configured Voltage: Unknown

Handle 0x0018, DMI type 17, 40 bytes
Memory Device
    Array Handle: 0x000F
    Error Information Handle: 0x0017
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8192 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM 1
    Bank Locator: P0 CHANNEL A
    Type: DDR4
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 2133 MT/s
    Manufacturer: Unknown
    Serial Number: 00000000
    Asset Tag: Not Specified
    Part Number: CMK8GX4M1D3000C16   
    Rank: 1
    Configured Clock Speed: 1067 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

Handle 0x001B, DMI type 17, 40 bytes
Memory Device
    Array Handle: 0x000F
    Error Information Handle: 0x001A
    Total Width: Unknown
    Data Width: Unknown
    Size: No Module Installed
    Form Factor: Unknown
    Set: None
    Locator: DIMM 0
    Bank Locator: P0 CHANNEL B
    Type: Unknown
    Type Detail: Unknown
    Speed: 2133 MT/s
    Manufacturer: Unknown
    Serial Number: Unknown
    Asset Tag: Not Specified
    Part Number: Unknown
    Rank: Unknown
    Configured Clock Speed: Unknown
    Minimum Voltage: Unknown
    Maximum Voltage: Unknown
    Configured Voltage: Unknown

Handle 0x001D, DMI type 17, 40 bytes
Memory Device
    Array Handle: 0x000F
    Error Information Handle: 0x001C
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8192 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM 1
    Bank Locator: P0 CHANNEL B
    Type: DDR4
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 2133 MT/s
    Manufacturer: Unknown
    Serial Number: 00000000
    Asset Tag: Not Specified
    Part Number: CMK8GX4M1D3000C16   
    Rank: 1
    Configured Clock Speed: 1067 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

答案1

可能需要检查 BIOS 上外围设备中的“集成显卡设置”(我的主板是技嘉主板,MSI 上的设置可能有所不同)。此设置控制分配给 2400G 上 GPU 的 RAM 量,当在我的主板上设置为自动时,它会分配大约 2 GB 的 RAM。当考虑到所有开销时,我的 2x8(16 Gb)RAM 还剩下大约 13.9 GB。如果您有独立于 2400G 的专用 GPU 单元,则可以通过此 BIOS 设置强制 RAM 更小。在我的设备上,我发现集成显卡设置上的“自动”可提供最佳的整体性能,因为我没有单独的视频卡。

相关内容