[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Question about tmem statistics

  • To: xen-users@xxxxxxxxxxxxx
  • From: Jinchun Kim <cienlux@xxxxxxxxx>
  • Date: Tue, 10 Sep 2013 11:06:46 -0500
  • Delivery-date: Tue, 10 Sep 2013 16:07:45 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi, All.

I am trying to get tmem statistics from xentop command.
I checked both the host and guest machine enabled tmem features.

From the host machine
root@host-machine:~# xm dmesg | grep tmem
(XEN) tmem: all pools frozen for all domains
(XEN) tmem: all pools thawed for all domains
(XEN) tmem: initializing tmem capability for domid=1...ok
(XEN) tmem: allocating ephemeral-private tmem pool for domid=1...pool_id=0
(XEN) tmem: allocating persistent-private tmem pool for domid=1...pool_id=1
(XEN) tmem: allocating ephemeral-private tmem pool for domid=1...pool_id=2

From the guest machine
root@guest-machine:~# dmesg | grep Trans
[    2.795495] frontswap enabled, RAM provided by Xen Transcendent Memory
[    2.795499] clancache enabled, RAM provided by Xen Transcendent Memory

Also, I confirmed that the guest VM dynamically increases and decreases its allocated memory
as the memory intensive benchmark runs in the guest VM.

I should be able to check the tmem statistics from xentop + tkey.
However, it does not show any tmem related statistics ...
Other options in xentop work fine. (ex: Network, vBds, and VCPUs)
"xm tmem-list --long --all" always returns "-1" and 
"xm tmem-list --long --all | /usr/sbin/xen-tmem-list-parse" seems not working because the host Os complains that
there is no such file /usr/sbin/xen-tmem-list-parse ...

Any idea to solve this problem?

Jinchun Kim
Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.