From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC16515ACFB for ; Tue, 18 Apr 2023 17:52:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F33AE0894; Tue, 18 Apr 2023 17:52:23 +0000 (UTC) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05DF9E0876 for ; Tue, 18 Apr 2023 17:52:22 +0000 (UTC) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4ec816c9d03so2371959e87.2 for ; Tue, 18 Apr 2023 10:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681840341; x=1684432341; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=tOc1ZV2go5O1GTVi/Q/fZbUaKKRqZKU2ZIooohkQKX4=; b=k6rtJvKVzWLHUI11ffr2vWkpxd88qMp3pNi7LDWiQ6t9+R9AD3j7fUaE0/zXuPREvk 2m98ip2a1caq+0FODQJmbQ9l359D9BUXkaJ4CCMucaQrj5FpME8FS56XMTQkz1DQuYqR pNIIaV6W1eitVVvXUWOE1dVTzmUfJaYhuX70oTh43K6/4MFlrB9U6ABkfx54Mlg3QOL8 VPsYeAVBlB8nOV45m3iMvz+0hcKsJvdzSIOHo4VsdnYbiNcDeD0yIn5EElDaB58D0BTf rDrWTIIKGNJYv+PeY+55NEM8ym7rt8E56tAExrAiBe9MnWjuJoSX9j4pbcYu0MLRSBOB mwfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681840341; x=1684432341; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tOc1ZV2go5O1GTVi/Q/fZbUaKKRqZKU2ZIooohkQKX4=; b=ZvPpmLmA/zziM41HS75/O7Lxk7PQ2CpIFUJtr9XQjM6RadlKJ+jVDmHM3vjjQ4CICb 12Wp7Pq+lfhK+vygS97QtqM5wPPtP6ymyIz4TTToFs8e2ZZ8aZUuHSmkseg9Qtx7qT7X iRHx80YgfIsnHiMrwhfyT1zxqlbt+GmdhvficGLnypX4BaZzuNw2xq4tcjNj66SQAV/O vjJdETyQs6YipOUeYaB+3mvGR1ZdrmV68O2LVuIDU3asLYiY1Sw1VoQ1OVasR0+Jv+ku 3ub/bvHAaW7LZS41xjEzvef5KLL7joZnvLlnv6Zj6xUikZYf4ewUFqB9M+v58mLJebAi L8Aw== X-Gm-Message-State: AAQBX9cKPBKhng/GdpKaJgLJxXEw0/PbBWKI4AWW4fJxYpQYNLxjguxZ hXWphdfxr8vlsgd2LWqjkryegX4PDXFNoSgQIq2/dqN0rsM= X-Google-Smtp-Source: AKy350ZFznzAaz0xm5eg6JYB2TXa1e/GRQX5mn8dSsAacbF/rWpx2yLO1H1uE5mk74Wrwae+BJmN0mhIwYd6tHvycvk= X-Received: by 2002:a19:f80a:0:b0:4ec:a112:4394 with SMTP id a10-20020a19f80a000000b004eca1124394mr3597663lff.5.1681840340961; Tue, 18 Apr 2023 10:52:20 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <3a8a143d-38f0-b7ea-4aa1-10c0b3a2a1e0@gmail.com> In-Reply-To: From: Mark Knecht Date: Tue, 18 Apr 2023 10:52:09 -0700 Message-ID: Subject: Re: [gentoo-user] Re: Finally got a SSD drive to put my OS on To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000178f2a05f99ff814" X-Archives-Salt: 1ad06c0a-90c3-4239-9d73-674f316a12d9 X-Archives-Hash: e0ae975c0e43e47fbecf548d79190625 --000000000000178f2a05f99ff814 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 18, 2023 at 7:53=E2=80=AFAM Nikos Chantziaras wrote: > > On 16/04/2023 01:47, Dale wrote: > > Anything else that makes these special? Any tips or tricks? > > Only three things. > > 1. Make sure the fstrim service is active (should run every week by > default, at least with systemd, "systemctl enable fstrim.timer".) > > 2. Don't use the "discard" mount option. > > 3. Use smartctl to keep track of TBW. > > People are always mentioning performance, but it's not the important > factor for me. The more important factor is longevity. You want your > storage device to last as long as possible, and fstrim helps, discard hurts. > > With "smartctl -x /dev/sda" (or whatever device your SSD is in /dev) pay > attention to the "Data Units Written" field. Your 500GB 870 Evo has a > TBW of 300TBW. That's "terabytes written". This is the manufacturer's > "guarantee" that the device won't fail prior to writing that many > terabytes to it. When you reach that, it doesn't mean it will fail, but > it does mean you might want to start thinking of replacing it with a new > one just in case, and then keep using it as a secondary drive. > > If you use KDE, you can also view that SMART data in the "SMART Status" > UI (just type "SMART status" in the KDE application launcher.) > Add to that list that Samsung only warranties the drive for 5 years no matter how much or how little you use it. Again, it doesn't mean it will die in 5 years just as it doesn't mean it will die if it has had more than 300TBW. However it _might_ mean that data written to the drive and never touched again may be gone in 5 years. Non-volatile memory doesn't hold it's charge forever, just as magnetic disk drives and magnetic tape will eventually lose their data. On all of my systems here at home, looking at the TBW values, my drives will go out of warranty at 5 years long before I'll get anywhere near the TBW spec. However I run stable, long term distros that don't update often and mostly use larger data files. --000000000000178f2a05f99ff814 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Apr 18, 2023 at 7:53=E2=80=AFAM Nikos Chan= tziaras <realnc@gmail.com> wr= ote:
>
> On 16/04/2023 01:47, Dale wrote:
> > Anything= else that makes these special?=C2=A0 Any tips or tricks?
>
> O= nly three things.
>
> 1. Make sure the fstrim service is active= (should run every week by
> default, at least with systemd, "sy= stemctl enable fstrim.timer".)
>
> 2. Don't use the &q= uot;discard" mount option.
>
> 3. Use smartctl to keep tra= ck of TBW.
>
> People are always mentioning performance, but it= 's not the important
> factor for me. The more important factor i= s longevity. You want your
> storage device to last as long as possib= le, and fstrim helps, discard hurts.
>
> With "smartctl -x= /dev/sda" (or whatever device your SSD is in /dev) pay
> attent= ion to the "Data Units Written" field. Your 500GB 870 Evo has a> TBW of 300TBW. That's "terabytes written". This is the= manufacturer's
> "guarantee" that the device won't= fail prior to writing that many
> terabytes to it. When you reach th= at, it doesn't mean it will fail, but
> it does mean you might wa= nt to start thinking of replacing it with a new
> one just in case, a= nd then keep using it as a secondary drive.
>
> If you use KDE,= you can also view that SMART data in the "SMART Status"
> = UI (just type "SMART status" in the KDE application launcher.)>

Add to that list that Samsung only warranties = the drive for 5 years
no matter how much or how little you use it= . Again, it doesn't mean=C2=A0
it will die in 5 years just as= it doesn't mean it will die if it has had=C2=A0
more than 30= 0TBW. However it _might_ mean that data written
to the drive and = never touched again may be gone in 5 years.

Non-vo= latile memory doesn't hold it's charge forever, just as=C2=A0
=
magnetic disk drives and magnetic tape will eventually lose their
data.=C2=A0

On all of my systems here at hom= e, looking at the TBW values, my=C2=A0
drives will go out of warr= anty at 5 years long before I'll get anywhere=C2=A0=C2=A0
nea= r the TBW spec. However I run stable, long term distros that don't=C2= =A0
update often and mostly use larger data files.=C2=A0




--000000000000178f2a05f99ff814--