Hello.
In the past few days, I have been struggling to find out why a rsync task that was running fine in 7-8 minutes started behaving strange and increased duration to more than 3 hours.
Context:
- NAS with gigabit ethernet connection and OMV 8 (latest version of all packages)
- Desktop with gigabit connection and a shared folder
- mount the desktop shared folder in a specific location on NAS
- rsync a specific folder containing all kinds of files from one of the locations on NAS to the desktop shared folder (mount point)
NOTE: there are more than 500.000 files: videos, photos, documents, etc. ranging in size from 0 bytes to 10 GB, but most of the files do not get updated, there are new files are created and from time to time, files smaller than 10 MB get updated.
with version 3.4.x, the sync duration was 7-8 minutes
after upgrading a few days ago to 3.5.0, this task duration increased to more than 3 hours
since this is an old desktop (core 2 quad / DDR2), I blamed immediately the desktop and started to investigate it:
done some speed tests and some benchmarks on components, all seemed to work as they should, but considering the age of the desktop, the results were as expected:
- speed test (on ookla) - 780 mbps on download and upload
- copy from NAS to desktop and from desktop to NAS of large files: 120 MB/s (initiated from both, desktop and NAS)
- copy between internal HDDs of large files, 180 MB/s
- memory tests did not show any problem
- cpu did not overheat at all during transfers (never went over 60 C even during CPU benchmarks)
since desktop was showing no degradation results, started investigating what changed on NAS.
- ckecked the list of recently upgraded packages and found kernel and rsync upgrades
- booted to older kernel (7.1.8-1~bpo13+1) did not solve the issue
- downgraded rsync from 3.5.0+ds1-0+deb13u1 to 3.4.1+ds1-5+deb13u4 and this solved the issue.
If there is someone else that observes a speed downgrade when running rsync tasks and wants to fix it, either install 3.5.1 (that theoretically contains the fix) or downgrade to 3.4.1:
Hope this helps someone.