“When very large files are written … they can exceed the capacity of the SLC cache, and write speed then collapses…”

Link. “For best performance, SATA SSDs should be avoided, and NVMe used instead. NVMe is standard for USB 3.2 Gen 2 10 Gb/s, USB4 and Thunderbolt SSDs, which should all Trim correctly by default.”