From owner-freebsd-questions@freebsd.org Wed Feb 7 18:31:25 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 551DDF1B66C for ; Wed, 7 Feb 2018 18:31:25 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.home.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DA65C77499 for ; Wed, 7 Feb 2018 18:31:24 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id w17IVDOv086403; Wed, 7 Feb 2018 18:31:13 GMT (envelope-from freebsd@qeng-ho.org) From: Arthur Chance Subject: Re: Swap on SSD To: Frank Leonhardt , Robert Huff Cc: freebsd-questions@freebsd.org References: <26877DEB-034F-422B-918F-2A0D1C381537@kreme.com> <23160.43027.295357.808217@jerusalem.litteratus.org> Message-ID: Date: Wed, 7 Feb 2018 18:31:13 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2018 18:31:25 -0000 On 07/02/2018 15:01, Frank Leonhardt wrote: > On 2018-02-05 18:53, Robert Huff wrote: >> Frank Leonhardt writes: >> >>>  FreeBSD doesn't actually swap these days; uses demand paging. >> >>     Possible evidence to the contrary: >>     On a system running: >> >> FreeBSD 12.0-CURRENT #0 r326723: Sat Dec  9 12:30:04 EST 2017 amd64 >> >>     top shows: >> >> last pid: 57956;  load averages:  2.02,  2.01,  1.95   up 57+19:09:04  >> 13:49:29 >> 132 processes: 3 running, 129 sleeping >> CPU: 38.7% user,  0.4% nice,  7.9% system,  0.0% interrupt, 53.0% idle >> Mem: 2264M Active, 2303M Inact, 1478M Laundry, 1525M Wired, 761M Buf, >> 115M Free >> Swap: 17G Total, 996M Used, 16G Free, 5% Inuse >> >>     So ... is "Swap" an incorrect label, or is actual swapping >> going on? > > Yes, it's an incorrect label. Pretty much like referring to SSD storage as "disk" when it's all rectangular slabs. The historical name lingers on long after the technology becomes obsolete. -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy).