[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] HVM CPU usage 100% after the migration


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: cendhu <cendhu@xxxxxxxxx>
  • Date: Fri, 24 Sep 2010 15:25:47 +0530
  • Delivery-date: Fri, 24 Sep 2010 02:57:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=ZT41SDQnwe8D4q+qA5QqCUs7xBo2UwlLGnNRUYDKDn3Ks2+8K7iNnUyWijzom9HHG/ Gz5usnet0PkLdfalCEHIQ8EoDWheBCqRT/asYqz6kWcVMhMQHA5m2AGUxM3CHtIy8xv9 IaDjw7bRAeLS5UezObY6MetaoQ9tZwR8HgdPk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

   I am not running any application inside the HVM. But, after the migration, it always uses 100% cpu.

Xen : 4.0.1
Dom0: Ubuntu 10.04 Server & 2.6.32-bpo.4-xen-amd64
HVM : Ubuntu 10.04 Server 

Xentop Value before the Migration (Sample)

 NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%) VCPUS 
 Domain-0 -----r       6965      2.7            647168   15.7       no limit         n/a                 1   
 lucid_hvm -----r        567      0.5            2101220   50.9     2101248       50.9                1  

I am using the following command to perform the migration

$xm migrate --live lucid_hvm 192.168.100.11

Xentop Value after the Migration (Sample)

 NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%) VCPUS 
 Domain-0 -----r       3965      5.7            642163   15.7       no limit         n/a                 1   
 lucid_hvm -----r        569      100.0        2101220   50.9     2101248       50.9               1  


This is how HVM config file looks

   import os, re
   arch = os.uname()[4]
   
   kernel = "/usr/lib/xen/boot/hvmloader"
   
   builder='hvm'
   
   memory = 2048
   maxmem=2048
   shadow_memory = 8
  
  name = "lucid_hvm"
  
  vif = [ 'mac=00:B6:3E:E8:41:2E' ]
  disk = [ 'file:/vmimage/lucid_hvm.img,xvda,w', 'file:/vmimage/ubuntu-10.04.1-server-i386.iso,xvdc:cdrom,r' ]
 
  device_model = '/usr/lib/xen/bin/qemu-dm'
 
  boot="c"
  
  sdl=0
  vnc=1
  vnclisten="0.0.0.0"
  vncconsole=1
  vncpasswd='xyz'
  stdvga=0
  serial='pty'
  usbdevice='tablet'
  
 >
 on_reboot   = 'restart'
 on_crash    = 'restart'

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.