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] maxmem does not work?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] maxmem does not work?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=qBKDHPrQlY9f1ylo1fSYvMNf9v3YfPXOqRm10LWyrBQ=; b=oxkF0gGMMg9VBDpU7QxG46RWzWDm502lP+X500Xj5rPjkk23s8mQxl8UlPCIWuKUgP jF/JK72UXZsLj2udSrIBupQHoA0C5kIcX+vMqQaRnwwCvZd+453AuLn1IIh7XPQM4Io7 D+erQL/iLUMG0pR9qsmKevvzS+rpXTARPWbU0=
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=
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
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] maxmem does not work?, George Shuklin <=