From: Marco Tizzoni Subject: Re: [Xen-users] About profiling xen Date: Wed, 30 Sep 2009 08:33:19 +0200 Message-ID: References: <196324.1267.qm@web94604.mail.in2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0710128332==" Return-path: In-Reply-To: <196324.1267.qm@web94604.mail.in2.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Fasiha Ashraf Cc: "Fajar A." , xen , xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0710128332== Content-Type: multipart/alternative; boundary=00032555a496165d8c0474c5b65a --00032555a496165d8c0474c5b65a Content-Type: text/plain; charset=ISO-8859-1 I experienced the same problem with netperf and with hping also. In general every tool that sends packet at fixed rates seems to suffer this problem. If you use the flood option ( sends packets as fast as possible - for example 'ping -f' or 'hping3 -f') instead of a fixed rate the rate become much higher. What I discovered is this issue should be related to Xen's signal handling/delivery. Netperf use setitimer() to send packets at fixed rate. In my experience on dom0/U, with no load, Xen cannot go over 250 signals per second. Because netperf use signal wakeup the function that send packets I think your problem can be related to this issue. If you want to be sure, count the average number of packet per seconds. It should be about 250 packets/s (not more). For more info you can see this: http://lists.xensource.com/archives/html/xen-devel/2009-09/msg01159.html Regards. Marco On Wed, Sep 30, 2009 at 8:07 AM, Fasiha Ashraf wrote: > Hi there, > I am getting very low throughput (around 0.29Mbps) while running netperf > benchmark for guest to guest communication on a single physical host. To > analyse where the time is spent in hypervisor I wanna use profiling. Please > help me choosing good profiler according to my requirments. Should it be > better in my case, Xentrace, gprof, xenoprof or Oprofile. Is it possible to > use some vtune version on FC11? > --00032555a496165d8c0474c5b65a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I experienced the same problem with netperf and with hping also. In general= every tool that sends packet at fixed rates seems to suffer this problem. = If you use the flood option ( sends packets as fast as possible - for examp= le 'ping -f' or 'hping3 -f') instead of a fixed rate the ra= te become much higher. What I discovered is this issue should be related to= Xen's signal handling/delivery.
Netperf use setitimer() to send packets at fixed rate. In my experience on = dom0/U, with no load, Xen cannot go over 250 signals per second. Because ne= tperf use signal wakeup the function that send packets I think your problem= can be related to this issue. If you want to be sure, count the average nu= mber of packet per seconds. It should be about 250 packets/s (not more). For more info you can see this:http://lists.xensource.com/archive= s/html/xen-devel/2009-09/msg01159.html

Regards.
Marco

On Wed, Sep 30, 2009 at 8:07 AM, Fasiha Ashraf <= span dir=3D"ltr"><feehapk@yahoo.c= o.in> wrote:
Hi there,
I am getting very low throughput (around 0.29Mbps) while running netpe= rf benchmark for guest to guest communication on a single physical host. To= analyse where the time is spent in hypervisor I wanna use profiling. Pleas= e help me choosing good profiler according to my requirments. Should it be = better in my case, Xentrace, gprof, xenoprof=A0 or Oprofile. Is it possible= to use some vtune version on FC11?

--00032555a496165d8c0474c5b65a-- --===============0710128332== 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 --===============0710128332==--