Skip to main content

Compression

Tuxera Fusion File Share supports transparent compression. The ability to compress files inline dur ing transfer can significantly reduce both bandwidth and transfer time. You can expect and network bandwidth savings between 20–70% and transfer speed-ups between 30–300% depending on the data pattern.

Compression algorithms enabled for SMB 3.1.1. This option accepts a comma-separated list of supported algorithms defined below:

  • LZ77

If SMB 3.1.1 dialect is not enabled with ‘dialects’ or ‘dialect_max’ option, this option will be ignored. If this option is not configured, SMB 3.1.1 compression will be disabled. This option will not accept an empty list or any algorithms that are not defined above.

Example:

compression_algorithms = LZ77

Compression Threads

You may control the number of threads available for compression and decompression operations with this option. If SMB 3.1.1 compression is not enabled with ‘compression_algorithms’ option, this option is ignored. This option will accept only non-negative integer values. Configuring with value ‘0’ will fall back to default number of threads.

Default: 1.

Example:

compression_threads = 10

Compression Threshold

You may set minimum message size from which the server will start compressing responses to SMB client. The server will only attempt to compress messages that have a size greater than or equal to the value set in this configuration option. Messages that have a size less than this value will bypass the compression altogether.

If SMB 3.1.1 compression is not enabled with ‘compression_algorithms’ option, this option has no effect. This option accepts only non-negative integer values. Configuring with value ‘0’ will result in server attempting to compress all messages, if applicable.

Default: 4096 (bytes)

Example:

compression_threshold = 4096