From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 14:50:57 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F17E816A417 for ; Wed, 21 Nov 2007 14:50:56 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.freebsd.org (Postfix) with ESMTP id AA35813C45B for ; Wed, 21 Nov 2007 14:50:56 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from localhost (marvin-mail [192.168.0.2]) by marvin.harmless.hu (Postfix) with ESMTP id 227EB7C175D for ; Wed, 21 Nov 2007 15:24:09 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at harmless.hu Received: from marvin.harmless.hu ([192.168.0.2]) by localhost (marvin.harmless.hu [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id b1zpOeB54BAQ for ; Wed, 21 Nov 2007 15:24:08 +0100 (CET) Received: from marvin.harmless.hu (localhost [127.0.0.1]) by marvin.harmless.hu (Postfix) with ESMTP id 46D457BFF3A for ; Wed, 21 Nov 2007 15:24:04 +0100 (CET) Date: Wed, 21 Nov 2007 15:24:04 +0100 From: Gergely CZUCZY To: freebsd-stable@freebsd.org Message-ID: <20071121142404.GA7511@harmless.hu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=x-unknown; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: mmap max size (qemu VM memsize limit) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 14:50:57 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I'm trying to set up a qemu with 4G memory to the host system on a 7-BETA2, and I've hit some kind of limit in freebsd. When i give more then ~2000MB of memory to qemu, it returns an after trying to mmap() it, saying "Could not map physical memory". At the end of mmap(2) there's a note saying: " The len argument is limited to the maximum file size or available use= r- land address space. Files may not be able to be made more than 1TB la= rge on 32 bit systems due to file systems restrictions and bugs, but addre= ss space is far more restrictive. Larger files may be possible on 64 bit systems." I guess I've found this limit. I've tried to check a few sysctls but I wasn= 't able to find the one effecting this limit. Could someone point me into the right direction in increasing the maximum mmap-able size? Sincerely, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) owFNVD1rHFcUVSyneeBCnStzo0YW2VnvriSvvGZRLNmWBQ4psmBISODtzJ2Zh97H 6H1IHhVJocYYY4xbIwyq3IQEkjK/wZ2LkMKNq5A2RbrcN7O7zhYDe9+95553zpl5 cWV56dLK219++/bzZy9fffLTZTldV8F7XSSK22Ohk36v10+GW/1+spFsDYf59gb2 N7J+f5qm+3d3zvaM9qh9MqkrHIHHx/5GJbnQtyEtuXXox8HnyTab990VrjJOeGH0 CISWQuPibGK5djna5J5OTSZ0MYKjYDxmSWWF9nwqkbEHKKXpMHawpsDbmrrAG6BF ECrgcIQqwInwJWzug0JlbB3PfYlQGufB1c6jYkZT7zDZvTe5M+gA1xkcrB1Ti6AO oxAOBZVMDlIoKgkNuUWcuqzL2KMSNQgoBPUTPEZsDT8Mer3el7tx5uPWSKYDBGDR B6sd47Q292j/x1wpXl1fp6YOON4UV/dMkBlo44HOoCprJ1IuZ7irROGOby6ELccG YbAeSxbXHF2MRnGGNmKrEH8T6pfEk9siKBIbhGsvh9lcH8UfCxUU5ELStDhFMBb4 MRcyKg/B4ZjZhDVwMkrGs8yic+AqnmIX4D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