nvme/nvd - trim seems to be one block a time
Warner Losh
imp at bsdimp.com
Sun Jan 5 17:29:53 UTC 2020
On Sun, Jan 5, 2020, 10:26 AM Wojciech Puchar <wojtek at puchar.net> wrote:
> on NVD devices trim seems to be send one block a time when used with UFS
> this stall whole system when deleting many gigabytes.
>
> 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, and/or use the nda device which does
trim collapsing as well (ufs can only do contiguous ranges, nda does non
continuous as supported in the underlying protocol). Current has even more
fixes to nda.
Warner
FreeBSD puchar.net 11.3-STABLE
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
More information about the freebsd-hackers
mailing list