You are not logged in.
When I compare average xfers running my backup script over NFSv4 to the same backup directly to rsync running in deamon mode, speeds are on average 1/2 SLOWER going directly to the rsync in deamon mode. Why?
Option 1
Configuration: Rsync in daemon mode running on the server.
Average xfer speeds: 40 MB/s
$ cat /etc/rsyncd.conf
uid = root
gid = root
use chroot = no
max connections = 4
pid file = /run/rsyncd.pid
read only = false
hosts allow = 10.1.2.101
[large]
path = /mnt/backup
comment = big drive
Command on workstation:
# rsync -avxu --progress --delete-after --exclude "archives/archlinux*.iso" /mnt/data/ backup@aa::large/drive_data/
Option 2
Configuration: Rsync over NFSv4/no daemon at all.
Average xfer speeds: 90 MB/s
Note that NFS is exporting /nfs4exports/data which is mounted to /mnt/aa_backup on the workstation.
Command on workstation:
# rsync -avxu --progress --delete-after --exclude "archives/archlinux*.iso" /mnt/data/ /mnt/aa_backup/drive_data/
Last edited by graysky (2012-10-01 02:10:22)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
What is the server in terms of specs?
Running in daemon mode, the server has to calculate the rolling hash of the files, and transfer the hash to the client for comparison. When you're running it over NFS, the client does all the calculations, the server is just read/writing blocks on disk, rather than having to calculate complex mathematical formulas.
Hence, if your server is somewhat low-spec in CPU/RAM (such as an off-the-shelf NAS box) then it's easy for it to become overloaded.
My best guess anyway.....
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
It's an Intel Atom (Pineview) so yes, ultra low power. Thank you for info on the inner workings of these things. Good know and I think this mystery is solved.
Last edited by graysky (2012-10-01 02:12:38)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline