rsync speedup - how ?
daniel_li at usish.com
Fri Aug 7 18:14:02 MDT 2009
On Fri, 2009-08-07 at 18:44 +0200, devzero at web.de wrote:
> > devzero at web.de wrote:
> > > so, instead of 500M i would transfer 100GB over the network.
> > > that`s no option.
> > I don't see how you came up with such numbers.
> > If files change completely then I don't see why
> > you would transfer more (or less) over the network.
> > The difference that I'm thinking of is that
> > by not using the rsync algorithm then you're
> > substantially reducing the number of disk I/Os.
> let me explain: all files are HUGE datafiles and they are of constant
> they are harddisk-images and the contents being changed inside, i.e.
> specific blocks in the files being accessed and rewritten.
> so, the question is:
> is rsync rolling checksum algorithm the perfect (i.e. fastest)
> algorithm to match
> changed blocks at fixed locations between source and destination
> files ?
> i`m not sure because i have no in depth knowledge of the mathematical
> in rsync algorithm. i assume: no - but it`s only a guess...
I really don't think it's a good idea to sync large data files in use,
which is modified frequently, e.g. SQL database, VMware image file.
As rsync do NOT have the algorithm to keep those frequently modified
data file sync with the source file. And this will course data file
If I'm wrong, please correct me. Thanks.
More information about the rsync