Best MergerFS Options for Rsync #1287
-
All my new HDDs have been delivered as a result of Black Friday sales, so I'm starting the process of swapping new and old HDDs. Using the documentation found here: Backup & Recovery
If I use rsync directly between disks, I get ~ 150MB/s. If I rsync from disk to temp pool, I get about half the speed. Not a huge deal, just curious if there's an optimal set of options to use when setting up the temporary pool to maximize throughput. Figured I didn't need the mmap support for this process since it's just file copies. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I'll have to look over the arguments and see how they impact mergerfs. What kernel version are you running because that could impact things. I've seen situations where a truncate gets converted into lots of sparse seek and writes which harms file growth. Could also be some xattr thing. Those both increase the number of requests and given the sequential and blocking nature of the transfer slow things down. But IIRC that behavior can differ based on filesystem and kernel. |
Beta Was this translation helpful? Give feedback.
It it is
-S
Remove that. It causes rsync to write 1KB rather than 256KB chunks of data and that murders perf. Even if you enable writeback caching it doesn't help much. In fact... I'm surprised it only cut your speeds in half. My test setup went from >150MB/s to less than 5MB/s.