From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: KVM RAM limitation Date: Wed, 3 Feb 2010 17:06:53 -0300 Message-ID: <20100203200653.GG6798@defiant.freesoftware> References: <20100203155541.GC6798@defiant.freesoftware> <201002031148.02107.iggy@theiggy.com> <20100203190833.GE6798@defiant.freesoftware> <4B69CC6C.2090506@codemonkey.ws> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ytoMbUMiTKPMT3hY" To: KVM General Return-path: Received: from mail.gmx.net ([213.165.64.20]:40478 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757772Ab0BCUHH (ORCPT ); Wed, 3 Feb 2010 15:07:07 -0500 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id 6D1F41D7 for ; Wed, 3 Feb 2010 17:07:06 -0300 (ART) Content-Disposition: inline In-Reply-To: <4B69CC6C.2090506@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: --ytoMbUMiTKPMT3hY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Anthony. On Wednesday, 03 February 2010 13:20:12 -0600, Anthony Liguori wrote: >>> Are you sure you enabled KVM? Are you sure you are using the KVM >>> binary and not some QEMU binary that's sitting around. This is one >>> of those situations where the KVM command you are running might >>> help. Also the same binary you are running's version ($QEMU_BIN -h >>> | head -n1) =20 >> wilson:/usr/local/qemu-kvm/bin# ./qemu-system-x86_64 -h | head -n1 >> QEMU PC emulator version 0.12.2 (qemu-kvm-0.12.2), Copyright (c) 2003-20= 08 Fabrice Bellard >> >> >> The procedure that I used to compile qemu-kvm is the same of always: >> to download qemu-kvm-0.12.2, to install the packages (Debian) >> zlib1g-dev and libpci-dev, and to compile of the following way: >> >> # cd qemu-kvm-0.12.2 >> # ./configure --prefix=3D/usr/local/qemu-kvm >> # make >> # make install >> >> Until the moment I never got to use qemu-kvm with VMs of more than >> 2048 MB. In an installation that I have with KVM-88 and kernel x86_64 >> I don't have this problem. > QEMU and KVM only support 2GB of memory on a 32-bit host. > > Both need to create a userspace mapping of the guests memory. In a > 32-bit environment, you only have enough usable address space in a > process to create a 2GB region. But, according to what I read in the link [1] that commented, just by to have a x86_64 kernel would have to be sufficient to serve more than 2047 MB of RAM. Regards, Daniel [1] https://help.ubuntu.com/community/KVM/Installation#Use%20a%2064%20bit%2= 0kernel%20if%20possible --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 --ytoMbUMiTKPMT3hY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktp110ACgkQZpa/GxTmHTecwQCfdUsrlim7iy+NkXm9WIaEwZst O2QAn1cjQYCw5cSizRrXo09sSH6uCr/z =I7j3 -----END PGP SIGNATURE----- --ytoMbUMiTKPMT3hY--