|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] Tracking DomU memory
My main purpose is to know when a user-level application in DomU is updating its memory. (Tracking changes to the stack segment might be too hard due to frequent memory updates, so maybe only the "text" segment).
I want to be able to track this from either Dom0 or the hypervisor layer, whichever is easier.
When is ptwr_emulated_update() used and when is do_mmu_update() used?
Thanks, -Criag
"Petersson, Mats" <Mats.Petersson@xxxxxxx>
wrote: What do you ACTUALLY want to do? log-dirty doesn't log to a file - it keeps track of "dirty" pages in a list in memory, but doesn't actually store it in a file [ever, at all]. do_mmu_update is possibly a good place to hook into, but it depends on what you want to do... [And it's non-trivial code, so beware of complications from changing it]. You may want to look at ptwr_emulated_update, as that's used when the do_mmu_update() hypercall isn't used to update a page-table-entry. -- Mats Hi,
To track the memory being used by an application running in DomU, is it better to make tweaks in Dom0 or the hypervisor layer?
Is it possible to just put some hooks in the do_mmu_update hypercall?
Also, how does one enable log-dirty shadow mode? Does this actually createa log
file somewhere?
-Craig How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates.
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail._______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|