From 645cfaa681461c4f684daea3916fb8a34c8898e9 Mon Sep 17 00:00:00 2001 From: Logan007 Date: Thu, 10 Sep 2020 13:53:47 +0545 Subject: [PATCH] updated Crypto.md and added information to Building.md --- doc/Building.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/Building.md b/doc/Building.md index 026776d..f6ce979 100644 --- a/doc/Building.md +++ b/doc/Building.md @@ -123,4 +123,16 @@ which then will include OpenSSL 1.0 or 1.1 if found on the system. This can be c `./configure --with-openssl CFLAGS="-O3 -march=native"` -Please do no forget to `make clean` after (re-)configuration and before building (again) using `make`. \ No newline at end of file +Please do no forget to `make clean` after (re-)configuration and before building (again) using `make`. + +## ZSTD Compression Support + +In addition to the built-in LZO1x for payload compression (`-z1` at the edge's commandline), n2n optionally supports [ZSTD](https://github.com/facebook/zstd). As of 2020, it is considered cutting edge and [praised](https://en.wikipedia.org/wiki/Zstandard) for reaching the currently technologically possible Pareto frontier in terms of CPU power versus compression ratio. ZSTD support can be configured using + +`./configure -- with-zstd` + +which then will include ZSTD if found on the system. It will be available via `-z2` at the edges. Of course, it can be combined with the other features mentioned above: + +`./configure --with-openssl --with-zstd CFLAGS="-O3 -march=native"` + +Again, please do no forget to `make clean` after (re-)configuration and before building (again) using `make` – can't reiterate often enough.