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

[Xen-users] maxmem does not work?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: George Shuklin <george.shuklin@xxxxxxxxx>
  • Date: Sun, 01 Aug 2010 05:05:18 +0400
  • Delivery-date: Sat, 31 Jul 2010 18:06:54 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=dJ+by/JqVXs3qW8Vg946NAMrrzsS4nA4/FNFXBLAiHzGwK76ZAWucgvFJIBIuqWomz x/opK3DDPWq5sR0A5fjDFN7oH8HPZWlFVzeW0ewqfjd5jtVmpOu4Q2x0Hkwj3YsAZSqH zkkQPe61wI1oU3T1Ipeyj5L5WmpdpZ0GYc6zQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Good day.

I'm trying to play with pre-ballooned VM:

kernel="/boot/vmlinuz-2.6.32-5-xen-amd64"
ramdisk="/boot/initrd.img-2.6.32-5-xen-amd64"
builder='linux'
memory = 1024
maxmem = 2048
name = "vm1"
vif = [ '' ]
disk = [ 'phy:vm/vm1,xvda1,w' ]
root = "/dev/xvda1 ro"
extra="xencons=xcv console=hvc0 console=tty1"

After creating VM (xm create vm1) I'm trying to change memory: 
xm mem-set vm1 1500

But this does not raise memory in guest.

I see changes in xm list -l:
...
    (maxmem 2048)xem
    (memory 1500)
...

But I don't see any changes in guest and (even) in xentop:
                                 MEMORY            MAXMEM
 vm1 --b---          4    0.6    1044736    4.2    2097152 

But when I change values lower (to 700Mb f.e.) - it going down in guest.

I'm using xen from debian sid and image 2.6.32-5-xen-amd64

What I'm doing wrong? 


_______________________________________________
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®.