Syncrify » Knowledge base

Document information

Document ID: 1904
Subject: Changing default chunk size
Creation date: 11/22/11 8:50 AM
Last modified on: 3/24/12 6:37 AM



Resizing chunk files in Syncrify

File comparison in Syncrify is done in 3 stages:
  1. Matching size and date of the file on both ends
  2. Matching MD5 checksum of the file
  3. Matching blocks
Block matching (Stage 3) occurs if a match is not found using the first two methods. This is the most time consuming stage. To reduce this time, Syncrify splits a large file into smaller chunks of 1TB * each. For example, the original file is 10TB, Syncrify will try to split it up in 10 files of 1TB each. Once these files are split, MD5 checksum is computed to determine the chunks that match, hence avoiding block matching on the entire file.

The chunk size is set to 1TB* by default and is configurable. Following steps demonstrate how to configure this value:

* Prior to v3.1 the default chunk size was 8GB

Microsoft Windows

  • Locate SyncrifyClient.lax file in C:\Program Files\SyncrifyClient folder.
  • Open this file in any editor
  • Search for lax.nl.java.option.additional . If this line is not found, add a new line that reads:

    lax.nl.java.option.additional=-Dmax.file.part=107374182400

  • If the line already existing, append following towards the end.

    -Dmax.file.part=107374182400

  • This sets the chunk size to 100GB. (107374182400 is the number of bytes in 100GB)
  • Save the file

Linux

Specify a -D parameter as a command line argument.
java -Dmax.file.part=107374182400 -jar SyncrifyClient.jar
This will set the chunk size to 100GB



User comments

Posted by charles on 8/2/16 6:02 AM

Does the size of the chunk speed up the backup process? For example if you are backing up smaller files (10GB), is it better to reduce the chunk file size from 1TB to 1 GB?


Add a comment to this document

Do you have a helpful tip related to this document that you'd like to share with other users?

Important: This area is reserved for useful tips. Therefore, do not post any questions here. Instead, use our public forums to post questions.

Navigation

Social Media

Powered by 10MinutesWeb.com