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

[Xen-devel] detecting paging inside of VMs

  • To: "Xen Devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Tim Wood" <twwood@xxxxxxxxx>
  • Date: Wed, 21 Jun 2006 11:10:26 -0400
  • Delivery-date: Wed, 21 Jun 2006 08:10:49 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=pNOR7h119FkJimSxDvsY3aw/Y6f7ama5vnRKUL39oAiWIV3QjSEFT0LOnLmy147ViI/UaV2yp1+q0Uhpm4zndMsi9+m0WAzM/kvEjp6p+YrPcDoQ/hhi2dG21pPyOLAcrTwTX1ToWJv2KrSDpTxxJ5Y2D0pRBehmjivvHP1lew8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I'd like to be able to detect when a VM is pressed for memory without doing anything inside of the VM. 

My idea is to add some code in the hypervisor that would try to detect paging in each domU, or maybe just monitor the rate at which memory pages are being requested and released.

I know that the guest OSes are responsible for managing their own page tables, but I suspect that some of this still goes through the VMM.

I'm willing to do some hacking, but I'm not yet sure if the information I'd need can be obtained in the hypervisor.  I'd rather not modify the user level xen kernels if possible.

Does any of this seem plausible?  Thanks for any info!


p.s. of course if you have any other ideas (that are transparent to the domU) I'd be interested to hear
Xen-devel mailing list



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