Hi list, I try to understand memory ballooning. I have a xen server (kernel 2.6.27.54-0.2-xen) with 32 gb total memory. A domU has been started with "memory=4096" and "maxmem=8192". This is the status of the balloon driver in the domU: test:~ # cat /proc/xen/balloon Current allocation: 4194304 kB Requested target: 4194304 kB Minimum target: 565248 kB Maximum target: 8388608 kB Low-mem balloon: 4194304 kB High-mem balloon: 0 kB Driver pages: 0 kB I then try to increase the memory of this domU using the following command: "xm mem-set test 8192". However, the memory only increases to about 5 gb. This is what the balloon driver says: test:~ # cat /proc/xen/balloon Current allocation: 5281180 kB Requested target: 8388608 kB Minimum target: 565248 kB Maximum target: 8388608 kB Low-mem balloon: 3107428 kB High-mem balloon: 0 kB Driver pages: 0 kB Can anybody explain why the current allocation is less than the requested target? "free" reports the same size: test:~ # free -k total used free shared buffers cached Mem: 5281180 2478960 2802220 0 768 584432 -/+ buffers/cache: 1893760 3387420 Swap: 2096444 0 2096444 What can I do to make the full 8 gb usable to the domU? Kind regards, Christian -- Deriva GmbH Tel.: +49 551 489500-42 Financial IT and Consulting Fax: +49 551 489500-91 Hans-Böckler-Straße 2 http://www.deriva.de D-37079 Göttingen Amtsgericht Göttingen | HRB 3240 Geschäftsführer: Dirk Baule, Christian Schröder Deriva CA Certificate: http://www.deriva.de/deriva-ca.cer _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Wed, Jul 17, 2013 at 8:28 PM, Christian Schröder <cs@deriva.de> wrote:> Hi list, > I try to understand memory ballooning. I have a xen server (kernel > 2.6.27.54-0.2-xen) with 32 gb total memory. A domU has been started with > "memory=4096" and "maxmem=8192". This is the status of the balloon driver > in the domU: > >What is the guest kernel & os type ?> test:~ # cat /proc/xen/balloon > Current allocation: 4194304 kB > Requested target: 4194304 kB > Minimum target: 565248 kB > Maximum target: 8388608 kB > Low-mem balloon: 4194304 kB > High-mem balloon: 0 kB > Driver pages: 0 kB > > I then try to increase the memory of this domU using the following > command: "xm mem-set test 8192". However, the memory only increases to > about 5 gb. This is what the balloon driver says: > > test:~ # cat /proc/xen/balloon > Current allocation: 5281180 kB > Requested target: 8388608 kB > Minimum target: 565248 kB > Maximum target: 8388608 kB > Low-mem balloon: 3107428 kB > High-mem balloon: 0 kB > Driver pages: 0 kB > > Can anybody explain why the current allocation is less than the requested > target? "free" reports the same size: > > test:~ # free -k > total used free shared buffers cached > Mem: 5281180 2478960 2802220 0 768 584432 > -/+ buffers/cache: 1893760 3387420 > Swap: 2096444 0 2096444 > > What can I do to make the full 8 gb usable to the domU? > > Kind regards, > Christian > > -- > Deriva GmbH Tel.: +49 551 489500-42 > Financial IT and Consulting Fax: +49 551 489500-91 > Hans-Böckler-Straße 2 http://www.deriva.de > D-37079 Göttingen > > Amtsgericht Göttingen | HRB 3240 > Geschäftsführer: Dirk Baule, Christian Schröder > Deriva CA Certificate: http://www.deriva.de/deriva-**ca.cer<http://www.deriva.de/deriva-ca.cer> > > ______________________________**_________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Tue, Jul 23, 2013 at 12:02 PM, Christian Schröder <cs@deriva.de> wrote:> On 17.07.2013 18:33, Rushikesh Jadhav wrote: > > What is the guest kernel & os type ? > > SUSE Linux Enterprise Server 11 (x86_64) > VERSION = 11 > PATCHLEVEL = 2 > > Linux test 3.0.80-0.7-xen #1 SMP Tue Jun 25 18:32:49 UTC 2013 (25740f8) > x86_64 x86_64 x86_64 GNU/Linux > >Can you post # dmesg | grep -i mem & # cat /proc/meminfo & also # cat /boot/config-3.0.80* | grep -i xen ? Newer 3.X has changed memory management which has changed balloon functionality. I think SLES is still offering -xen kernels, which should have worked very well.> > Kind regards, > Christian > > -- > Deriva GmbH Tel.: +49 551 489500-42 > Financial IT and Consulting Fax: +49 551 489500-91 > Hans-Böckler-Straße 2 http://www.deriva.de > D-37079 Göttingen > > Amtsgericht Göttingen | HRB 3240 > Geschäftsführer: Dirk Baule, Christian Schröder > Deriva CA Certificate: http://www.deriva.de/deriva-ca.cer > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users