Hi all. I'm still poking around trying to improve performance on my FreeBSD box (see my OS tuning optimizations for FreeBSD posted to the users list). Looking at PoolWrite.pm it struck me that it should be possible to skip the read step all together for files less than 256K - if we have all of the file and the MD5 matches there is no need to read it from disk and compare it right? (perhaps a 1% compare in the same ways a rsync?) Except that I need a way to detect the case where a bigger files 1st and last (or 8th) block are the same as my short file - can anybody suggest an easy way to do that without opening and reading the file (which is what I'm trying to avoid) - with no compression I can check the length but compressed is more complicated ....
Am I missing something? If not I'll see if I can get some time this weekend to path PoolWrite.pm and see how much of a difference it really makes. John ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ BackupPC-devel mailing list BackupPC-devel@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/