nvme/nvd - trim seems to be one block a time

Warner Losh imp at bsdimp.com
Sun Jan 5 19:22:16 UTC 2020


On Sun, Jan 5, 2020, 12:11 PM Wojciech Puchar <wojtek at 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

>


More information about the freebsd-hackers mailing list