Ubuntu 16.04는 32GB 메모리 중 24GB만 인식합니다.

Ubuntu 16.04는 32GB 메모리 중 24GB만 인식합니다.

최근에 4x8GB RAM이 장착된 새 데스크톱 컴퓨터를 구입했습니다. 그러나 운영 체제(Ubuntu 16.04, 64비트)에서는 32GB가 아닌 24GB RAM만 보고합니다. 스틱을 물리적으로 점검했으며 올바르게 설치되었습니다.

OS가 약간의 메모리를 차지할 수 있다는 것을 알고 있지만 8GB RAM이 부족하고 3x8이 24와 같기 때문에 나보다 경험이 많은 사람에게 물어봐야 한다고 생각했습니다. 일부 도구는 상충되는 정보를 제공합니다(아래 언급). 무슨 일이 일어나고 있는지 잘 모르겠고 문제를 해결하는 방법을 찾을 수 없어서 여기에 게시합니다.

나부터 시작하자관련 하드웨어:

  • 마더보드: Asrock 970M Pro3 970(최대 64GB 지원)
  • 메모리: G.Skill D332GB 1600-999 RipjawsX K4 GSK, 4x8GB
  • GPU: ASUS 4GB D5 GTX 1050 TI PH(GPU가 일부 RAM을 차지한다는 내용을 읽었는데, 여기서 중요한지는 잘 모르겠습니다...)

내가 시도한 것:

여기서부터 흥미로워집니다...

  • BIOS가 4개의 RAM 스틱을 모두 올바르게 보고합니다.
  • sudo dmidecode --type memory또한 스틱 4개를 모두 감지합니다.
  • sudo lshw -class memory32GB RAM도 표시됩니다.

하지만...

  • "이 컴퓨터 정보" 보고서 23.5GiB
  • htop23.5G도 보고됨
  • cat /proc/meminfo출력 24660520kB
  • free -m24082MB RAM 참조
  • memtest를 실행하면 24GB RAM만 테스트되었습니다(버그가 발견되지 않음).

무슨 일인지 설명해 줄 수 있는 사람 있나요? 이는 예상된 동작입니까, 아니면 뭔가 잘못된 것입니까?

이건 완전해명령 출력위에 언급했듯이:

sudo dmidecode --유형 메모리

# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

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

Handle 0x000F, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x000D
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8192 MB
    Form Factor: DIMM
    Set: None
    Locator: A1_DIMM0
    Bank Locator: A1_BANK0
    Type: DDR3
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 1333 MHz
    Manufacturer: Undefined       
    Serial Number: 00000000  
    Asset Tag: A1_AssetTagNum0
    Part Number: F3-1600C9-8GXM    
    Rank: 2
    Configured Clock Speed: 667 MHz

Handle 0x0011, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x000D
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8192 MB
    Form Factor: DIMM
    Set: None
    Locator: A1_DIMM1
    Bank Locator: A1_BANK1
    Type: DDR3
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 1333 MHz
    Manufacturer: Undefined       
    Serial Number: 00000000  
    Asset Tag: A1_AssetTagNum1
    Part Number: F3-1600C9-8GXM    
    Rank: 2
    Configured Clock Speed: 667 MHz

Handle 0x0013, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x000D
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8192 MB
    Form Factor: DIMM
    Set: None
    Locator: A1_DIMM2
    Bank Locator: A1_BANK2
    Type: DDR3
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 1333 MHz
    Manufacturer: Undefined       
    Serial Number: 00000000  
    Asset Tag: A1_AssetTagNum2
    Part Number: F3-1600C9-8GXM    
    Rank: 2
    Configured Clock Speed: 667 MHz

Handle 0x0015, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x000D
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 8192 MB
    Form Factor: DIMM
    Set: None
    Locator: A1_DIMM3
    Bank Locator: A1_BANK3
    Type: DDR3
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 1333 MHz
    Manufacturer: Undefined       
    Serial Number: 00000000  
    Asset Tag: A1_AssetTagNum3
    Part Number: F3-1600C9-8GXM    
    Rank: 2
    Configured Clock Speed: 667 MHz

sudo lshw 레벨 메모리

  *-firmware              
       description: BIOS
       vendor: American Megatrends Inc.
       physical id: 0
       version: P1.60
       date: 06/17/2016
       size: 64KiB
       capacity: 4032KiB
   capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial     int17printer acpi usb biosbootspecification uefi
  *-cache:0
       description: L1 cache
       physical id: 5
       slot: L1-Cache
       size: 384KiB
       capacity: 384KiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=1
  *-cache:1
       description: L2 cache
       physical id: 6
       slot: L2-Cache
       size: 8MiB
       capacity: 8MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=2
  *-cache:2
       description: L3 cache
       physical id: 7
       slot: L3-Cache
       size: 8MiB
       capacity: 8MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=3
  *-memory
       description: System Memory
       physical id: d
       slot: System board or motherboard
       size: 32GiB
     *-bank:0
          description: DIMM DDR3 Synchronous 1333 MHz (0,8 ns)
          product: F3-1600C9-8GXM
          vendor: Undefined
          physical id: 0
          serial: 00000000
          slot: A1_DIMM0
          size: 8GiB
          width: 64 bits
          clock: 1333MHz (0.8ns)
     *-bank:1
          description: DIMM DDR3 Synchronous 1333 MHz (0,8 ns)
          product: F3-1600C9-8GXM
          vendor: Undefined
          physical id: 1
          serial: 00000000
          slot: A1_DIMM1
          size: 8GiB
          width: 64 bits
          clock: 1333MHz (0.8ns)
     *-bank:2
          description: DIMM DDR3 Synchronous 1333 MHz (0,8 ns)
          product: F3-1600C9-8GXM
          vendor: Undefined
          physical id: 2
          serial: 00000000
          slot: A1_DIMM2
          size: 8GiB
          width: 64 bits
          clock: 1333MHz (0.8ns)
     *-bank:3
          description: DIMM DDR3 Synchronous 1333 MHz (0,8 ns)
          product: F3-1600C9-8GXM
          vendor: Undefined
          physical id: 3
          serial: 00000000
          slot: A1_DIMM3
          size: 8GiB
          width: 64 bits
          clock: 1333MHz (0.8ns)

고양이/proc/meminfo

MemTotal:       24660520 kB
MemFree:        21122376 kB
MemAvailable:   21926440 kB
Buffers:          140544 kB
Cached:           963872 kB
SwapCached:            0 kB
Active:          2574684 kB
Inactive:         554432 kB
Active(anon):    2027416 kB
Inactive(anon):    71840 kB
Active(file):     547268 kB
Inactive(file):   482592 kB
Unevictable:          48 kB
Mlocked:              48 kB
SwapTotal:      25137148 kB
SwapFree:       25137148 kB
Dirty:                72 kB
Writeback:             0 kB
AnonPages:       2024884 kB
Mapped:           426756 kB
Shmem:             74552 kB
Slab:             170052 kB
SReclaimable:     120684 kB
SUnreclaim:        49368 kB
KernelStack:       11760 kB
PageTables:        48856 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    37467408 kB
Committed_AS:    8069992 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:    397312 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      277632 kB
DirectMap2M:     7032832 kB
DirectMap1G:    19922944 kB

자유-m

              total        used        free      shared  buff/cache        available
Mem:          24082        2263       20553          68        1264       21364
Swap:         24547           0       24547

관련 정보