From: Muhammad Atif Subject: Re: xenoprofile and multiplexing of events (AMD patch) Date: Wed, 18 Jun 2008 07:50:38 -0700 (PDT) Message-ID: <726294.96123.qm@web52601.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0898540839==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Santos, Jose Renato G" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0898540839== Content-Type: multipart/alternative; boundary="0-2008124450-1213800638=:96123" --0-2008124450-1213800638=:96123 Content-Type: text/plain; charset=us-ascii Thanks for the info. Unfortunatly I am one of the people who desperately want to have multiplexing of hardware events in Xen. We are working on HPC applications on Xen so lack of patches like perfctl/perfmon is quite annoying. :) I will read the xenoprofile paper and related documents before asking more questions on implementing such a facility. But one quick question (may be a naive one) is where to look into the code if I want to give hardware performance counters to only dom0. I don't want fancy stuff (like per process/function etc)... just purely read the counter values of each of the CPU. Best Regards, Muhammad Atif ----- Original Message ---- From: "Santos, Jose Renato G" To: "Santos, Jose Renato G" ; Muhammad Atif ; Viren Kumar ; "xen-devel@lists.xensource.com" Sent: Tuesday, June 17, 2008 1:25:58 PM Subject: RE: [Xen-devel] xenoprofile and multiplexing of events (AMD patch) Muhammad, Thanks for sharing the patch. The patch seems to reprogram event counters in regular intervals to profile different events with the same counters. Unfortunately this will not work on Xen unless someone writes a patch. Not sure if it is worth the effort though. I am not sure how frequently people want to profile more events than available, although I can see it could be useful in a few cases. Renato ________________________________ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Santos, Jose Renato G Sent: Friday, June 13, 2008 4:51 PM To: Muhammad Atif; Viren Kumar; xen-devel@lists.xensource.com Subject: RE: [Xen-devel] xenoprofile and multiplexing of events (AMD patch) Muhammad, I am not familiar with this AMD patch. Is this a linux kernel patch? If you can provide more details of what the patch does, perhaps I can comment on the implications of its use with Xen. Regards Renato ________________________________ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Muhammad Atif Sent: Thursday, June 12, 2008 6:50 AM To: Muhammad Atif; Viren Kumar; xen-devel@lists.xensource.com Subject: [Xen-devel] xenoprofile and multiplexing of events (AMD patch) Hi developers! especially xenoprofile gurus Jason Yeh of AMD has just released a patch for multiplexing hardware events in oprofile for AMDs. Has anybody looked into that with Xen's perspective? Is it trivial to be hooked on to our xen kernels? Second question, is there any way we can get access of hardware performance counters even in a very raw form i.e. only available to dom0 (even if it is still a specialized domu). Best Regards, Muhammad Atif ----- Original Message ---- From: Muhammad Atif To: Viren Kumar ; xen-devel@lists.xensource.com Sent: Thursday, June 12, 2008 11:34:52 PM Subject: Re: [Xen-devel] Status of hardware performance counters in Xen AFAIK nope. I am also looking for a nice way to get hold of performance counters in Xen, but seems like its not making on to top of priority queue, perhaps one of us should try it or we can collaborate. :) So, still the way to go is oprofile (xenoprofile). Best Regards, Muhammad Atif ----- Original Message ---- From: Viren Kumar To: xen-devel@lists.xensource.com Sent: Wednesday, June 11, 2008 9:41:42 AM Subject: [Xen-devel] Status of hardware performance counters in Xen Hello everyone, I'm wondering what the current status of hardware performance counter usability in Xen is. I see some old posts describing the diffculties of virtualizing hardware counters within dom0 and the domUs, but not much else. Have they been implemented or are they in the process of being implemented? Or are there no future plans for implementation? Any help would be appreciated. My platform would be Xen with Solaris x86 as the dom0 (xVM) and Solaris or Linux as the domUs. Thanks, Viren _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --0-2008124450-1213800638=:96123 Content-Type: text/html; charset=us-ascii
Thanks for the info. Unfortunatly  I am one of the people who desperately want to have multiplexing of hardware events in Xen. We are working on HPC applications on Xen so lack of  patches like perfctl/perfmon is quite annoying. :)

