From owner-freebsd-stable@FreeBSD.ORG Sat Apr 21 20:50:28 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B796116A400 for ; Sat, 21 Apr 2007 20:50:28 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id B725D13C448 for ; Sat, 21 Apr 2007 20:50:27 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l3LKoHbr070932; Sat, 21 Apr 2007 14:50:17 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <462A78F5.3090904@samsco.org> Date: Sat, 21 Apr 2007 14:49:57 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Artem Kuchin References: <004b01c78421$062195c0$0c00a8c0@Artem> In-Reply-To: <004b01c78421$062195c0$0c00a8c0@Artem> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Sat, 21 Apr 2007 14:50:17 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-stable@freebsd.org Subject: Re: PAE does not give any ram increase, why? 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: Sat, 21 Apr 2007 20:50:28 -0000 Artem Kuchin wrote: > Hello! > > I've upgraded one of my servers today. > Now it is > Asus P5p800-VM > Pentium D 3.0Ghz > 4GB RAM (4x1 GB) > 3WARE raid5 > > FreebSD 6.2 cvsed today compiled from sources. > > after that i decided to try PAE. It runs just fine but > when i compare available memory with and without > pae i do not see any difference. > > At kernel boot with PAE it says: > > pr 21 18:01:30 osiris kernel: ACPI APIC Table: > Apr 21 18:01:30 osiris kernel: Timecounter "i8254" frequency 1193182 Hz > quality 0 > Apr 21 18:01:30 osiris kernel: CPU: Intel(R) Pentium(R) D CPU 3.00GHz > (3000.33-MHz 686-class CPU) > Apr 21 18:01:30 osiris kernel: Origin = "GenuineIntel" Id = 0xf64 > Stepping = 4 > Apr 21 18:01:30 osiris kernel: > Features=0xbfebfbff > Apr 21 18:01:30 osiris kernel: > Features2=0xe49d,> > Apr 21 18:01:30 osiris kernel: AMD Features=0x20000000 > Apr 21 18:01:30 osiris kernel: AMD Features2=0x1 > Apr 21 18:01:30 osiris kernel: Cores per package: 2 > Apr 21 18:01:30 osiris kernel: real memory = 4017881088 (3831 MB) > Apr 21 18:01:30 osiris kernel: avail memory = 3933429760 (3751 MB) > > The real and avail memory sizes are the same w/o PAE. > > Then i do > sysctl -a | grep hw | grep mem > > and i always see > hw.physmem: 4012244992 > hw.usermem: 3861307392 > hw.realmem: 4017881088 > hw.pci.host_mem_start: 2147483648 > > the number do not change with or without PAE > > Maybe i look in the wrong place? > I'm not going to waste my time explaining for the hundredth time how the x86 memory layout works. If you want to recover the missing 256MB, go look in your BIOS for an option about memory hole remapping. Scott