Howto minimize fragmentation

  1. if you’re literally using just rsync–not some wrapper for it–a single rsync command is a single process which only writes one file at a time, once it begins actually transferring data.

  2. there are no sync writes in this workload, so faffing about with a LOG device, with sync=disabled, etc will not accomplish anything.

  3. there’s only a single process writing, so messing about with TXG timeouts and such isn’t going to have any effect either. as long as there is only a single process writing to the pool, one file at a time, the data is going to go in the same place and in the same order regardless of what you do in terms of tuning.

1 Like