File Fragmentation issue...especially relating to NTFS...

Matt McCutchen hashproduct+rsync at gmail.com
Sun Dec 17 15:51:51 GMT 2006


On 12/2/06, Linda Walsh <rsync at tlinx.org> wrote:
>    If rsync wants to easily encourage less fragmentation on NTFS, I'd
> suggest buffering more information in memory before doing the "write".
> Ideally, it could buffer each file in full before writing it out, but
> large files may not fit in memory.

The posix_fallocate strategy does seem to work, in Rob's setup at
least.  Perhaps you could implement the buffering strategy and run
some tests to see whether it produces fewer fragments than the
posix_fallocate strategy on various filesystems.

Matt


More information about the rsync mailing list