From: Ruslan Nikolaev Subject: Re: Perfctr-Xen framework for permonace analysis Date: Fri, 13 May 2011 16:03:28 -0700 (PDT) Message-ID: <963997.38517.qm@web113613.mail.gq1.yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org =0A--- On Fri, 5/13/11, George Dunlap wrote:= =0A=0A> From: George Dunlap =0A> Subject: Re: = [Xen-devel] Perfctr-Xen framework for permonace analysis=0A> To: "Ruslan Ni= kolaev" =0A> Cc: xen-devel@lists.xensource.com=0A>= Date: Friday, May 13, 2011, 5:59 PM=0A> On Thu, May 12, 2011 at 8:36 PM,= =0A> Ruslan Nikolaev=0A> =0A> wrote:=0A> > Hi=0A> = >=0A> > I want to make an announcement about new perfomance=0A> monitoring = framework.=0A> >=0A> > Perfctr-Xen framework that enables per-thread=0A> pe= rformance analysis in Xen. Current version is capable of=0A> properly virtu= alizing counters in both paravirtualized and=0A> HVM modes. It is based on = perfctr (which is a library and=0A> kernel module for non-virtualized guest= s), ported to Xen,=0A> and extended to work properly in virtualized environ= ment.=0A> Both accumulative and interrupt modes counting (profiling)=0A> ar= e supported.=0A> >=0A> > The advantage of Perfctr-Xen is that it does not= =0A> require specific HVM extensions which are needed for vpmu=0A> driver, = can work in paravirtualized mode, and it also quite=0A> universal: works wi= th many common tools such as PAPI,=0A> HPCToolkit, TAU PerfExplorer. It sup= ports proper per-domain=0A> and per-thread virtualization. It is light-weig= ht, supports=0A> wide range of CPUs, does not require save-and-restore for= =0A> accumulative mode of counting (it uses counter offsetting),=0A> avoids= expensive hypercalls and counter re-programming in=0A> certain circumstanc= es (when threads are counting the same=0A> type of events). In addition, so= me techniques are employed=0A> to account for the overhead caused by the fr= amework itself.=0A> This makes measurements quite accurate.=0A> >=0A> > Per= fctr-Xen consists of series of patches that need to=0A> be applied to Xen, = Linux, perfctr. There are available at:=0A> > http://people.cs.vt.edu/~rnik= ola/=0A> >=0A> > The code is available under LGPL. It would be great to=0A>= discuss if and how it can be integrated into Xen.=0A> >=0A> > The publicat= ion regarding Perfctr-Xen is at:=0A> > http://portal.acm.org/citation.cfm?i= d=3D1952687=0A> =0A> Do you have this paper, or perhaps a pre-print, posted= =0A> somewhere not=0A> behind a paywall?=A0 Or a different document describ= ing=0A> the library in=0A> detail?=A0 Most of us don't have subscriptions t= o=0A> ACM...=0A=0AOk. I will post a link.=0A=0ARuslan.=0A=0A> =0A> -George= =0A> =0A> _______________________________________________=0A> Xen-devel mai= ling list=0A> Xen-devel@lists.xensource.com=0A> http://lists.xensource.com/= xen-devel=0A>