From owner-freebsd-questions@freebsd.org Wed Oct 14 15:47:57 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 E257843C979 for ; Wed, 14 Oct 2020 15:47:57 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CBGyh5K48z49M5 for ; Wed, 14 Oct 2020 15:47:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.19.154]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MCsgS-1kbYgv254a-008sj0; Wed, 14 Oct 2020 17:47:49 +0200 Date: Wed, 14 Oct 2020 17:47:49 +0200 From: Polytropon To: Ralf Mardorf Cc: freebsd-questions@freebsd.org Subject: Re: A couple of questions about SSDs Message-Id: <20201014174749.6df7572a.freebsd@edvax.de> In-Reply-To: <20201014121442.662e71c4@archlinux> References: <20201014121442.662e71c4@archlinux> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:i+kwQWTjzDJwCT7oLOhEDi1x6Ua5kSNN/um609In8vwwVF2Zj8T K/yg+zGwARk+Od/5EIY8DcIlPyg2ZQ9zgE4XSTzryDoZoso2iMc+1yeBuUJgxfLoGNA+Z8o FodofHLyFIAlb5R8oU9dkYgrXxMWU2aTk+7SvEL4l4d/6AX7GdLNOSX4qfM+ojl60VwcKIy 8FxEUZOO2cH4eo5fYAdxg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:VpaUrB180zY=:D2fFMBSKVCeGflmnSU8cDH pdjadiq1+4Di1lG6PvZrVczqRF3XLVs81q+z9sweifSZhcURZONVFsXqNtlSUQIKm/HjQ/ksi pyoUto+1U1GS/hrjSHKU6GvAWq5bxmxTEcUNslU1m8p8La5luKeYk9UH87bwiwIITFwiewQ9e tX/GRXhUEzgQcickZhMpMfDj54fxT9N6vQpONO5blClmGHUY/qDn7HDmabCsBtHJTiAxsycq0 StMVtgQnMiK7KpIQasjpYbltRDeDLSPdv0OvKpc6e9MRxdGC7BCFRnPLF7Di/X+4gHvpwgw2S i05+3zfc2COJIgZlvqilLKTEFdo+k96/Q/oGnZYRlxUsKVngyvwKkZg6GOBw3+4R+NobV+q9a xVqN+NRvzkHhgWSEW3Jcfl16e5rYiGo9aEwz4wntg/9aeAOHgSRroqcUgIWMf X-Rspamd-Queue-Id: 4CBGyh5K48z49M5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.187) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [0.33 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-0.37)[-0.370]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.19.154:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.86)[-0.863]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.84)[-0.838]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.187:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.126.187:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2020 15:47:57 -0000 On Wed, 14 Oct 2020 12:14:42 +0200, Ralf Mardorf wrote: > I wonder why I need to read on all computer related mailing list the > same questions related to SSDs again and again. > > For what do we get HDDs or SSDs? We get them for using them. However, > there is a very clear answer to your question. Keep the SSD in the > original packaging, never use it, this does reduce wear a lot. It actually does - and you don't have to deal with firmware updates. :-) Well, The primary consideration is: Will the wear due to writing to the SSD have significant impact _before_ or _after_ the SSD, maybe along with the system it is installed in, is due for decommissioning? In other words: Will wear make the SSD unusable before its natural "end of life date"? My guess (and it's really just a guess due to my personal lack of any important data and experience) is that the SSD will work until it is replaced by a bigger one, or the whole system it is installed in will be replaced with a faster one. So there is nothing to worry about. If you _really_ want to worry about something, ask the manufacturer if they made the firmware brick the whole thing when a certain write count is reached so you cannot even _read_ your data anymore. :-) > However, if you decide to use it for read and write operations, you can > handle it in the same way as you handle a HDD, just use the trim command > from time to time. UFS supports this. > SSDs don't break after a year, if you use them. They > last for years. Non of mine ever failed. Probably SSDs suffer from less > wear than HDDs do, time will show us. I'm using HDDs only for backups > and to archive data. Quite similar usage here - different SSDs are in use for a few years now, not a single sign of problems so far. > Handles, light switches, everything wears out. This is the > nature of everyday objects, but all those things last for a reasonable > time, if you use them. As long as the light switch doesn't suddenly shout "I've been used 1500 times now, I'm kaputt, please buy a new one!" everything should be okay within the limits of reality. > SSDs aren't cheap USB sticks, they are made for modern computers that > write and read way more data, than computers did a few years back. Swap > is probably never used, but software sizes, picture and video sizes, > and other data sizes, professional and home used data increased a lot. For the case of using lots of "throwaway files" (i. e. stuff you only need as files during ports builds), you can always use a RAM disk, if your system has enough RAM. And swap space that you don't write to doesn't add any wear. > What exactly makes you think, that SSDs need gentle treatment? It's probably the limit on write cycles, but I'm not sure how this compares to general lifetime calculations compared to regular hard disks... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...