VMware Cloud Community
rustbutt
Contributor
Contributor

memory usage

I've got a RHEL6.1 VM that is running mysqld.  It has 2 vCPUs and 4 GB memory, with 4 GB of Linux swap.

Looking at the attached images here, you can see that mysqld is eating up about 96% of system memory.

But looking at the performance chart from vCenter, the "Active" memory is only about 1/4 GB.  "Consumed" memory is about 4 GB.  Would someone please clue me in here to the difference between "Active" and "Consumed" memory?

Thanks!

Russ

Tags (1)
Reply
0 Kudos
3 Replies
mcowger
Immortal
Immortal

'Active' memory is memory that is being touched, not just allocated to an app.

--Matt VCDX #52 blog.cowger.us
Reply
0 Kudos
rickardnobel
Champion
Champion

And even memory that has been touched quite recently, in the last 10-15 minutes and is also only a rough sample, but could give a hint on how much memory a certain VM / application is accessing a lot.

My VMware blog: www.rickardnobel.se
Reply
0 Kudos
vGuy
Expert
Expert

also take note that "consumed memory" will also take into the account the savings from transparent page sharing..

Reply
0 Kudos