Change in vdsm[master]: Adding "ksmShared" and "ksmSharing" statistics to getStats()

apahim at redhat.com apahim at redhat.com
Thu May 24 12:07:40 UTC 2012


Amador Pahim has uploaded a new change for review.

Change subject: Adding "ksmShared" and "ksmSharing" statistics to getStats()
......................................................................

Adding "ksmShared" and "ksmSharing" statistics to getStats()

Currently getStats funcion shows three KSM info: "ksmState" (test
if ksm is running - true or false), "ksmPages" (pages to scan
before ksmd goes to sleep) and "ksmCpu" (the ksmd process cpu load).
This patch exposes KSM memory de-duplications statistics through
two new fields: "ksmShared" (how many Mbytes of memory are being
shared) and "ksmSharing" (how many more sites are sharing them
i.e. how much Mbytes are being saved).

Change-Id: Ic8b5b366b8668cf74b04d1089e6e515e93c0f746
Signed-off-by: Amador Pahim <apahim at redhat.com>
---
M vdsm/API.py
M vdsm/ksm.py
2 files changed, 35 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/55/4755/1
--
To view, visit http://gerrit.ovirt.org/4755
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8b5b366b8668cf74b04d1089e6e515e93c0f746
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Amador Pahim <apahim at redhat.com>


More information about the vdsm-patches mailing list