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

Re: [Xen-users] Guest domain performance collection


  • To: Andrew Armstrong <andrew@xxxxxxxxxxxxxx>
  • From: George Shuklin <george.shuklin@xxxxxxxxx>
  • Date: Thu, 22 Jul 2010 13:04:01 +0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 22 Jul 2010 02:05:49 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=wttKSr1CR08rOfqkaHv3qvKyijIlr68RyPz4zTHviPL29GyrGqviRAlBci3PXtF9y2 Foyb2HwFaolG6XzCR5LrbCEjIGXxEeFAxD6P94OljogQRw9HsuxoGWn2r0y8kdHCLkU/ k/SUfaxqps+JIjPteMN6iRCYgwYt16sCwxQHs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Well, I solve 1st question by creating a small daemon, which updates
variable in xenstore data/meminfo about every second (simply
write /proc/meminfo). And external scripts calculate actual used memory
value.

PS You can not know real usage from kernel module or hypervisor, because
kernel allocate memory for  disk cache and include it size to used
memory size (and cache eventually use all free memory).

Ð ÐÑÐ, 22/07/2010 Ð 11:36 +1000, Andrew Armstrong ÐÐÑÐÑ:
> Hello,
> 
>  
> 
> I have been investigating ways in collecting performance statistics of
> Guest domains running under Xen.
> 
>  
> 
> 1) I am interested in finding out whether there is a way to obtain the
> current memory usage (not the amount allocated) for each guest domain?
> 
>  
> 
> Xentop and other utilities display the amount of memory/RAM allocated
> to a domain, but not the amount of memory in use that you would see
> via Windows Task Manager for example.
> 
>  
> 
> I assume the RAM in use value is impossible to obtain from Xen,
> because Xen does not know how much memory the Windows/Linux domain is
> actually consuming.
> 
>  
> 
> 2) I am currently using ntfsresize to obtain the amount of disk space
> in use for a guest domain, however if the Windows guest is writing to
> the disk at the time this collection fails with a consistency error (a
> re-try a few moments later will usually succeed).
> 
>  
> 
> Is there a more suitable way to obtain disk space in use information
> of a Windows guest?
> 
>  
> 
> Cheers,
> 
> Andrew
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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