[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rsync
Subject:    Re: File fragmentation
From:       Wayne Davison <wayned () samba ! org>
Date:       2006-08-26 16:16:08
Message-ID: 20060826161608.GA7546 () blorf ! net
[Download RAW message or body]

On Fri, Aug 25, 2006 at 08:15:24PM -0400, Matt McCutchen wrote:
> So rsync's configure script should check for posix_fallocate, and the
> receiver should call it just after opening each received file.

I'm wondering if this will slow down rsync.  Since the function changes
the size of the file before rsync writes out the data, does this result
in extra disk I/O, especially for large files?  We'd probably need to
test both Windows systems and Linux/unix systems separately and possibly
conditionalize the code (it it does not slow things down somewhere) or
make it a configure (command-line?) option (if someone wants to pay the
price for reduced fragmentation).

..wayne..
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic