WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xm commands run very slow ....

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xm commands run very slow ....
From: Himanshu Raj <rhim@xxxxxxxxxxxxx>
Date: Wed, 25 Jan 2006 19:37:04 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 26 Jan 2006 00:45:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060125220635.GK8956@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060125141912.GB8956@xxxxxxxxxxxxx> <20060125180539.GA3106@xxxxxxxxxxxxxxxxxxxxx> <20060125220635.GK8956@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
top shows heavy activity by xenstored for a long time (like 30-40% CPU 
utilization).
Also there is a huge gap between xenstore write and devcontroller to kick in.
Excerpt from xend.log follows:

[2006-01-25 19:22:48 xend.XendDomainInfo] DEBUG (XendDomainInfo:688) Storing dom
ain details: {'console/ring-ref': '124478', 'console/port': '2', 'name': 'vm1', 
'console/limit': '1048576', 'vm': '/vm/c1b17d02-ed25-f67e-2bef-0bbed31d765f', 'd
omid': '1', 'cpu/0/availability': 'online', 'memory/target': '65536', 'store/rin
g-ref': '124479', 'store/port': '1'}
[2006-01-25 19:23:00 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-01-25 19:23:00 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-01-25 19:23:01 xend] DEBUG (DevController:132) Waiting for devices vbd.

Does it ring any bells?

Best regards,
Himanshu

On Wed, Jan 25, 2006 at 05:06:36PM -0500, Himanshu Raj wrote:
> Thanks Ewan.
> 
> I also saw one more discrepency which might be the root of this problem.
> When I do xend start on first machine, 8 processes start up (i.e. ps aux | 
> grep
> xend shows actually 8 proceeses).
> On my other machine, I see only 2 processes. Do you think it is the problem?
> 
> -Himanshu
> 
> > > I know it is kind of vague problem, but I am banking of somebody seeing 
> > > the 
> > > exact thing.
> > > 
> > > I have two machines with everything identical, except on one machine I 
> > > compile
> > > xen and on other I just use the binaries compiled on the previous machine.
> > > 
> > > Now on first machine, where I compile everything, xm invocation is 
> > > veeeeeeeeeery
> > > slow. Although it doesn't seem to be "system" problem. Look at a 
> > >         time xm list 
> > > invocation:
> > >         real 32s
> > >         user .2s
> > >         sys  .02s
> > > 
> > > On another machine the real time is very close to user+sys.
> > > 
> > > I just can't comprehend why this is going on. Any clues will be deeply 
> > > appreciated.
> > 
> > xm is a client to Xend, talking over HTTP -- xm is simply blocking for 30
> > seconds waiting for the server -- you need to figure out why the server is
> > spinning or stalling.
> > 
> > /var/log/xend.log may help.  top may help also.
> > 
> > Ewan.
> 
> -- 
> -------------------------------------------------------------------------
> Himanshu Raj
> PhD Student, GaTech (www.cc.gatech.edu/~rhim)
> I prefer to receive attachments in an open, non-proprietary format.
> -------------------------------------------------------------------------
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

-- 
-------------------------------------------------------------------------
Himanshu Raj
PhD Student, GaTech (www.cc.gatech.edu/~rhim)
I prefer to receive attachments in an open, non-proprietary format.
-------------------------------------------------------------------------

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

<Prev in Thread] Current Thread [Next in Thread>