Re: Modifying RAM during runtime on guest

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

 



On Tuesday 08 September 2009 03:52:07 pm Daniel Bareiro wrote:
> Hi all!
> 
> I'm trying to modify the amount of RAM that has some of guests. Host has
> 2.6.30 kernel with KVM-88.
> 
> In one of guest I didn't have problems when decreasing the amount of memory
> from 3584 MIB to 1024 MiB. This guest has 2.6.26-2-686 stock kernel. Also I
> was trying to decrease the amount RAM of another guest from 3584 MiB to
> 2048 MiB, but it didn't work. This other guest has
> 2.6.24-etchnhalf.1-686-bigmem stock kernel. Does Ballooning in guest
> require 2.6.25 or superior?


I don't know, if that kernel has a virtio-balloon driver, I'd think that was 
all you need to balloon memory.


> 
> Thinking that it could be an impediment related to the kernel version of
> guest, I tried to increase the memory of another one guest with
> 2.6.26-2-686 from 512 MIB to 1024 MIB, but this didn't work either.


You can only grow memory up to the amount you specified on the command line if 
you've already ballooned down. So if you specify "-m 1024M" on the command 
line, then shrink it to 512, you could then balloon it back up to a max of 
1024.


> 
> These are the statistics of of memory usage in host:
> 
> # free
>              total       used       free     shared    buffers     cached
> Mem:      16469828   14763460    1706368          0    7800712     202044
> -/+ buffers/cache:    6760704    9709124
> Swap:      8319948      19240    8300708
> 
> 
> 
> Which can be the cause?
> 
> Thanks in advance for your reply.
> 
> Regards,
> Daniel
> 
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux