Hello all,
At the expensive of slightly increased diff blocks, I propose we align
the librsync blocksize to be RAID-stripe-size friendly.
Currently, rdiff-backup uses a librsync blocksize of "16-byte aligned
square_root(file_length)".
For large files, square_root returns values that are not condusive to
RAID stripe sizes. For example, a 5GB file would have a block size of
73264.
The attached patch forces the librsync blocksize to multiples of
Globals.blocksize (which is currently 128k) for files > 1GB.
Please let me know what you think, I'm open to comments and suggestions.
-Eric
--
Eric Wheeler
President
eWheeler, Inc.
dba Global Linux Security
www.GlobalLinuxSecurity.pro
503-330-4277
PO Box 14707
Portland, OR 97293
_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
