News for hackers. Stuff that matters.
Re:Benchmarking Cheap SSDs for Fun, No Profit (Be Warned) by dsr_ on Monday March 27, 2023 @10:17AM (#35326963)
There's no point in defragging an SSD unless the low-level controller is doing it; the controller is always presenting a false picture of the mapping between data addresses and physical location of pages.

There's no good ZFS defragging tool, although the initial send to a new pool will accomplish that. This is just a thing for COW-style filesystems.

Re:Benchmarking Cheap SSDs for Fun, No Profit (Be Warned) by Dylan16807 on Monday March 27, 2023 @01:44PM (#35329813)
> This is just a thing for COW-style filesystems.

It doesn't have to be.

ZFS in particular has an architecture that's very hostile to ever moving things.

BTRFS has a design that's amenable to defragmentation, but the builtin option doesn't work with snapshots and the external programs I've tried are partial and finnicky.