Albert Chin wrote:

Why can't the NFS performance match that of SSH?

One big reason is that the sending CPU has to do all the comparisons to
compute the list of files to be sent - it has to fetch the attributes
from both local and remote and compare timestamps.  With ssh, local
processes at each end do lstat() calls in parallel and chatter about
the timestamps, and the lstat() calls are much cheaper.  I would wonder
how long the attr-chatter takes in your two cases before bulk data
starts to be sent - deducting that should reduce the imbalance you're
seeing.  If rsync were more multi-threaded and could manage multiple
lstat() calls in parallel NFS would be closer.

Rob T
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to