Skip to contentSkip to conversation

event TRC_MEM_PAGE_GRANT_TRANSFER

DISCUSSION Cesar Fernandes 3 participants 5 messages Jan 23, 2007 – Jan 24, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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

#2 lore raw
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_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.

Grant transfers are no longer used to move network data from netback to netfront (except for backward compatibility with old netfront drivers).

-- Keir

#3 lore raw
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

#4 lore raw
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