From owner-freebsd-current@freebsd.org Sat Aug 19 17:28:31 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD7ADDD6E9C for ; Sat, 19 Aug 2017 17:28:31 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (xvm-110-62.dc2.ghst.net [46.226.110.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "theravensnest.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 72F3882BF9 for ; Sat, 19 Aug 2017 17:28:30 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [192.168.1.65] (host86-138-54-151.range86-138.btcentralplus.com [86.138.54.151]) (authenticated bits=0) by theravensnest.org (8.15.2/8.15.2) with ESMTPSA id v7JH339k056674 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 19 Aug 2017 17:03:04 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: d60e724c-75b0-4b63-9702-f4a9d2bf6793: Host host86-138-54-151.range86-138.btcentralplus.com [86.138.54.151] claimed to be [192.168.1.65] Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: swapfile query From: David Chisnall In-Reply-To: <201708191654.v7JGs8sM063853@slippy.cwsent.com> Date: Sat, 19 Aug 2017 18:03:01 +0100 Cc: tech-lists , freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <201708191654.v7JGs8sM063853@slippy.cwsent.com> To: Cy Schubert X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2017 17:28:31 -0000 On 19 Aug 2017, at 17:54, Cy Schubert wrote: >=20 >> 3. should total swap be 1x 2x or some other multiple of RAM these = days? >=20 > Depends. If you're running some kind of database server or OLTP=20 > application. Some vendors recommend no swap whatsoever while others=20 > recommend some. What does your application vendor recommend? The main advantage of swap these days (on machines with that sort of = amount of RAM) is to allow you to keep some file-backed memory objects = in memory in preference to leaked (or very cold) heap memory. =20 David