From owner-freebsd-stable@FreeBSD.ORG Sat Apr 21 20:42:43 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 D226916A400 for ; Sat, 21 Apr 2007 20:42:43 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by mx1.freebsd.org (Postfix) with ESMTP id 7F3F413C46A for ; Sat, 21 Apr 2007 20:42:43 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so1024931nza for ; Sat, 21 Apr 2007 13:42:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=s0SiVoK8ej5LzUkjcG1oX1eunBmduH+w0mUK355LMei7cvefw1hGajYq02whlqJSaGPgYZQCredIDEPh3dVXC3Uary293wGcuGyN2cI3KnPsFw+OkoNZDwv+NigrI39lGxzFpl8V7gjllAvDH7isjo9h+IOOriSeClAC1BH56Iw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=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; b=JYxM2qM6avErH6KaOMljYyiaMH9nUBdmHSJUPWbBppWFWXPa7YTALuzAwInt+eC4PB3HTBGOykASHeX9qbCkhGkvCnoQqtjgMin0lWw59/BTC7Aa6gO3oylX9fzUNJqUiNc9DQ97xRpycNLmIG8xwz+cIM6zJpgGqofkDJYyWEw= Received: by 10.115.106.7 with SMTP id i7mr1802213wam.1177188161969; Sat, 21 Apr 2007 13:42:41 -0700 (PDT) Received: by 10.114.194.5 with HTTP; Sat, 21 Apr 2007 13:42:41 -0700 (PDT) Message-ID: Date: Sun, 22 Apr 2007 00:42:41 +0400 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Artem Kuchin" In-Reply-To: <000c01c78454$0e8c1810$0c00a8c0@Artem> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <004b01c78421$062195c0$0c00a8c0@Artem> <000c01c78454$0e8c1810$0c00a8c0@Artem> X-Google-Sender-Auth: 0b0e9710092deeab 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:42:43 -0000 On 4/22/07, Artem Kuchin wrote: > Andrew Pantyukhin wrote: > > On 4/21/07, 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? > > > > What number do you expect to see? 8Gb? > > I expect to see DIFFERENCE (in particular INCREASE) in amount of memory with PAE > comparing to kernel w/o PAE. > > And 4 GB = 1024*4 MB = 1024*1024*4 KB = > = 1024*1024*1024*4=4294967296 > > So, where is my 277086208 bytes? > (ieven is built-in video eats 128MB for AGP aperture then still > whene is my another almost 120MB?) Oh, I see. This is what I get on my laptop running 7.x/amd64: usable memory = 1998807040 (1906 MB) avail memory = 1928650752 (1839 MB) It has 2Gb RAM. Your trouble is a FAQ, search the lists for a bunch of complete answers.