News for hackers. Stuff that matters.
Re:4x faster network file sync with rclone (vs rsync) (2025) by lelandbatey on Monday February 02, 2026 @02:23PM (#46860050)
It's typically a disk-latency thing, as just stat-ing the many files in a directory can have significant latency implications (especially on spinning HDDs) vs opening a single file (the tar) and read-()ing that one file in memory before writing to the network.

If copying a folder with many files is slower than tarring that folder and the moving the tar (but not counting the untar) then disk latency is your bottleneck.

Re:4x faster network file sync with rclone (vs rsync) (2025) by ahartmetz on Monday February 02, 2026 @04:07PM (#46861551)
Not useful very often, but fast and kind of cool: You can also just netcat the whole block device if you wanted a full filesystem copy anyway. Optionally zero all empty space before using a tool like zerofree and use on-the-fly compression / decompression with lz4 or lzo. Of course, none of the block devices should be mounted, though you could probably get away with a source that's mounted read-only.

dd is not a magic tool that can deal with block devices while others can't. You can just cp myLinuxInstallDisk.iso to /dev/myUsbDrive, too.

Re:4x faster network file sync with rclone (vs rsync) (2025) by spockz on Monday February 02, 2026 @05:08PM (#46862465)
Okay. In this case the whole operation is faster end to end. That includes the time it takes to tar and untar. Maybe those programs do something more efficient in disk access than scp and rsync?