From: Fasiha Ashraf Subject: About profiling xen Date: Mon, 5 Oct 2009 15:34:44 +0530 (IST) Message-ID: <978359.22755.qm@web94615.mail.in2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1572103087==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: marco.tizzoni@gmail.com Cc: "Fajar A." , xen , xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1572103087== Content-Type: multipart/alternative; boundary="0-1193118332-1254737084=:22755" --0-1193118332-1254737084=:22755 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, in my case guest to=0Ainternet speed is ok. wget between guests shows 35K/s= to the max.and=0Athe throughput in this case is 35.1K/s=A0 eta 4h 3m. I ca= se of guest to host its around 147K/s As you said=20 I think your problem can be related to this issue. If you want to be=0Asure= , count the average number of packet per seconds. It should be=0Aabout 250 = packets/s (not more). Packets per sec from guest to guest is 2packects per sec. >From guest to host is 1packet per sec >From Host to guest is=A0 2packets per sec Regards, Fasiha Ashraf --- On Wed, 30/9/09, Marco Tizzoni wrote: From: Marco Tizzoni Subject: [Xen-devel] Re: [Xen-users] About profiling xen To: "Fasiha Ashraf" Cc: "Fajar A." , "xen" , xe= n-users@lists.xensource.com Date: Wednesday, 30 September, 2009, 11:33 AM 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=0A proble= m. If you use the flood option ( sends packets as fast as possible - for ex= ample 'ping -f' or 'hping3 -f') instead of a fixed rate the rate become muc= h higher. What I discovered is this issue should be related to Xen's signal= handling/delivery. =0A=0ANetperf use setitimer() to send packets at fixed rate. In my experien= ce on dom0/U, with no load, Xen cannot go over 250 signals per second. Beca= use netperf use signal wakeup the function that send packets I think your p= roblem can be related to this issue. If you want to be sure, count the aver= age number of packet per seconds. It should be about 250 packets/s (not mor= e). =0A=0AFor more info you can see this:http://lists.xensource.com/archives/ht= ml/xen-devel/2009-09/msg01159.html Regards. Marco =0A=0AOn Wed, Sep 30, 2009 at 8:07 AM, Fasiha Ashraf = wrote: =0A=0A=0A=0AHi there,=0AI am getting very low throughput (around 0.29Mbps) = while running netperf benchmark for guest to guest communication on a singl= e physical host. To analyse where the time is spent in hypervisor I wanna u= se profiling. Please help me choosing good profiler according to my requirm= ents. Should it be better in my case, Xentrace, gprof, xenoprof=A0 or Oprof= ile. Is it possible to use some vtune version on FC11?=0A=0A=0A =0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A Keep up with people you care about with Yahoo! India Mail. Learn = how.=0A=0A=0A Now, send attachments up to 25MB with Yahoo! India Mail.= Learn how. http://in.overview.mail.yahoo.com/photos --0-1193118332-1254737084=:22755 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable

Hi,
in my case = guest to=0Ainternet speed is ok. wget between guests shows 35K/s to the max= ..and=0Athe throughput in this case is 35.1K/s  eta 4h 3m. I case of gu= est to host its around 147K/s
As you sa= id
I think your problem can be related to this issue. If you wan= t to be=0Asure, count the average number of packet per seconds. It should b= e=0Aabout 250 packets/s (not more).

Packets per sec from guest to guest is 2packects per sec= ..
From guest to host is 1packet per sec
From Host to guest is  2= packets per sec

Regards,
Fasiha Ashraf

--- On Wed, 30/9= /09, Marco Tizzoni <marco.tizzoni@gmail.com> wrote:

From: Marco Tizzoni <marco.tizzoni@gmail.com&g= t;
Subject: [Xen-devel] Re: [Xen-users] About profiling xen
To: "Fasi= ha Ashraf" <feehapk@yahoo.co.in>
Cc: "Fajar A." <fajar@fajar.ne= t>, "xen" <xen-devel@lists.xensource.com>, xen-users@lists.xensour= ce.com
Date: Wednesday, 30 September, 2009, 11:33 AM

I experienced the same problem with netperf and with hping als= o. In general every tool that sends packet at fixed rates seems to suffer t= his=0A problem. If you use the flood option ( sends packets as fast as poss= ible - for example '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.
=0A=0ANetperf use setitimer() to send p= ackets 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 funct= ion 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 sh= ould be about 250 packets/s (not more).
=0A=0AFor more info you can see = this:http://lists.xensource.co= m/archives/html/xen-devel/2009-09/msg01159.html

Regards.
Marc= o

=0A=0A
On Wed, Sep 30, 2009 at 8:07 AM, = Fasiha Ashraf <feehapk@yahoo.co.in= > wrote:
=0A=0A
=0A=0AHi there,=0A
I am getting very low throughput (around 0.29Mbps)= while running netperf benchmark for guest to guest communication on a sing= le physical host. To analyse where the time is spent in hypervisor I wanna = use profiling. Please help me choosing good profiler according to my requir= ments. Should it be better in my case, Xentrace, gprof, xenoprof  or O= profile. Is it possible to use some vtune version on FC11?
=0A=0A=0A

=0A

-----Inline Att= achment Follows-----

______________________= _________________________
Xen-devel mailing list
= Xen-devel@lists.xensource.com
http://lists.xensource.com/xe= n-devel

=0A Keep up with people you care about with Yahoo! India Mail. Learn how.

=0A
Co= nnect more, do more and share more with Yahoo! India Mail. Learn more. --0-1193118332-1254737084=:22755-- --===============1572103087== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1572103087==--