[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] ssh speed problems
From: |
Andy Wettstein |
Subject: |
Re: [rdiff-backup-users] ssh speed problems |
Date: |
Thu, 26 Aug 2004 10:04:10 -0500 |
User-agent: |
Mutt/1.4.1i |
Ok
I combined all suggestions and upgraded OpenSSH to 3.9.1
(openssh-portable port on FreeBSD). I do the ssh to localhost, so
operating systems are the same and changed the cipher. I also backup
a local disk, now. The results are better, but still not fast.
(zebedee is a FreeBSD 5.2.1 on a xeon 2.4Ghz)
My .ssh/config looks like this:
host primary-backup
hostname 127.0.0.1
compression no
ciphers arcfour
protocol 2
address@hidden /tmp >time rdiff-backup --ssh-no-compression
primary-backup::/tmp/ajw /tmp/ajw-backup
Enter passphrase for key '/home/admin/ajw/.ssh/id_dsa':
real 4m14.582s
user 0m8.124s
sys 0m5.351s
rsync:
address@hidden /tmp >time rsync -ar primary-backup:/tmp/ajw/ /tmp/ajw-backup/
Enter passphrase for key '/home/admin/ajw/.ssh/id_dsa':
real 0m35.896s
user 0m5.500s
sys 0m3.445s
tar through ssh:
address@hidden /tmp >time ssh primary-backup "tar -cf - /tmp/ajw" > ajw.tar
Enter passphrase for key '/home/admin/ajw/.ssh/id_dsa':
real 0m21.646s
user 0m4.033s
sys 0m1.444s
These are the results on the NFS server running Tru64 (same .ssh/config):
address@hidden /tmp >time rdiff-backup --ssh-no-compression
primary-backup::/export/home/admin/ajw /tmp/ajw-backup
Enter passphrase for key '/home/admin/ajw/.ssh/id_dsa':
real 1m19.408s
user 0m20.694s
sys 0m13.173s
address@hidden /tmp >time rsync -ar primary-backup:/export/home/admin/ajw/
/tmp/ajw-backup/
Enter passphrase for key '/home/admin/ajw/.ssh/id_dsa':
real 0m39.735s
user 0m10.303s
sys 0m7.015s