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

[Xen-devel] xm mem-set for HVM Domain


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: cendhu <cendhu@xxxxxxxxx>
  • Date: Sat, 25 Sep 2010 12:11:14 +0530
  • Delivery-date: Fri, 24 Sep 2010 23:42:22 -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=TqSJwjhoauEG92HRVKJB6CPmxBudzORu+28nrtkwrwqzIwkJzbLKfBt6xSMHT7pTOB xV3mXA1uaPq5+3XbFIUn0U+Q3dl/A7tRg2LGBhT4rccVaKiMFJGMQGakHuOEciR/4Yts u/mtL6AoQFsEtdwV/oP1BBEfxjTwEx99t56u4=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

HI,
     I have an ubuntu 10.04 with xen kernel 2.6.32.11 as Dom0. xm mem-set does not seem to have any effect on the HVM domains.

Xen Version : 4.0.1
HVM : Ubuntu 10.04

I have allocated 512MB to dom0 and 2048MB to HVM.
$xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   512     1     r-----    358.8
lucid_hvm                                    1  2048     1     -b----      5.9

The output of free command in the HVM
$free -m
             total       used       free     shared    buffers     cached
Mem:          2012        153       1858          0         24         74
-/+ buffers/cache:         55       1957
Swap:          228          0        228

Using xm mem-set, i tried to allocate 1024MB to the HVM

$xm mem-set lucid_hvm 1024
$xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   512     1     r-----    363.1
lucid_hvm                                    1  1024     1     -b----      7.2

 xm list shows that only 1024MB of physical memory is allocated to the HVM.

but, the output of free command in the HVM
$ free -m
             total       used       free     shared    buffers     cached
Mem:          2012        154       1858          0         24         74
-/+ buffers/cache:         55       1957
Swap:          228          0        228

No change in allocated memory. But, xm mem-set works perfectly with paraVM.

I migrated HVM to another machine and checked the amount of data transferred which is 2048MB.





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

 


Rackspace

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