I don't think there is anything wrong. As previous posters have mentioned, speed changes after buffers backup.
For large file transfers, magnetic disk to different magnetic disk, I get:
. ~175 megabytes per second, which is the disk read rate.
. then the buffers backup, and the rate drops to ~85 to 90 megabytes per second.
For many many small file (1024 bytes) transfers, magnetic disk to different magnetic disk, I get:
. 1 megabyte per second for about 159 files.
. then 500 kilo bytes per second until file 207
. then 333 kilo bytes per second until file 246
. then 250 kilo bytes per second until file 304
. at this point the buffers are fully backup up.
. then 3.26 kilo bytes per second on an exponential decay curve to 0.88 kilo bytes per second by file 40,000.
EDIT: Note calculations done from rsync log file. Example:
Code:
ab00039997.txt
1,024 100% 0.88kB/s 0:00:01 (xfr#39998, to-chk=2/40000)
ab00039998.txt
1,024 100% 0.88kB/s 0:00:01 (xfr#39999, to-chk=1/40000)
ab00039999.txt
1,024 100% 0.88kB/s 0:00:01 (xfr#40000, to-chk=0/40000)
Yet the entire thing took only:
Code:
doug@s19:/media/sda$ time rsync -av --progress /media/sda/ab* /media/sdb > ~/bla5
real 0m1.180s
user 0m0.450s
sys 0m0.930s
So something is wrong with the math.
Bookmarks