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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Cesar Fernandes wrote:> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 23/1/07 17:51, "Rob Gardner" <rob.gardner@hp.com> wrote:> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser wrote:> > 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 23/1/07 19:31, "Rob Gardner" <rob.gardner@hp.com> wrote:>> >> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel