Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2023 15:33:59 +0000
From:      void <void@f-m.fm>
To:        freebsd-fs@freebsd.org
Subject:   Re: periodic trim for ufs2 ssds
Message-ID:  <ZXHl537wESTyz4wE@int21h>
In-Reply-To: <1001525509.209637.1701962737772@localhost>
References:  <ZXHTAIPnrEOq4iaV@int21h> <CANCZdfoWixZy9uPeOimd%2BeTSOmaUT%2B5mbfFC0rynriXzHJ3Bmg@mail.gmail.com> <ZXHZbxCAuVJtKVgo@int21h> <66097626.208187.1701962504337@localhost> <1001525509.209637.1701962737772@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 07, 2023 at 04:25:37PM +0100, Ronald Klop wrote:
>>A tool like "gstat -d" will show columns for deletion which means trim.
>>
>>Regards,
>>Ronald.
>This can give you some info too.
>
>$ sysctl -a | grep trim
><118>Creating and/or trimming log files.
>kern.cam.da.1.trim_ticks: 0
>kern.cam.da.1.trim_goal: 0
>kern.cam.da.1.trim_lbas: 0
>kern.cam.da.1.trim_ranges: 0
>kern.cam.da.1.trim_count: 0
>kern.cam.da.0.trim_ticks: 0
>kern.cam.da.0.trim_goal: 0
>kern.cam.da.0.trim_lbas: 75835864
>kern.cam.da.0.trim_ranges: 62293
>kern.cam.da.0.trim_count: 57020

thanks for both of those suggestions
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZXHl537wESTyz4wE>