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/
Home Products Support Community News


Re: [Xen-users] Why domain-0 100% cpu utilization?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Why domain-0 100% cpu utilization?
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Mon, 23 Aug 2010 01:54:44 +0400
Delivery-date: Sun, 22 Aug 2010 14:56:07 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=/rfJSXkr5y0IDLFsXKvd3Xuhl4wC/NOdC4hSjLc0w0Y=; b=ica5v9d0iwMxxMCKjRbr/596sa76f0S+3UavlN3EymF4+EX9idu6yWk4gDghjYrqNy lx+vASLK+IG1/kZeCsCfX9nRrCPlETOEgVY1KORaa0WTKqHjq+i61HxzM2n/GG7wgawJ wOD2fSzYs1NvH6sDa3no9D5NN+hQWMs7Ecn6M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=rj92sRKd59+FduMFWmkoewcojaZ+1GKSfQTzvpE4lUXbo/GI8tkLLZDp9+YQhQz2nn CaqmpdGp9Xo4lU/uXTEnDy8Pa7ynciZ1MrSYkFwVKDrkgWu+HuNF6kUYNocc324paJj0 LsEzG4ZG6ZU1f3NefG8zzpH4RaCc+OLqVd+t0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=y=U+__0QoT-XYUVds36FMbAVjSKo2Gt9_6Gbs@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=y=U+__0QoT-XYUVds36FMbAVjSKo2Gt9_6Gbs@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
There is few reason for high CPU load in dom0 for XCP. Note: any reason
except diskIO is bad sign.

First: high IO utilization from domUs via (f.e. ISCSI). I found that
really high load from guests can really load domU (above 1.5Gb/s). This
is unavoidable (may be hardware accelerated ISCSI HBA? Not test them

Second: Bad sync. If some host lost sync with others, high load can
occur on this host.

Third: Heavy use of xe interface. I've tryed to make some kind of simple
cloud control system based on ssh+xe syntax. xe vm-list (or any other
*-list) couse extreme load on slave host (where command issued) and
master host (which one really serve request). Main symptom: xapi eat up
to 30-70% of CPU. Result: do not use xe interface for any automated and
often running tasks. Use xenApi, use event subscribe for state
replication. Try avoid any requests which one requied lot of operation
for XenAPI server.

Forth: Migration cause stress on stunnel due high data transfer, so, as
rule of thumb: one migration (accept or send) per host in one time.

As I found it tests, normal load for dom0 is about 10-30% for half-idle
guest activity.

В Вск, 22/08/2010 в 15:28 -0400, Lei Lu пишет:
> Hi all,
> I happened to run into a infinite loop on my guest domain, I found by
> xentop or xenmon that my guest domain cpu is 100%. However,
> surprisingly, domain-0 cpu utilization also around 100%. I am very
> confused and do not know why it is this case, could anybody tell me
> the reason or something I should look into? Thank you in advance.
> Best,
> Lei
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Xen-users mailing list

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