Weird Memory Issue

Riodda

Cadet
Joined
Mar 25, 2020
Messages
2
Hi all. I have freenas installed on Proliant Micro Gen 8. Today i made a memory upgrade from 12Gb to 16gb. Ilo sees all the 16gb, from dmidecode -t memory i see all the 2 banks, but from the dashboard i see only 8 gb of memory installed.
System is working well and running stable but i'm just worried the OS is not using all the memory.
Any idea ? Thanks.

Code:
# dmidecode 3.2
Scanning /dev/mem for entry point.
SMBIOS 2.7 present.

Handle 0x1000, DMI type 16, 23 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: Single-bit ECC
    Maximum Capacity: 16 GB
    Error Information Handle: Not Provided
    Number Of Devices: 2

Handle 0x1100, DMI type 17, 40 bytes
Memory Device
    Array Handle: 0x1000
    Error Information Handle: Not Provided
    Total Width: 72 bits
    Data Width: 64 bits
    Size: 8192 MB
    Form Factor: DIMM
    Set: None
    Locator: PROC  1 DIMM  1
    Bank Locator: Not Specified
    Type: DDR3
    Type Detail: Synchronous Registered (Buffered)
    Speed: 1600 MT/s
    Manufacturer: UNKNOWN
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Part Number: NOT AVAILABLE       
    Rank: 2
    Configured Memory Speed: 1600 MT/s
    Minimum Voltage: 1.5 V
    Maximum Voltage: 1.5 V
    Configured Voltage: 1.5 V

Handle 0x1101, DMI type 17, 40 bytes
Memory Device
    Array Handle: 0x1000
    Error Information Handle: Not Provided
    Total Width: 72 bits
    Data Width: 64 bits
    Size: 8192 MB
    Form Factor: DIMM
    Set: 1
    Locator: PROC  1 DIMM  2
    Bank Locator: Not Specified
    Type: DDR3
    Type Detail: Synchronous Unbuffered (Unregistered)
    Speed: 1600 MT/s
    Manufacturer: UNKNOWN
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Part Number: NOT AVAILABLE       
    Rank: 2
    Configured Memory Speed: 1600 MT/s
    Minimum Voltage: 1.5 V
    Maximum Voltage: 1.5 V
    Configured Voltage: 1.5 V



Immagine.png
 

Riodda

Cadet
Joined
Mar 25, 2020
Messages
2
I had another look to the dmesg and seems that half of the memory is not made avilable to the OS that it's quite strange....
Code:
real memory  = 17179869184 (16384 MB)
avail memory = 8231018496 (7849 MB)


Code:
SYSTEM MEMORY INFORMATION:
mem_wire:        2284638208 (   2178MB) [ 27%] Wired: disabled for paging out
mem_active:  +    589119488 (    561MB) [  7%] Active: recently referenced
mem_inactive:+   2682347520 (   2558MB) [ 32%] Inactive: recently not referenced
mem_cache:   +            0 (      0MB) [  0%] Cached: almost avail. for allocation
mem_free:    +   2732408832 (   2605MB) [ 32%] Free: fully available for allocation
mem_gap_vm:  +      -229376 (      0MB) [  0%] Memory gap: UNKNOWN
______________ ____________ ___________ ______
mem_all:     =   8288284672 (   7904MB) [100%] Total real memory managed
mem_gap_sys: +    219242496 (    209MB)        Memory gap: Kernel?!
______________ ____________ ___________
mem_phys:    =   8507527168 (   8113MB)        Total real memory available
mem_gap_hw:  +     82407424 (     78MB)        Memory gap: Segment Mappings?!
______________ ____________ ___________
mem_hw:      =   8589934592 (   8192MB)        Total real memory installed

SYSTEM MEMORY SUMMARY:
mem_used:        3175178240 (   3028MB) [ 36%] Logically used memory
mem_avail:   +   5414756352 (   5163MB) [ 63%] Logically available memory
______________ ____________ __________ _______
mem_total:   =   8589934592 (   8192MB) [100%] Logically total memory
 

Niel Archer

Dabbler
Joined
Jun 7, 2014
Messages
28
I'm seeing the same issue. I have just upgraded to 64GB (from 16GB), both configurations only show half of the actual memory.

logging in via ssh and using top reports the correct amount of RAM.
 
Last edited:

macmuchmore

Explorer
Joined
Feb 4, 2020
Messages
58
I am having a similar issue:

I have a Ryzen 5 3400g system on a Gigabyte x570 Aorus Elite motherboard. I had 4 sticks of 8GB RAM installed for a total of 32GB - and FreeNAS showed all 32GBs. I changed to 2 sticks of 16GB RAM. Bios shows all the RAM, but FreeNAS only shows half. In the Shell I typed:
# dmesg | grep memory

The result was:
real memory = 34359738368 (32768 MB)
avail memory = 16247934976 (15495 MB)

I reset the Bios to make sure the RAM is seen correctly in the Bios (it is). Do I need to reinstall FreeNAS or is there something else I need to do to fix this? Thanks in advance for any help!
 
Top