|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Guest domain performance collection
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
|
|
|
|
|