From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 1 08:43:55 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE26E1065672 for ; Sun, 1 Jun 2008 08:43:55 +0000 (UTC) (envelope-from tzhuan@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 7A95E8FC2C for ; Sun, 1 Jun 2008 08:43:50 +0000 (UTC) (envelope-from tzhuan@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so552382fgb.35 for ; Sun, 01 Jun 2008 01:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=ojP76hm49zgsn0b2hwmI5NlxS+OoA19+9Sr/9ls53Z4=; b=b1DsH3W7n75QIwg4BimH4BMdB9W2OjGNMdRfqeePl7tpJ42Z71zpRvZBCThZwqHnTrMK6SsDSa7tFjeWYQGoLwKI0xRXi8cOWcNmlyX0zr2vLuw0uL6txDFLIjx236KOANUKw8QFfRNcSBE9GYFrAlL0FuJtVgublZsbCx7gQbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=tztbMi1z9ClUIZZTEH9AE2yMSQcFKBVeWSW3M8qMUuV8BW1G11HF43ApPTyiW+XXknyne/ym4sFScvmz2jnaFQzpjX5rOxl8KkdRQCOCM/8Ih3GJ7JVrv/crgdNdKm5j44DGFwW1GdCo7u/FdkTCtN40gGdRQnt+CEVb5AHp5KE= Received: by 10.86.9.8 with SMTP id 8mr4433410fgi.22.1212309828875; Sun, 01 Jun 2008 01:43:48 -0700 (PDT) Received: by 10.86.92.1 with HTTP; Sun, 1 Jun 2008 01:43:48 -0700 (PDT) Message-ID: <6a7033710806010143y204341cepc43f7a14678f7736@mail.gmail.com> Date: Sun, 1 Jun 2008 16:43:48 +0800 From: "Tz-Huan Huang" Sender: tzhuan@gmail.com To: Maslan In-Reply-To: <319cceca0805311303o61729e0dta615c442b6bd03ce@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6a7033710805302252v43a7b240x66ca3f5e3dd5fda4@mail.gmail.com> <319cceca0805311154w5f705b2cp771392cd86ba888@mail.gmail.com> <6a7033710805311201t4085edcpc2f1ac9fa554c000@mail.gmail.com> <319cceca0805311303o61729e0dta615c442b6bd03ce@mail.gmail.com> X-Google-Sender-Auth: 980acf71650a8602 Cc: freebsd-hackers@freebsd.org Subject: Re: Is there any way to increase the KVM? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 08:43:56 -0000 On Sun, Jun 1, 2008 at 4:03 AM, Maslan wrote: > Your are right PAE is for i386, i mean try running i386 freebsd with > PAE enabled rather than amd64. PAE will let you access 64GB which is > far than you got. The whole 8G physical memory is available in our system, the point we concerned is that the kernel cannot use more than 2G memory in kernel space. AFAIK there is still only 4G virtual memory available for one process in i386 even if the PAE is enabled, and the upper part of the 4G virtual memory is mapped to the kernel memory. For example, if the KVM size is 2G, then there is only 2G left for one process because the upper 2G is mapped to kernel space. So there is still a limitation of KVM size in i386 with PAE. The limitation should be 2~3G I think. Since the server is on line now, we cannot re-install it to i386 to check this. We'll try it if we have spare machines. Thanks, Tz-Huan