[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] [PATCH] Adjust librdiff blocksize for files > 1GB

From: Eric Wheeler
Subject: [rdiff-backup-users] [PATCH] Adjust librdiff blocksize for files > 1GB
Date: Sun, 02 Jan 2011 20:26:12 -0800

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

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

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 Wheeler
eWheeler, Inc.
  dba Global Linux Security

PO Box 14707
Portland, OR 97293

Attachment: 1-blocksize.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]