uname -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,所以我想可能是这种情况。)
sudo dmesg | grep VRAM
[ 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 中的缓冲区大小并将其调低来检查这个问题。