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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] HVM CPU usage 100% after the migration
From: cendhu <cendhu@xxxxxxxxx>
Date: Fri, 24 Sep 2010 15:25:47 +0530
Delivery-date: Fri, 24 Sep 2010 02:57:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=VuS21D8fLqOEovfX9UMHs5P8T0CdhnrgLY0imT68/b0=; b=BY/zYYR7ZCErTQ7vDp59kTmHtiC6nshIAN3J0khfo5sDhXhy0VNYlF3pNBY5tUbBZa WYXoM95zDfu7gkPAO14IuEszA0N5tRcGxdHl6r+twEXjCFvdXESKlc0e6OMyPRgMIrXE wK31t0dux3Ww3houvCAOQuYpO/y74ssYhkBBA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>