From owner-freebsd-questions@freebsd.org Thu Feb 13 21:24:30 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D246235FB4 for ; Thu, 13 Feb 2020 21:24:30 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48JTzd2jkSz4bWw for ; Thu, 13 Feb 2020 21:24:29 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1581629069; x=1584221069; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=5Ckgzd2Kc6e6dD/8Zbk9Fzc2oxXZsOmmp1T1QnFf6W8=; b=LRFA8ZVyL1o0v/2YKG137NO8O7TunwVP3Lp34KjLsSv89ri8ovTWfYyUeQUmwQXf0M6111Q4tsT3WAAjHV0Bgw7jIpnQfN7h1M7u+D9S4naJYcn4Bt4AOFU16aOysyHxHaBiylYwdzOHkcYT8mE487GcX1LRaYnR/YznnVUSzeI= X-Thread-Info: NDI1MC4xMi43NDAwMDAwMDIyNGNmNC5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r3.sg.in.socketlabs.com (r3.sg.in.socketlabs.com [142.0.179.13]) by mxsg2.email-od.com with ESMTP; Thu, 13 Feb 2020 16:24:21 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 13 Feb 2020 16:24:20 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1j2Ly7-0006CZ-Br; Thu, 13 Feb 2020 21:24:19 +0000 Date: Thu, 13 Feb 2020 21:24:19 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: Ottavio Caruso Subject: Re: questions about swap (partition and file) Message-Id: <20200213212419.df7d90e9b81098df7c0d4c38@sohara.org> In-Reply-To: References: <20200211155009.GA9715@bastion.zyxst.net> <20200213143411.GA14144@bastion.zyxst.net> <24133.44304.52029.432558@jerusalem.litteratus.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48JTzd2jkSz4bWw X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=LRFA8ZVy; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.10.freebsd-questions=freebsd.org@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.10.freebsd-questions=freebsd.org@email-od.com X-Spamd-Result: default: False [-1.88 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; FORGED_SENDER_VERP_SRS(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; ENVFROM_VERP(0.00)[]; IP_SCORE(0.11)[ip: (-0.30), ipnet: 142.0.176.0/22(0.60), asn: 7381(0.29), country: US(-0.05)]; FORGED_SENDER(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_CC(0.00)[yahoo.com] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2020 21:24:30 -0000 On Thu, 13 Feb 2020 20:14:50 +0000 Ottavio Caruso via freebsd-questions wrote: > I don't get the point of "fast drives". Applications load in memory. > If you want a fast system, stick more RAM (and this is also a memo to > myself). A small(ish) SSD (say 120GB) is the cheapest boot drive you can get these days (unless you go for second hand drives) and plenty big enough if your bulk storage is coming from a NAS (mine is full of second hand SAS drives) viz: $ df -H / Filesystem Size Used Avail Capacity Mounted on tank/ROOT/default 111G 14G 97G 13% / There's a swap partition on it (2GB) that sees very little activity, with that much spare space and low write rate the wear levelling should keep it going for decades. I'd have used a smaller one, but they were not significantly cheaper, lacked TRIM and were much slower - by now smaller ones are probably also hard to find. -- Steve O'Hara-Smith