Index: docs/release-notes/1.10.html =================================================================== --- docs/release-notes/1.10.html (revision 1825639) +++ docs/release-notes/1.10.html (working copy) @@ -136,7 +136,7 @@ and what impact these changes may have.
LZ4 compression is now used by default for the on-disk data in repositories -with filesystem format 8 (see below).
+with filesystem format 8. Also, Subversion 1.10 adds support for automatic +negotiation and use of LZ4 compression over the wire for http:// and svn:// +connections when it is supported by both endpoints.Note: this does not apply to the pre-release Subversion 1.10.0-alpha3 @@ -559,7 +561,7 @@ format number of a repository.)
Deltas transferred between Subversion 1.10 clients and servers may be +compressed with LZ4. The actual choice of the compression algorithm depends +on the used protocol, environment and its configuration — see below.
+ +For http:// protocol, use of LZ4 compression depends on the values +of the server-side SVNCompressionLevel directive, client-side +http-compression configuration option and on the network +capabilities. LZ4 compression generally offers much faster compression +and decompression speeds, but slightly worse compression ratio than zlib. +By default, it is only preferred for low latency networks where the +overhead associated with transferring the additional amount of data is +assumed to be negligible.
+ +
On the server-side, SVNCompressionLevel 0 + can be used to disable compression altogether. The special value of + SVNCompressionLevel 1 forces the use of LZ4 compression for + clients that support it. All other values result in negotiating the + use of zlib compression with the respective compression level, unless + the compression is disabled on the client.
+On the client-side, setting http-compression to + either yes or no will disable or enable compression + that is then negotiated based on the server's configuration. + The default value of auto will result in preferring LZ4 + compression for low latency networks and zlib compression otherwise.
+Below is the table explaining the used compression algorithm in each +combination of the client- and server-side configuration options:
+ ++ | 1.10 Server with SVNCompressionLevel: |
+ 1.9 and older Server with SVNCompressionLevel: |
+ |||
---|---|---|---|---|---|
Subversion Client | +0 | +1 | +2-9 (default: 5*) | +0 | +1-9 (default: 5*) | +
1.10, http-compression: auto*, low latency | +No compression | +LZ4 compression | +LZ4 compression | +No compression | +zlib compression | +
1.10, http-compression: auto*, high latency | +No compression | +LZ4 compression | +zlib compression | +No compression | +zlib compression | +
1.10, http-compression: yes | +No compression | +LZ4 compression | +zlib compression | +No compression | +zlib compression | +
1.10, http-compression: no | +No compression | +No compression | +No compression | +No compression | +No compression | +
1.9 and older, http-compression: yes* | +No compression | +zlib compression | +zlib compression | +No compression | +zlib compression | +
1.9 and older, http-compression: no | +No compression | +No compression | +No compression | +No compression | +No compression | +
* Default configurations
+ + + +