cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrija Panic <>
Subject Guest reports wrong amount of RAM with RAM overprovisioning
Date Thu, 24 Oct 2013 20:53:01 GMT

I have updated to CS 4.2 (not sure that my problem has to do anything with
I have RAM overprovisioning level of 2 on Cluster level.

And after I start VM with compute ofering of 2GHZ (1x2gHz) and 2GB of ram,
it does invoke qemu-kvm with good parameters (2048M), but inside my VM when
doing top, or free -m, it reports rougly 50% of that amount:

Here is the ps axu | grep vname #from host on which VM is running:

root     17264  5.9  2.1 3447568 1090636 ?     Sl   22:35   0:23
/usr/libexec/qemu-kvm -name i-2-248-VM -S -M rhel6.4.0 -enable-kvm *-m 2048
-*smp 1,sockets=1,cores=1,threads=1 -uuid 45087776-1238-4255-a87f-7ae6bcddc4a3
-nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/
var/lib/libvirt/qemu/i-2-248-VM.monitor,server,nowait -mon
chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
d0a0ad21a7d4,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device
virtio-disk0,id=virtio-disk0,bootindex=2 -drive
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1
-netdev tap,fd=23,id=hostnet0,vhost=on,vhostfd=36 -device
-chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0
-device usb-tablet,id=input0 -vnc0.0.0.0:12,password -vga cirrus -device

>From inside VM:

# free -m
             *total*       used       free     shared    buffers     cached
Mem:           *853*         92        761          0          5         28
-/+ buffers/cache:         58        795
Swap:         4095          0       4095

Same for top.
Not sure what is happening, has to do something with RAM overprovisioning
factor ?
How is this possible, when qemu-kvm parameteres seems fine (-m 2048)


Andrija Panić

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message