On Sat, October 3, 2009 20:50, Jeff Haferman wrote: > And why does an rsync take so much > longer on these directories when directories that contain hundreds of > gigabytes transfer much faster?
Rsync protocol has to exchange information about each file between client and server, as part of the process of deciding whether to send that file. Clearly there will be many more such exchanges in the directories containing many more files. It therefore appears quite natural to me that, given two directories with the same amount of actual data, the one with more files will take longer to rsync. (The time will ALSO depend on the amount of actual data, of course; given two directories with the same number of files, but one having 10x the data, the one with more data will at least sometimes take longer, particularly if the files differ and the data actually has to be transmitted.) -- David Dyer-Bennet, d...@dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss