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-users

Re: [Xen-users] I/O issue in xen guest OS

To: Radu Rendec <radu.rendec@xxxxxxx>
Subject: Re: [Xen-users] I/O issue in xen guest OS
From: chandrashekar <chanlinux@xxxxxxxxx>
Date: Mon, 6 Jul 2009 21:07:02 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Jul 2009 08:37:51 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=wWnTlN0gy023B581pUxeOQKVL1WwRsLx6L0peqC/3PE=; b=rG7fg4HftPzN3HqBQdMAMJfsFfJ8gRex9P+mVk/Q8uc6w6IBzXivFoYF53TiVEQMKm oPEqDp1yKVptvTpsC8iDr8eL/i+e0cOrueSIKD6bXXZ7DUhdHSBa1+L3jvBIZdGnjn33 xQ1odfGKYxo4XEYvlgJADbh4xMRnvz1zzGKCs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mKuyVsOAS0vQGBpt5+WF/tFwLKUR9iaJ464C901Mqk4NO2PfMxNL5Yuip42nEMGll3 FbsckYVGsdMYTNGxLsIxZuDO0rKJHvf0fy1iB9/AJmKVLCub7cOGe8SWFQwCiLgMUmgj R+D7is5ogk6y3nII9pTA2lESi5nSkV+DHXm9U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1246893967.4831.64.camel@xxxxxxxxxxxxx>
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: <f2a27c530907060427l24929899n414beb8c4389f709@xxxxxxxxxxxxxx> <1246890919.4831.50.camel@xxxxxxxxxxxxx> <f2a27c530907060810g3e275d0ejc72517f5ea06e37e@xxxxxxxxxxxxxx> <1246893967.4831.64.camel@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Radu,

Is this issue may be bcz of filesystem.............?

Thanks,
Chandru

On Mon, Jul 6, 2009 at 8:56 PM, Radu Rendec <radu.rendec@xxxxxxx> wrote:
On Mon, 2009-07-06 at 20:40 +0530, chandrashekar wrote:
> As you suggested I checked CPU % and there is no issue in CPU but I
> think this is issue with memory.
>
> Please find the xm top for the same.
>
>
> xentop - 20:35:49   Xen 3.1.2-92.el5
> 2 domains: 1 running, 1 blocked, 0 paused, 0 crashed, 0 dying, 0
> shutdown
> Mem: 4193636k total, 4193292k used, 344k free    CPUs: 8 @ 2333MHz
> NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS
> NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSID
> Domain-0 -----r     23050    0.7    2200640   52.5   no limit
> n/a     8    4      248  2101165    0        0  0        0    0
> guest --b---        3938    0.0    1945432   46.4    1945600      46.4
> 1    1  2197321  2803970    0        0 0        0    0

Chandru,

The memory seems to be (almost) equally splitted between dom0 and the
guest, and you have plenty of it.

But I think I got the explanation to your issue:

domU has only one VCPU, while dom0 has 8 CPUs; since I/O activity is
likely not to span across multiple CPUs, you have the following:

domU: 1 cpu (of 1) waiting 100% for I/O => 100% overall IOwait
dom0: 1 cpu (of 8) waiting 100% for I/0 => 1/8 * 100% overall IOwait

I think 1/8 * 100% is exactly your 12%

Cheers,

Radu



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