Nutanix AHV: Where have all the memory gone?

In an AHV host with just the CVM and two other VMs running, there’s just about 1G of free memory. There’s 28 GB for the CVM and 8 GB each for the two other VMs. That is just 44 our of 125 GB of RAM on the host.

[root@ahv ~]# head /proc/meminfo
MemTotal:       131859556 kB
MemFree:          286384 kB
MemAvailable:    1151500 kB
Buffers:          113908 kB
Cached:           632172 kB
SwapCached:            0 kB
Active:           839356 kB
Inactive:           5600 kB
Active(anon):     106800 kB
Inactive(anon):      148 kB

This is because, from AOS 5.0, almost all memory is assigned to hugepages.

[root@ahv]# grep Huge /proc/meminfo
AnonHugePages:         0 kB
HugePages_Total:   63360
HugePages_Free:    40832
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

This host has 123 GB (HugePages_Total * Hugepagesize) assigned to huge pages!

What are huge pages? How are they different from normal page?
See here

Advertisements

Troubleshoot Windows server reboot

systeminfo | grep “System Boot”

Get-EventLog System | Where-Object {$.EventID -eq “1074” -or $.EventID -eq “6008” -or $_.EventID -eq “1076”} | ft Machinename, TimeWritten, UserName, EventID, Message -AutoSize -Wrap

If your hardware uses BMC/IPMI

ipmiutil see list
001f 05/16/17 10:38:31 INF Sms  OS Critical Stop #00 OS Graceful Shutdown 6f [03 ff ff]
0020 05/16/17 10:38:31 CRT Sms  OS Critical Stop #00 Runtime Crit Stop 6f [01 0f 0f]
0021 05/16/17 10:39:53 INF Sms  OS Boot #00 C: boot completed 6f [01 ff ff]
0022 05/16/17 10:48:57 INF Sms  OS Critical Stop #00 OS Graceful Shutdown 6f [03 ff ff]
0023 05/16/17 10:48:57 CRT Sms  OS Critical Stop #00 Runtime Crit Stop 6f [01 0f 0f]
0024 05/16/17 10:50:14 INF Sms  OS Boot #00 C: boot completed 6f [01 ff ff]