diff options
author | Martin Pool <mbp@samba.org> | 2002-04-08 08:39:03 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-04-08 08:39:03 +0000 |
commit | bd0ad74f4b2e517996fa681b807d5bc660e00ba4 (patch) | |
tree | 8514a32c2ef141aba37a237a311383d9ab9a7579 /TODO | |
parent | 79f671cc7c87162bcd6822b3bcd351858ec4fe81 (diff) | |
download | rsync-bd0ad74f4b2e517996fa681b807d5bc660e00ba4.tar.gz rsync-bd0ad74f4b2e517996fa681b807d5bc660e00ba4.tar.bz2 rsync-bd0ad74f4b2e517996fa681b807d5bc660e00ba4.zip |
Notes on MD4 performance. This quite unnecessarily takes up 90% of
CPU on a local transfer, without achieving anything useful.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -451,6 +451,30 @@ Check "refuse options works" Was this broken when we changed to popt? +PERFORMANCE ---------------------------------------------------------- + +MD4 file_sum + + If we're doing a local transfer, or using -W, then perhaps don't + send the file checksum. If we're doing a local transfer, then + calculating MD4 checksums uses 90% of CPU and is unlikely to be + useful. + + Indeed for transfers over zlib or ssh we can also rely on the + transport to have quite strong protection against corruption. + + Perhaps we should have an option to disable this, analogous to + --whole-file, although it would default to disabled. The file + checksum takes up a definite space in the protocol -- we can either + set it to 0, or perhaps just leave it out. + +MD4 + + Perhaps borrow an assembler MD4 from someone? + + Make sure we call MD4 with properly-sized blocks whenever possible + to avoid copying into the residue region? + String area code Test whether this is actually faster than just using malloc(). If |