LWN.net Logo

A look at rsync performance

A look at rsync performance

Posted Aug 19, 2010 2:33 UTC (Thu) by joey (subscriber, #328)
In reply to: A look at rsync performance by joey
Parent article: A look at rsync performance

I've written a simple rsync accellerator script, local-rsync:

http://git.kitenet.net/?p=joey/home.git;a=blob_plain;f=bi...

It takes the same options as rsync, except the src and dest directories
must be specified as the first 2 parameters. And neither directory can be remote.

It operates by simply using rsync --dry-run to determine which files need to be updated, and then copying them to the dest directory using cp. rsync is run at the end to handle everything else.

Testing on my laptop, rsync takes 19 seconds to sync a directory containing a 260 mb file. local-rsync takes 8 seconds. Roughly in line with the benchmarks in this article.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds