lkml.org 
[lkml]   [2010]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Xen-devel] Re: [PATCH 2/3] drivers/xen/balloon.c: Various balloon features and fixes
On Mon, 27 Dec 2010 11:39:18 -0500, Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com> 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@oracle.com> 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.


\
 
 \ /
  Last update: 2010-12-27 22:55    [W:0.063 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site