Date: Sun, 5 Jan 2020 13:21:57 -0600 From: Warner Losh <imp@bsdimp.com> To: Wojciech Puchar <wojtek@puchar.net> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: nvme/nvd - trim seems to be one block a time Message-ID: <CANCZdfr%2B%2BbS3AF-N1OT00nNVfWijo195v%2B3Ub5SVQqEtSD5Ryg@mail.gmail.com> In-Reply-To: <alpine.BSF.2.20.2001052010220.16810@puchar.net> References: <alpine.BSF.2.20.2001051824200.52104@puchar.net> <CANCZdfpnZvcD%2B3K4Tvfb3to1xkNWUB4eiJsDnad95u31cqNJzg@mail.gmail.com> <alpine.BSF.2.20.2001052010220.16810@puchar.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 5, 2020, 12:11 PM Wojciech Puchar <wojtek@puchar.net> wrote: > > > > what am i doing wrong? > > > > > > That's what it does. Upgrade to 12 and you can use the trim collapsing > code in UFS to reduce the number of trims, > so there is a final reason to upgrade. > i will - after using it on my laptop for some time. > > For now i just disabled trim for this 2 UFS partitions. Not a problem > really as it's just 1/8 of SSD space, the rest are virtual machines that > do trim properly or unused space. > NDA is easy to back port to 11, I think. The UFS trim collapsing is a bit harder, but doable. If you hit big issues with the upgrade, there may be other options. but try the upgrade first. Warner >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr%2B%2BbS3AF-N1OT00nNVfWijo195v%2B3Ub5SVQqEtSD5Ryg>