Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AC501054C for ; Thu, 24 Oct 2013 21:05:01 +0000 (UTC) Received: (qmail 76070 invoked by uid 500); 24 Oct 2013 20:53:46 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 75976 invoked by uid 500); 24 Oct 2013 20:53:34 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 75958 invoked by uid 99); 24 Oct 2013 20:53:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Oct 2013 20:53:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andrija.panic@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Oct 2013 20:53:22 +0000 Received: by mail-ie0-f175.google.com with SMTP id aq17so4774225iec.6 for ; Thu, 24 Oct 2013 13:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=RSSTZQJD5T/aEjCCn5z75jksNV2eTtBQzTmkOSRix84=; b=osJ9ifw6lT3IObFwaaVMzuXHtuzv650g0XqhmqwRDcsLd/Fi3Ve5mvjjg9cqcX6NOR IPtFSNOW3o8UeOAW6U7rAFqCmstWWLvytmkkMQQ+7EJJTvriGyU4ttxmJAAVrvgWi9kK zk0wzpakDLmgMhyUpKEgHscFRNY3sTrdSI76xWQyHmMjRV7d/GEaUq32cuIhOrH78+u4 F1Wg76J5u23iwujhio7BT8y1U0hmvVXOEsd+tWVfDD59gBnStDJhYV00ck7aYyvDwnJ4 iA+cag8KXDF80Mod39nepMb2mJbl1VxFd0X1GvrwpYoWwGmdv/Ks5AoZN9wtDer2mFfm +ysg== MIME-Version: 1.0 X-Received: by 10.42.146.1 with SMTP id h1mr2931099icv.38.1382647981528; Thu, 24 Oct 2013 13:53:01 -0700 (PDT) Received: by 10.42.94.136 with HTTP; Thu, 24 Oct 2013 13:53:01 -0700 (PDT) Date: Thu, 24 Oct 2013 22:53:01 +0200 Message-ID: Subject: Guest reports wrong amount of RAM with RAM overprovisioning From: Andrija Panic To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=90e6ba6e89cec9e1a404e982d10d X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e89cec9e1a404e982d10d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I have updated to CS 4.2 (not sure that my problem has to do anything with that...) 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=3D1,cores=3D1,threads=3D1 -uuid 45087776-1238-4255-a87f-7ae= 6bcddc4a3 -nodefconfig -nodefaults -chardev socket,id=3Dcharmonitor,path=3D/ var/lib/libvirt/qemu/i-2-248-VM.monitor,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol -rtc base=3Dutc -no-shutd= own -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 -drive file=3D/var/lib/libvirt/images/aa0d036a-f814-4cd8-991f- d0a0ad21a7d4,if=3Dnone,id=3Ddrive-virtio-disk0,format=3Dqcow2,cache=3Dnone = -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive- virtio-disk0,id=3Dvirtio-disk0,bootindex=3D2 -drive if=3Dnone,media=3Dcdrom,id=3Ddrive-ide0-1-0,readonly=3Don,format=3Draw,cach= e=3Dnone -device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0= ,bootindex=3D1 -netdev tap,fd=3D23,id=3Dhostnet0,vhost=3Don,vhostfd=3D36 -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D06:b0:24:00:00:66,bus=3Dpc= i.0,addr=3D0x3 -chardev pty,id=3Dcharserial0 -device isa-serial,chardev=3Dcharserial0,id= =3Dserial0 -device usb-tablet,id=3Dinput0 -vnc0.0.0.0:12,password -vga cirrus -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 >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) Thanks, --=20 Andrija Pani=C4=87 --90e6ba6e89cec9e1a404e982d10d--