Re: really slow problem with nvme

From: mike tancsa <mike_at_sentex.net>
Date: Fri, 23 Feb 2024 17:58:07 UTC
On 2/23/2024 12:46 PM, Bjoern A. Zeeb wrote:
> Hi,
>
> this is a Samsung SSD 970 EVO Plus 1TB nvme and gpart and newfs
> were already slow (it took like two hours for newfs).
>
> Here's another example now:
>
> # /usr/bin/time mkdir foo
>         1.82 real         0.00 user         0.00 sys
>
> How does one debug this?
>
Hi Bjoern,

     Can you do a destructive trim(8) to the device first to see if that 
makes a difference ? I had a similar oddly slow (although not as slow as 
your nvme) device that was fixed with a trim

     ---Mike