總內存低於我實際擁有的內存

總內存低於我實際擁有的內存

名稱-a:Linux amro 5.1.14-arch1-1-ARCH #1 SMP PREEMPT Sat Jun 22 16:28:48 UTC 2019 x86_64 GNU/Linux

我買了一條 8GB 記憶體條,但 KSysGuard 說總共有 5.8GB。

/proc/meminfo 說它是 6gb

MemTotal:        6113940 kB

自由-m

             total        used        free      shared  buff/cache   available
Mem:           5970        1832        2567         151        1569        3709
Swap:          1023           0        1023

但是,dmidecode 給出了正確的值

dmidecode -t 內存

# dmidecode 3.2
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: 2

Handle 0x0016, DMI type 17, 40 bytes
Memory Device
    Array Handle: 0x000F
    Error Information Handle: 0x0015
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8192 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM 0
    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 Memory Speed: 1067 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

這是正常的嗎?還是我的記憶體有問題?謝謝您的幫忙。

更多資訊

dmidecode -t 基板

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

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
    Manufacturer: Micro-Star International Co., Ltd.
    Product Name: B450M GAMING PLUS (MS-7B87)
    Version: 1.0
    Serial Number: J216413997
    Asset Tag: To be filled by O.E.M.
    Features:
        Board is a hosting board
        Board is replaceable
    Location In Chassis: To be filled by O.E.M.
    Chassis Handle: 0x0003
    Type: Motherboard
    Contained Object Handles: 0

Handle 0x0033, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Broadcom 5762
    Type: Ethernet
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:16:00.0

Handle 0x0034, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Realtek ALC898
    Type: Sound
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:38:00.6

(@Señor CMasMas 提到它可能是共享圖形內存,因為我使用的是 iGPU,我認為可能是這種情況。)

須藤 dmesg | grep 顯存

[    3.849314] amdgpu 0000:38:00.0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
[    3.849321] [drm] Detected VRAM RAM=2048M, BAR=2048M
[    3.849438] [drm] amdgpu: 2048M of VRAM memory ready

答案1

感謝@SeñorCMasMas 和@NatalieAdams 幫我解決了這個問題

問題是 2GB 被用來共享圖形記憶體。我透過更改 BIOS 中的緩衝區大小並將其降低來檢查這一點。

相關內容