event TRC_MEM_PAGE_GRANT_TRANSFER
Greetings,
I'm using xen 3.0.4_1. I need to log the event TRC_MEM_PAGE_GRANT_TRANSFER, which, I believe, is the number of page exchanges between domU and dom0. It seems that this event is not being logged in xen buffer, therefore, xenmon/xentrace is not working either.
Thanks in advance,
Cesar
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 3 lines · Cesar Fernandes
Greetings,
I'm using xen 3.0.4_1. I need to log the event
TRC_MEM_PAGE_GRANT_TRANSFER, which, I believe, is the number of page exchanges between domU and dom0. It seems that this event is not being logged in xen buffer, therefore, xenmon/xentrace is not working either.
Yeah I noticed that I/O count has not been working lately in xenmon but haven't had a chance yet to see why. The TRC_MEM_PAGE_GRANT_TRANSFER event is being "logged" but the reason it doesn't show up in the trace buffer may be because that event is never actually happening. It seems that there has been some change in the mechanism used to move I/O pages between domains.
So some research needs to be done to figure out exactly what code should be instrumented with some trace call in order to provide xenmon with data on the number of I/O's or I/O pages. If anyone can help, it would be appreciated.
Rob Gardner
Quoted 6 lines · Rob Gardner
Yeah I noticed that I/O count has not been working lately in xenmon but haven't had a chance yet to see why. The
TRC_MEM_PAGE_GRANT_TRANSFERevent is being "logged" but the reason it doesn't show up in the trace buffer may be because that event is never actually happening. It seems that there has been some change in the mechanism used to move I/O pages between domains.
Grant transfers are no longer used to move network data from netback to netfront (except for backward compatibility with old netfront drivers).
-- Keir
Quoted 3 lines · Keir Fraser
Grant transfers are no longer used to move network data from netback to netfront (except for backward compatibility with old netfront drivers).
Yeah, got that. ;) Could you explain what mechanisms are currently used to move data for net I/O and disk I/O between domains, and in particular, can you suggest where in the code I could put trace calls to be able to count I/O's? Thanks.
Rob
Quoted 9 lines · Rob Gardner
Quoted 3 lines
Grant transfers are no longer used to move network data from netback to netfront (except for backward compatibility with old netfront drivers).
Yeah, got that. ;) Could you explain what mechanisms are currently used to move data for net I/O and disk I/O between domains, and in particular, can you suggest where in the code I could put trace calls to be able to count I/O's? Thanks.
Everything is done via grant-map/unmap commands as it always was, except network receive (netback->netfront) which is done via grant-copy commands (one per contiguous fragment of network packet).
-- Keir