Unaccounted memory usage when running Red Hat Enterprise Linux as a Hyper-V guest
Issue
- Unable to account for memory usage on a RHEL Hyper-V guest :
#free
total used free shared buffers cached
Mem: 8050848 7863516 187332 0 142464 190664
-/+ buffers/cache: 7530388 520460
Swap: 8191992 86680 8105312
- System shows high memory usage even though applications are not allocating that much memory :
#cat /proc/[0-9]*/smaps | grep -i Pss | awk 'BEGIN{sum=0}{sum+=$2} END {print sum}'
1874861
Environment
- Red Hat Enterprise Linux
- Microsoft Hyper-V
- Hyper-V balloon Driver 3.1 (ha_balloon.ko)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.