Rsync order of maginitude slower with twice as large directory

Gerben Wierda Gerben.Wierda at rna.nl
Thu Sep 21 05:22:30 GMT 2006


On Sep 20, 2006, at 23:51, Wojtek.Pilorz wrote:

> Check swap usage during rsync as well as rsync memory usage; perhaps 
> rsync
> dataset no longer fits into core, so swap slows it all down.

I have checked this, but that is not the problem.

What I did notice is something else. Part of a smaller tree I am 
syncing also has moved o being from a svn repository. Suddenly this one 
also slows down enormously.

Looking on the system I see 2 rsync processes. It also happens when 
rsyncing 1 file:

> /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync --eahfs -e ssh 
> -avu  --progress \
>         gerben at hedwig:Library/Safari/Bookmarks.plist 
> /Users/gerben/Library/Safari/Bookmarks.plist
> receiving file list ...
> 1 file to consider
>
> wrote 16 bytes  read 111 bytes  28.22 bytes/sec
> total size is 35075  speedup is 276.18

And it hangs. PS shows:

   501  3847  3831   0  31  0    97800   5004 -      S+    p0    0:00.14 
/usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync --eahfs -e ssh 
-avu --progress gerben at mail.rna.nl:Library/Safari/Bookmarks.plist 
/Users/gerben/Library/Safari/Bookmarks.plist
   501  3860  3847   0  31  0    97864   1984 -      R+    p0    1:46.07 
/usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync --eahfs -e ssh 
-avu --progress gerben at mail.rna.nl:Library/Safari/Bookmarks.plist 
/Users/gerben/Library/Safari/Bookmarks.plist

97864 is taking up 100% CPU almost.

G



More information about the rsync mailing list