dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 91baa036ca3e412aca7fa92d30f7ccf3c1546cd2
parent e2df9c742065bd99e3d5580ff68d456c4e4e1388
Author: sin <sin@2f30.org>
Date:   Mon, 18 Feb 2019 16:13:26 +0000

Tweak params

Diffstat:
Mdedup.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dedup.c b/dedup.c @@ -17,9 +17,9 @@ #define STOREF ".store" #define CACHEF ".cache" -#define BLKSIZE (1 * 1024 * 1024) -#define WINSIZE 4095 -#define HASHMSK ((1ul << 21) - 1) +#define BLKSIZE 4096 +#define WINSIZE 511 +#define HASHMSK ((1ul << 10) - 1) #define MSGSIZE 256 #define MDSIZE SHA256_DIGEST_LENGTH