[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [Xen-users] About profiling xen


  • To: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
  • From: Marco Tizzoni <marco.tizzoni@xxxxxxxxx>
  • Date: Wed, 30 Sep 2009 08:33:19 +0200
  • Cc: "Fajar A." <fajar@xxxxxxxxx>, xen <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 29 Sep 2009 23:34:06 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=Gm06ZZMMtQd2KjWw/+DpxAuw/mC/+6T5VBMGtmZR2BsmJ3v1FrLZ04/hK2NBQaVrvg ffMJr3cH/mP21XqyCjRxaPGKgbZhNagIuDVwE+v+gipGTD1vZsTlYrHnGXiO1lQEQDxZ wJPcgrHWdU8WhWE/7A8x3+tvqT3qwta/C0FpE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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 <feehapk@xxxxxxxxxxx> 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?

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.