Tuesday, March 10, 2015

ECC vs non-ECC RAM on Amazon Linux

If you would like to check with your EC2 instance is running ECC memory or non-ECC memory you will have to install "dmidecode" utility

$sudo yum install -y dmidecode

Next, you can run

$sudo dmidecode --type memory
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
        Location: Other
        Use: System Memory
        Error Correction Type: Multi-bit ECC
        Maximum Capacity: 3840 MB
        Error Information Handle: Not Provided
        Number Of Devices: 1

Handle 0x1100, DMI type 17, 21 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: 0x0000
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 3840 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 0
        Bank Locator: Not Specified
        Type: RAM
        Type Detail: None

NOTE - If you are enabling ZFS Deduplication table (which is stored in RAM) and trying to determine whether to enable on your EC2 instance with ECC RAM, then you may want to read this blog first - http://nex7.blogspot.ch/2013/03/readme1st.html

No comments:

Post a Comment