From owner-freebsd-stable@FreeBSD.ORG Thu May 14 02:26:52 2009 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 163FB106566B for ; Thu, 14 May 2009 02:26:52 +0000 (UTC) (envelope-from dikshie@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id C2F4F8FC1F for ; Thu, 14 May 2009 02:26:51 +0000 (UTC) (envelope-from dikshie@gmail.com) Received: by qyk3 with SMTP id 3so1982503qyk.3 for ; Wed, 13 May 2009 19:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=lAY5ex/Y+QfeVUNohatJU6XAesiHVPNBKyHAXooj/n4=; b=r0+s8q3C4Ra45AmTV4tSFibJZaifMeVAEPsDw37eAH98I+dcO0d51ZZMV3Wnljc9gq 76eAsE8kzUytIlpy7Upl0mm5QMTt0iwasx5ihvtGNxF6XdXAL3D6iZI0uf2PMWBQMoQ4 YI8BujSwZB59j5sKxsNR3q+1NnfcW3a8hjD+U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=uFbFy5c8w4C9Y2Po8r5H1p0Psap9NeJigmdfVpMcZQsw9CtRlzxSAi4/zyITdsO3KL PsFh99jl0rXy3PZitE9H1/eNy7ln+vKxZalnwPU2HV9rDyZO4ZZJgxIDwQexrMtvxsWd 6QFeKQdyI78nMKM/KdFpM0EYWWCHZLpSVDSlg= MIME-Version: 1.0 Received: by 10.220.75.5 with SMTP id w5mr2435314vcj.6.1242268011169; Wed, 13 May 2009 19:26:51 -0700 (PDT) In-Reply-To: <200905131011.44391.jhb@freebsd.org> References: <910e60e80905130410h38a1dc70y23a26275dac51a31@mail.gmail.com> <200905131011.44391.jhb@freebsd.org> From: dikshie Date: Thu, 14 May 2009 11:26:31 +0900 Message-ID: <910e60e80905131926w542aab96q68102aa97e97b62f@mail.gmail.com> To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: maximum mmap() 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: Thu, 14 May 2009 02:26:52 -0000 On Wed, May 13, 2009 at 11:11 PM, John Baldwin wrote: > The amount of RAM is not the issue, it is the size of the virtual address > space. =A0You can lower maxdsiz on i386 to leave more room for mmap, and = you > can also change KVA_PAGES in the kernel to leave more address space for > userland than for the kernel perhaps, but you won't get a whole lot more > space that way (you might be able to map 2.5GB or so). =A0Moving to amd64= gives > you a 64-bit virtual address space and you will be able to easily mmap() > much, much more than 4GB out of the box. i see. thanks for the explanation. it seems i have to move to AMD64 and added more RAM. -dikshie-