I will read the xenoprofile paper and related documents before asking more questions on implementing such a facility. But one quick question (may be a naive one) is where to look into the code if I want to give hardware performance counters to only dom0. I don't want fancy stuff (like per process/function e tc)... just purely read the counter values of each of the CPU.
 
Best Regards,
Muhammad Atif


----- Original Message ----
From: "Santos, Jose Renato G" <joserenato.santos@hp.com>
To: "Santos, Jose Renato G" <joserenato.santos@hp.com>; Muhammad Atif <m_atif_s@yahoo.com>; Viren Kumar <virenk@shaw.ca>; "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Sent: Tuesday, June 17, 2008 1:25:58 PM
Subject: RE: [Xen-devel] xenoprofile and multiplexing of events (AMD patch)

Muhammad,
 
Thanks for sharing the patch. The patch seems to reprogram event counters in regular intervals to profile different events with the same counters. Unfortunately this will not work on Xen unless someone writes a patch. Not sure if it is worth the effort though. I am not sure how frequently people want to profile more events than available, although I can see it could be useful in a few cases.
 
Renato   


From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Santos, Jose Renato G
Sent: Friday, June 13, 2008 4:51 PM
To: Muhammad Atif; Viren Kumar; xen-devel@lists.xensource.com
Subject: RE: [Xen-devel] xenoprofile and multiplexing of events (AMD patch)

Muhammad,
 
I am not familiar with this AMD patch. Is this a linux kernel patch? If you can provide more details of what the patch does, perhaps I can comment on the implications of its use with Xen.
 
Regards
 
Renato


From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Muhammad Atif
Sent: Thursday, June 12, 2008 6:50 AM
To: Muhammad Atif; Viren Kumar; xen-devel@lists.xensource.com
Subject: [Xen-devel] xenoprofile and multiplexing of events (AMD patch)

Hi developers! especially xenoprofile gurus

Jason Yeh of AMD has just released a patch for multiplexing hardware events in oprofile for AMDs.  Has anybody looked into that with Xen's perspective? Is it trivial to be hooked on to our xen kernels?
Second question, is there any way we can get access of hardware performance counters even in a very raw form i.e. only available to dom0 (even if it is stil l a specialized domu).
Best Regards,
Muhammad Atif


----- Original Message ----
From: Muhammad Atif <m_atif_s@yahoo.com>
To: Viren Kumar <virenk@shaw.ca>; xen-devel@lists.xensource.com
Sent: Thursday, June 12, 2008 11:34:52 PM
Subject: Re: [Xen-devel] Status of hardware performance counters in Xen

AFAIK nope.
I am also looking for a nice way to get hold of performance counters in Xen, but seems like its not making on to top of priority queue, perhaps one of us should try it or we can collaborate. :)
So, still the way to go is oprofile (xenoprofile).

 
Best Regards,
Muhammad Atif


----- Original Message ----
From: Viren Kumar <virenk@shaw.ca>
To: xen-devel@lists.xensource.com
Sent: Wednesday, June 11, 2008 9:41:42 AM
Subject: [Xen-devel] Status of hardware performance counters in Xen

Hello everyone,

I'm wondering what the current status of hardware performance counter
usability in Xen is. I see some old posts describing the diffculties of
virtualizing hardware counters within dom0 and the domUs, but not much else.

Have they been implemented or are they in the process of being implemented? Or
are there no future plans for implementation? Any help would be appreciated.

My platform would be Xen with Solaris x86 as the dom0 (xVM) and Solaris or
Linux as the domUs.

Thanks,
Viren


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel



--0-2008124450-1213800638=:96123-- --===============0898540839== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0898540839==--