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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75D9C15ACFB for ; Sun, 16 Apr 2023 15:09:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8643E08C8; Sun, 16 Apr 2023 15:09:12 +0000 (UTC) Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 98EE4E0863 for ; Sun, 16 Apr 2023 15:09:12 +0000 (UTC) Received: by mail-lj1-x229.google.com with SMTP id by8so23723669ljb.13 for ; Sun, 16 Apr 2023 08:09:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681657751; x=1684249751; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=BMTGDMH04jgFSyhNPe1rKGQXGxZhD4VfQvkVvZxv7TE=; b=JFw7oc+22ZY6MkqOEcPTkyQpNwY8oOVxwtf0YZGz9U83hwH2GOKN2F4mNT4hlI8y+/ JbAXUNWCVSoXY8AV/k/inwOngLNSJ0YDwfMguXFSP8uBkXopzZi2Qe3z2fiSekRYzELM tclkNHZkJnAsl02wul9TV0jndcskD3Ibl/1zaI8CvTvIJ7QPhw3p6FaQzEEb2UinSiBt Sck6H2hP/4yxM1aMID5+7UQbRqe/3ofapIgGODaiXU4+fE8KW8kM7ry3+cCLJFd2DDVs q8stZvEHx1fyJWniagY8HnRN6QOEfNdBJ4JpC5NVbGAFtJXRgLrrJwlQ9+eEKWCBW7Mh WhYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681657751; x=1684249751; 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=BMTGDMH04jgFSyhNPe1rKGQXGxZhD4VfQvkVvZxv7TE=; b=jLqNr9j25BnLBsYS7w4t67tzZwNy4c/FRia9kM+zi0QcTX5iv98cOu5+FVPQDZfpbb CYPHde9w9aEMMTMBbSZN2vE4UP978/URD47VgAGRve+75cDxlXk1xueEclsKB/xkYvwy ixCWkYZ4YF9bA7o/5l0441ug0sPqb2b8V5lRfD8AEX6bn4y1MUFiFokR+3p46qb/o7dq XlUDFxSrg2ZA87RwB6Tutz8J/HHuGK0k0XaiktTAzODH5Z7s6PNT6hExUryBX7Qjd4x5 yGCkxp0HTkiBEVDEZmu9b/Slah1d8UTozY7wBNYW2unNtsO0ssKV0haMPXVm1Jn1uf7v +0kg== X-Gm-Message-State: AAQBX9cHRVsBrF9Kp40c/8AVEYb2bQ43aUjgKoUY6t3Ujp3llBz9wyIc rLbtOIQQqrcgp406uJMTs4I74bYdFJXPGn8n4G+y7X71 X-Google-Smtp-Source: AKy350YXDhW9lkDzsyJb4dfrB1+eOQLF7jb8nsu9+FubuWHnQu1cT3bsrR4FRxg3XyXXPpUnx9OW0LCFuUNywdMWLfE= X-Received: by 2002:a2e:9257:0:b0:2a7:9d81:6493 with SMTP id v23-20020a2e9257000000b002a79d816493mr3760848ljg.10.1681657750734; Sun, 16 Apr 2023 08:09:10 -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> <12194979.O9o76ZdvQC@wstn> <19959f07-88a8-f2ee-1523-573f794c9282@iinet.net.au> In-Reply-To: <19959f07-88a8-f2ee-1523-573f794c9282@iinet.net.au> From: Mark Knecht Date: Sun, 16 Apr 2023 08:08:59 -0700 Message-ID: Subject: Re: [gentoo-user] Finally got a SSD drive to put my OS on To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000ddcc2205f97574e5" X-Archives-Salt: d5c21b3c-b7fb-415b-ae50-f62afd833877 X-Archives-Hash: 861b68b5816290dee246ac2617d12640 --000000000000ddcc2205f97574e5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Apr 16, 2023 at 1:44=E2=80=AFAM William Kenworthy wrote: > > > On 16/4/23 15:18, Peter Humphrey wrote: > > On Sunday, 16 April 2023 02:47:00 BST William Kenworthy wrote: > > > >> look into mount options for SSD's (discard option) and "fstrim" for > >> maintenance. (read up on trimmimg - doing a manual trim before the drive > >> reaches full allocation (they delete files, but do not erase them > >> because erasing is time consuming so its an OS controlled operation) o= r > >> auto trimming (which can cause serious pauses at awkward times) can > >> prevent serious performance degradation as it has to erase before > >> writing. I am not sure of the current status but in the early days of > >> SSD's, this was serious concern. > > In short, see https://wiki.gentoo.org/wiki/SSD . :) > > > Excellent, condenses it nicely. > > BillK > > OK Dale, I'm completely wrong, but also 'slightly' right. If you have an SSD or nvme drive installed then fstrim should be installed and run on a regular basis. However it's not 'required'. Your system will still work, but after all blocks on the drive have been used for file storage and later deleted, if they are not written back to zeros then the next time you go to use that block the write will be slower as the write must first write zeros and then your data. fstrim does the write to zeros so that during normal operation you don't wait. I've become so completely used to Kubuntu that I had to read that this is all set up automatically when the system finds an SSD or nvme. In Gentoo land you have to do this yourself. Sorry for any confusion. Time to unsubscribe from this list I guess and leave you all to your beloved distro. Bye, Mark --000000000000ddcc2205f97574e5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Apr 16, 2023 at 1:44=E2=80=AFAM William Ke= nworthy <billk@iinet.net.au>= ; wrote:
>
>
> On 16/4/23 15:18, Peter Humphrey wrote:> > On Sunday, 16 April 2023 02:47:00 BST William Kenworthy wrote:> >
> >> look into mount options for SSD's (discard= option) and "fstrim" for
> >> maintenance. (read up = on trimmimg - doing a manual trim before the drive
> >> reaches= full allocation (they delete files, but do not erase them
> >>= because erasing is time consuming so its an OS controlled operation) or> >> auto trimming (which can cause serious pauses at awkward tim= es) can
> >> prevent serious performance degradation as it has = to erase before
> >> writing.=C2=A0 I am not sure of the curren= t status but in the early days of
> >> SSD's, this was seri= ous concern.
> > In short, see https://wiki.gentoo.org/wiki/SSD . =C2=A0:)
> >
&= gt; Excellent, condenses it nicely.
>
> BillK
>
>

OK Dale, I'm completely wrong, but also 'slig= htly' right.

If you have an SSD or nvme drive = installed then fstrim should be=C2=A0
installed and run on a regu= lar basis. However it's not 'required'.

Your system will still work, but after all blocks on the drive have
been used for file storage and later deleted, if they are not
written back to zeros then the next time you go to use that
block the write will be slower as the write=C2=A0must first write
zeros and then your data.

fstrim does the write = to zeros so that during normal operation
you don't wait.

I've become so completely used to Kubuntu that I h= ad to read
that this is all set up automatically when the system = finds an
SSD or nvme. In Gentoo land you have to do this yourself= .

Sorry for any confusion. Time to unsubscribe fro= m this list
I guess and leave you all to your beloved distro.

Bye,
Mark
--000000000000ddcc2205f97574e5--