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] Re: [PATCH 2/3] drivers/xen/balloon.c: Various balloon f

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH 2/3] drivers/xen/balloon.c: Various balloon features and fixes
From: Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Date: Tue, 28 Dec 2010 00:52:03 +0300
Cc: jeremy@xxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, haicheng.li@xxxxxxxxxxxxxxx, dan.magenheimer@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-mm@xxxxxxxxx, andi.kleen@xxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, fengguang.wu@xxxxxxxxx, Daniel Kiper <dkiper@xxxxxxxxxxxx>
Delivery-date: Mon, 27 Dec 2010 13:53:24 -0800
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=selfip.ru; s=dk; h=Message-ID:References:In-Reply-To:Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=qXfeII8EcyoVuhN5JRiFkBrWdfj/4qKkK/g6x7cAB30=; b=ILQ2JD1teVN7FnXkMvJh/6JIrL12ej8eoQe6qjE9SY1qxtsZHAuD+Rf3ueh0f9gpU2/h/WFXgElknBmI/ppXO0Y0ewmMppGG73isZp+nEiZ/s+cr9O0oAvXqEDep/cDi;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101227163918.GB7189@xxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20101220134724.GC6749@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20101227150847.GA3728@xxxxxxxxxxxx> <947c7677e042b3fd1ca22d775ca9aeb9@xxxxxxxxxxxxxx> <20101227163918.GB7189@xxxxxxxxxxxx>
Reply-to: v.tolstov@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Roundcube Webmail/0.4-trunk
On Mon, 27 Dec 2010 11:39:18 -0500, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:
> On Mon, Dec 27, 2010 at 07:27:56PM +0300, Vasiliy G Tolstov wrote:
>> On Mon, 27 Dec 2010 10:08:47 -0500, Konrad Rzeszutek Wilk
>> <konrad.wilk@xxxxxxxxxx> wrote:
>> > On Mon, Dec 20, 2010 at 02:47:24PM +0100, Daniel Kiper wrote:
>> >> Features and fixes:
>> >>   - HVM mode is supported now,
>> >>   - migration from mod_timer() to schedule_delayed_work(),
>> >>   - removal of driver_pages (I do not have seen any
>> >>     references to it),
>> >>   - protect before CPU exhaust by event/x process during
>> >>     errors by adding some delays in scheduling next event,
>> >>   - some other minor fixes.
>>
>> I have apply this patch to bare 2.6.36.2 kernel from kernel.org. If
>> memory=maxmemory pv guest run's on migrating fine.
>> If on already running domU i have xm mem-max xxx 1024 (before that it
>> has 768) and do xm mem-set 1024 guest now have 1024 memory, but after
>> that it can't migrate to another host.
>>
>> Step to try to start guest with memory=512 and maxmemory=1024 it boot
>> fine, xm mem-set work's fine, but.. it can't migrate. Sorry but nothing
>> on screen , how can i help to debug this problem?
> 
> You can play with 'xenctx' to see where the guest is stuck. You can also
> look in the 'xm dmesg' to see if there is something odd. Lastly, if you
> mean by 'can't migrate to another host' as the command hangs stops, look
> at the error code (or in /var/log/xen files) and also look in the source
> code.
> 

xm dmesg and /var/log/xen/* provide nothing useful. can't migrate meand
- xm migrate --live start migration process, on destination node domain
constucted all memory copied and after that in xentop picture like this:
1) some second after migration xentop displays line like this:

test_domain -----r          2  109.8     262144    0.4    1048576      
1.7    14    1        0        0    2        0        0        0        
0          0    0

2) after that some second line changed to this:

test_domain ---c--          3  245.6     262144    0.4    1048576      
1.7    14    1        0        0    2        0        0        0        
0          0    0

3) after some milli seconds:

test_domain ---cp-          3    0.0     111460    0.2    1048576      
1.7    14    1        0        0    2        0        0        0        
0          0    0

4) after 2 or 3 seconds like this:

test_domain d--cp-          3    0.0          4    0.0    1048576      
1.7    14    1        0        0    2        0        0        0        
0          0    0

after step 4 domain is crushed. If i don't use Daniel's patch - this
not happening.

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