From owner-freebsd-questions@FreeBSD.ORG Thu May 21 18:38:48 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3694149 for ; Thu, 21 May 2015 18:38:48 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id 80A9D15BC for ; Thu, 21 May 2015 18:38:48 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id C42BACB8CA2; Thu, 21 May 2015 13:38:41 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Thu, 21 May 2015 13:38:41 -0500 (CDT) Message-ID: <30988.128.135.70.2.1432233521.squirrel@cosmo.uchicago.edu> In-Reply-To: References: <43064.128.135.70.2.1432223515.squirrel@cosmo.uchicago.edu> Date: Thu, 21 May 2015 13:38:41 -0500 (CDT) Subject: Re: End user RAM usage survey From: "Valeri Galtsev" To: "grarpamp" Cc: freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 18:38:48 -0000 On Thu, May 21, 2015 1:19 pm, grarpamp wrote: > Posting the "real memory" and the header lines from top would be > useful for other users to see, along with the verbal descriptions. > I suggested "using" because many users have far more physical memory > installed than they will ever need. Thus quoting only the amount > of installed memory doesn't provide much realworld usage insight > for users. > > Here's a snapshot of a browsing and general user platform that > includes both memory installed and in use. X, Mozilla and ZFS are > the big consumers. Were ZFS switched to UFS, headroom does not > really exist to permit distribute the RAM (1GB sticks) to other > machines. And if they wanted to run VM it may estimate them to add > up to 2GB/VM more. > > # grep "real mem" /var/run/dmesg.boot > real memory = 2147483648 (2048 MB) > > # top > 54 processes: 2 running, 51 sleeping, 1 waiting > Mem: 479M Active, 90M Inact, 641M Wired, 344K Cache, 112M Buf, 779M Free > ARC: 328M Total, 138M MFU, 174M MRU, 16K Anon, 3012K Header, 13M Other > Swap: > > (Swap is disabled so that field shows blank.) > > (FreeBSD itself does not *require* swap. Thanks! I guess, I didn't read the book carefully enough... The very next thing I'll do will be: disable swap on all large RAM boxes (even though it is merely default 4GB the installer will set for you). Valeri > Swap is only required if > your usage would exceed physical RAM and you wish to avoid process > killing / crash.) ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++