From owner-freebsd-questions@freebsd.org Fri Feb 14 03:30:29 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 834F623EC0A for ; Fri, 14 Feb 2020 03:30:29 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic301-20.consmr.mail.ir2.yahoo.com (sonic301-20.consmr.mail.ir2.yahoo.com [77.238.176.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48Jf5w1JY9z407C for ; Fri, 14 Feb 2020 03:30:27 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: ztVNqssVM1lQMXHNQSgES4eMXMaBm3nOGwvWSpdxYG7Z_faTNkQ.Z3va.w8oNDP Mvu0zCB4wBB3NkxoVeAsFTKRfERcgITxi24nnwG3LjfwVX2RWDIVOxkSmB2ihdGjVJ46VVQUrUch 8jFhC9Yrhrwbqj43A2EXuApI7syMBaW7vLlA_OcLLO3RkRcf3u7.6jRYnbenG6PzYIM5InwwCzdu g1dvXBRMaDTv5r_MAsAxYHJQOBJjPh91snu6eUKOtiUhFaa4csvssRqbXSwGh.A6fqfHeQWhHdXq W.DEEZkZyyvv1fPMWO3igH0oO3f2xqdVW7gI8kSKNkn7bh2nZc2FHgNFRv3.QnwxglekLZdU_Usa q621fGjCLAJGSh_AWeOC9MFDZAmc_XhVgjI5ehbdpuPUNs0hTobg1HmE..TexICxkq8izU1vMnC_ mhJBYrzLO.CSRRzlpbZtefv9UpfBx9fbcjXeHc5yn45huG7.6LzaDni6_pYffmYaYtJWN1YoQ6bJ bLsfScAd8g3BcHfiQXiWo0BTO8SnQPF4Z2_Q4IlIxqa.hf8H3eDK2laSCWbLNwt_4OyRvtQZPt9g ZWqOJLb3dsOynn5lmQgdPZzjV_m6zXQiGvWlxWRRJENAyMq9sJG6yi9JtIEKgGDu.J3p3sxKvriW zcxULfEmCpb0oKT27o0qBD1X1f.fRDGGPgSgiu7uCZ.W4WUcdid_kznIx.9l9UeIGVLz_6CHXrYj BhFNQUjLlvO7Cv.q48wYRPnE8Yh9da2x8uNi6Trh5iMoNxA3EjBS_sA1AYXsI8MhYFbQqbch_IZc iJ6usNWMHkWdqNA_mgswHR6pwFntiyOLyMJAz5Td7jp2fN1Ddqg2qTFhhQwvQcJnL2.Tqaby2dc4 9D51iDjrSHbP2UXJpjQjbYVDwwuWBtmYxd38YYnjrySBSFsVPWFuHQXl3efwh2EsARvxV18UGcOf 2S.UMlR9g1.6FZELGcmYhWaU0eCGzZPeOEKbKuf25FxVmfBRSOqFDniWRIY59o3Zj0xEZu4Pn3kG fpeqYZBfbWwaSPNjgiFW7hjmicHq1Ug9avrSD3C5vjXiZDLlLCnmm6_xHCgCHXsCW7OG4HMYjRer olWbIpb4_4iBc0gQU8TTgXNss4vlxxU2AwadOHnfxd5r4Uu6V1PWGzDJX7cFyfSqpt9wCBGZcICS C1UbbeJLuCPVmTMA5owiUkgnZ2ePj.POJSMqdTnUTmUJ2mTtBaenn1T81V6Ru7oEo9aTNyGZUv5O pFgLXouchcxgbLDlzxwu0XsoaqmtUA9.16TNP13I6f.0kODL1hjf_6CaeIv7oG0UebZZVPzpU0L4 Af.z0I35dQFVrZv.JGJHXI9EPUHrHxXkZ_UCqpACjdS48At2JP8QpcrcD.IS9WmVvnONIUEvMnbM b.Wl7dw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ir2.yahoo.com with HTTP; Fri, 14 Feb 2020 03:30:25 +0000 Received: by smtp428.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 44565e34c099bae33bfe3e60905dac2a; Fri, 14 Feb 2020 03:30:24 +0000 (UTC) Date: Fri, 14 Feb 2020 04:30:24 +0100 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: questions about swap (partition and file) Message-ID: <20200214043024.0db2aab0@archlinux> In-Reply-To: References: <20200211155009.GA9715@bastion.zyxst.net> <20200213143411.GA14144@bastion.zyxst.net> X-Mailer: Claws Mail (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48Jf5w1JY9z407C X-Spamd-Bar: - X-Spamd-Result: default: False [-1.21 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.01)[-0.009,0]; R_DKIM_ALLOW(-0.20)[rocketmail.com:s=s2048]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[rocketmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-0.72)[-0.716,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[rocketmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[rocketmail.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[97.176.238.77.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (4.09), ipnet: 77.238.176.0/22(2.17), asn: 34010(1.71), country: GB(-0.08)]; RWL_MAILSPIKE_POSSIBLE(0.00)[97.176.238.77.rep.mailspike.net : 127.0.0.17]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[rocketmail.com]; RCVD_COUNT_TWO(0.00)[2] 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: Fri, 14 Feb 2020 03:30:29 -0000 On Thu, 13 Feb 2020 18:10:07 -0700, @lbutlr wrote: >Swap is written a lot and SSDs can fail faster if they are constantly >being written to. Hi, SSDs are made for read and write access. Treating SSDs with kid gloves is grotesque. Yes, using SSDs does wear out SSDs. However, using HDDs does wear out HDDs and using door locks, does wear out door locks. The internal drives of my PC are SSDs only. The oldest drive is > 3 years old. This might not be very old, but it's a small sized drive and it still works. Small sized drives wear out faster, than drives with a large storage capacity. I'm using five elCheapo Toshiba OCZ Solid State Drives insider of my PC and never experienced an issue. My heavy used iPad 2 is already 8 years old. Around a year I replaced it by an iPad Pro for "heavy" audio productions. However, it still works without failure. What ever the thingy in the iPad 2 is named, "SSD" or not, it suffers from the same write cycle "issue", which actually is no issue at all. In my experiences modern heavy used HDDs at best do last for around 7 years, if parking and releasing heads to often is avoided. Regularly but seldom used backup HDDs probably last way longer, let alone old MiB sized HDDs. While some modern drives do last for 7 or more years, a lot of HDDs fail sooner. It's not that seldom, that a HDD already fails after 2 years, even when the heads very seldom were parked and released. I don't see any reason for treating a SSD different than a HDD, at least not when using it on a daily basis. I don't know if SSDs are reliable when regularly, but seldom used as a backup drive. Regards, Ralf