From: Marco Tizzoni Subject: Re: Re: [Xen-users] About profiling xen Date: Wed, 30 Sep 2009 08:40:45 +0200 Message-ID: References: <196324.1267.qm@web94604.mail.in2.yahoo.com> <20090930063747.GG1434@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090930063747.GG1434@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: "Fajar A." , Fasiha Ashraf , xen , xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Sep 30, 2009 at 8:37 AM, Pasi K=E4rkk=E4inen wrote: > On Wed, Sep 30, 2009 at 08:33:19AM +0200, Marco Tizzoni wrote: >> =A0 =A0I experienced the same problem with netperf and with hping also. = In >> =A0 =A0general every tool that sends packet at fixed rates seems to suff= er this >> =A0 =A0problem. If you use the flood option ( sends packets as fast as p= ossible - >> =A0 =A0for example 'ping -f' or 'hping3 -f') instead of a fixed rate the= rate >> =A0 =A0become much higher. What I discovered is this issue should be rel= ated to >> =A0 =A0Xen's signal handling/delivery. >> =A0 =A0Netperf use setitimer() to send packets at fixed rate. In my expe= rience on >> =A0 =A0dom0/U, with no load, Xen cannot go over 250 signals per second. = Because >> =A0 =A0netperf use signal wakeup the function that send packets I think = your >> =A0 =A0problem can be related to this issue. If you want to be sure, cou= nt the >> =A0 =A0average number of packet per seconds. It should be about 250 pack= ets/s >> =A0 =A0(not more). > > > 250 per second.. sounds like kernel HZ value? Yes, infact I'm going to test it with 1000Khz. Stay tuned. :) m-