From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 10 09:50:53 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DFC706C6 for ; Wed, 10 Jul 2013 09:50:53 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [IPv6:2607:f8b0:400c:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id A650C1FAA for ; Wed, 10 Jul 2013 09:50:53 +0000 (UTC) Received: by mail-ve0-f180.google.com with SMTP id pa12so5563113veb.11 for ; Wed, 10 Jul 2013 02:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Z9LF2PRxy4Jp/FzpMpmCCVqw/+uFBJspmGGNXfsz1OY=; b=m5tdu/0an4VmU9zQufT79LxBa1GhHyDZoxN1wP8lT7goqLD7ztLJQ6IApTMfDYD1E3 g2mjWoXUjjvsNR5L7awpGfcskiw90/2JaVIEQgpljf4FAdQ3UzR2qzA0ypgdXPSF3WC9 dwHtK+kuv/5eyR39p8/vMUFrlz0d9GVoTkWJ31adUIvbd5EdvcTltwwif5b533WNJh7R 5W1Suaj1vrrz+Kg/8UqE2lrgAPJEs5Ug2fRUFd+8VlE4OmzVzAbde2U8p2esiWastLvp ahYM/b/30A1hIbLDCfeoa/0A7PyVLYvOtZEmkfEcebYhKKgYI88EdqnOmYB49EF450cP N1tA== MIME-Version: 1.0 X-Received: by 10.58.86.70 with SMTP id n6mr18816675vez.8.1373449853180; Wed, 10 Jul 2013 02:50:53 -0700 (PDT) Received: by 10.52.70.39 with HTTP; Wed, 10 Jul 2013 02:50:52 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Jul 2013 13:50:52 +0400 Message-ID: Subject: Re: hw.physmem/hw.realmem question From: Sergey Kandaurov To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 09:50:53 -0000 On 3 July 2013 01:45, Wojciech Puchar wrote: >> AMD Features2=0x1 >> TSC: P-state invariant, performance statistics >> real memory = 34359738368 (32768 MB) >> avail memory = 32191340544 (30700 MB) > > > 2GB memory "disappears" too even when you don't set anything. > > i asked such a question for other machine some time ago without much answer. > > > in your laptop it may be shared graphics memory reserved by chipset > > still on my dell server > > > real memory = 34359738368 (32768 MB) > avail memory = 33166921728 (31630 MB) > > i have over 1GB unavailable and it doesn't have shared graphics memory. > > it would be nice to be able to look exactly how memory is used. On amd64 about 3% is cut on startup for page structures, see vm_page_startup(). -- wbr, pluknet