Hi guys
Problem: Centos 7 - rsyncing files via standard NTFS3G from Centos 7 repo very slow from SATA EXT4 disc to external NTFS HDD connected over USB.
Something strange observed, looking for any assistance / opinions.
Rsyncing is EXTREMELY slow got millions of small files (often no larger than about 300KB) to copy via the above. It is taking literally days to copy 15GB from the EXT4 SATA disc to the external NTFS HDD over USB. No errors or IO problems reported in /var/log/messages - and I got over 100 million files to copy...
Strange observation: If the rsync job is left alone, it copies around 4 to 6 files (all under 300KB) in about a second.
I'm seeing CRAZY load averages on the system like 1500 in top but the system is very responsive at the terminal so the load avg seems completely in error. The idle CPU count is over 74%, IO wait is at 28%. All spinning discs, both the SATA and externally mounted USB HDD.
Rsync shows data rates of about max 1.6MB / sec for larger files it is copying. The moment an ls -l fires (see below) it jumps to 17 and sometimes 20MB /sec.
HOWEVER
If I do this in another terminal window in the folder being rsynced on the external NTFS USB mounted disc
e. g. doing an ls -l every five seconds, if I observe the running rsync job that is copying to the NTFS disc I can literally SEE the copy in rsync accelerating for the time the ls -l runs.
E. g. in jumps and starts (each time watch fires an ls -l) the copy MOVES like I'm doing ext4 -> rsync -> USB ext4 HDD.
Why is doing an ls -l on the USB NTFS HDD -accelerating- rsync, and rsync then slows down the moment the ls -l finishes?
I'd have thought it would be SLOWER - more stuff is happening on the USB mounted NTFS disc... but what I'm observing is the polar opposite.
Why?
Any other advice to make NTFS3G write faster to the external USB?
On the same machine with EXT4 USB HDDs mounted in the same USB port physically, it is literally 1000s of times faster to write over USB to the EXT4 disc.
Thx!