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

[Xen-API] xcp dynamic memory management Debian Wheezy


  • To: <xen-api@xxxxxxxxxxxxx>
  • From: Zdenek K <djz88@xxxxxxxxxx>
  • Date: Tue, 04 Feb 2014 16:35:25 +0100
  • Delivery-date: Tue, 04 Feb 2014 15:35:35 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hello there,
 I want to share and ask somthing I figured out about dyn mem management.

I was trying to be able to dynamicky set the "memory limits or targets" on a 
hosts for a very long time.

Finaly I found the problem:

when run command: "xe vm-memory-target-set target=500MiB vm=Wheezy3"

It should write it into xenstore e.g: " xenstore-ls -f | grep /local/domain/2/ 
|grep memo"   should produce
/local/domain/2/memory/target = "512000"

after this squeezed should do the job, but in my case it didn t :(

after a while I spent with testing and reading I found that this key was 
missing inside the xenstore: 
/local/domain/2/control/feature-balloon = "1"


After manually created key ballooing took the place and change memory on the 
host as expected without downtime. e.g.: " xenstore-write 
/local/domain/2/control/feature-balloon "1" "
BEFORE:
Mem:           967        450        517          0          1         23
AFTER:
Mem:           443        424         19          0          0         11


dom0 = Debian Wheezy Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

domU = Debian Wheezy Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
xapi =Version: 1.3.2-15







 Has anyone faced the same problem?
Cheers

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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