rsync compression (-z) and timestamp
David de Lama
david.delama at web.de
Thu Jan 29 08:43:30 GMT 2009
>
> But the strange thing with the timestamps is still disturbing me.
> I deleted the cache as Sven told me with a bash file:
>
> sync
> echo 3 > /proc/sys/vm/drop_caches
Did you do this between EVERY step below?
> After creating a file of 1GB I copy it with the standard rsync command.
> Then I made "touch -t 200901261330 test.xyz" and run this command:
> rsync -av --bwlimit=10000 --stats --progress --delete 192.168.222.82:"/home/test" /backup/rsync0
> It takes about 80sec.
> Then I made "touch test.xyz" and run the rsync command with forced md5:
> rsync -acv --bwlimit=10000 --stats --progress --delete 192.168.222.82:"/home/test" /backup/rsync0
> Now it takes only about 45sec.
Create the file, flush the cache.
Copy it with rsync, flush the cache.
touch the file, flush the cache.
etc.
----------------------------------------------------------------
YES, the same results! The copy command takes nearly twice as long as the -c command!:(
I can't explain it!!!
With the copy command I get following result:
================================
receiving incremental file list
test/test.xyz
1048576000 100% 15.86MB/s 0:01:03 (xfer#1, to-check=0/2)
Number of files: 2
Number of files transferred: 1
Total file size: 1048576000 bytes
Total transferred file size: 1048576000 bytes
Literal data: 0 bytes
Matched data: 1048576000 bytes
File list size: 45
File list generation time: 0.013 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 226747
Total bytes received: 129657
sent 226747 bytes received 129657 bytes 3581.95 bytes/sec
total size is 1048576000 speedup is 2942.10
And with the -c command:
==================
receiving incremental file list
Number of files: 2
Number of files transferred: 0
Total file size: 1048576000 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 61
File list generation time: 0.009 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 15
Total bytes received: 85
sent 15 bytes received 85 bytes 1.77 bytes/sec
total size is 1048576000 speedup is 10485760.00
A question:
In the copy command above, I get after receiving the incremental file list a transfer rate of 15.86MB/s.
Is this the speed testing the checksums? Because I set the bwlimit to 10000. Or am I wrong?
_______________________________________________________________________
NUR NOCH BIS 31.01.! WEB.DE FreeDSL - Telefonanschluss + DSL
für nur 16,37 EURO/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K13805B7069a
More information about the rsync
mailing list