Linux 8GB 总内存只识别到 5.69GB
// 是不是总的物理内存简单就是总计+交换( TotalMem+Swap – 5829+2047),这样数值上应该就是对了的。。。
Ubuntu 20.04 LTS Desktop
ThinkPad T495 单条 8GB 内存
free 和 top 均显示 TotalMem 为 5.69:
[email protected]:~$ free -m
总计 已用 空闲 共享 缓冲 /缓存 可用
内存: 5829 1766 1289 264 2773 3513
交换: 2047 418 1629
内存带宽 64 位:
[email protected]:~$ sudo lshw |grep -m1 width
width: 64 bits
dmidecode 显示系统可以正确识别到这个单条 8GB 的三星内存条:
Memory Device
Array Handle: 0x0001
Error Information Handle: 0x0007
Total Width: 64 bits
Data Width: 64 bits
Size: 8192 MB
Form Factor: SODIMM
Set: None
Locator: DIMM 0
Bank Locator: P0 CHANNEL A
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2400 MT/s
Manufacturer: Samsung
Serial Number: 00000000
Asset Tag: Not Specified
Part Number: M471A1G44AB0-CTD
Rank: 1
Configured Memory Speed: 2400 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Handle 0x0009, DMI type 20, 35 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Device Handle: 0x0008
Memory Array Mapped Address Handle: 0x0002
Partition Row Position: Unknown