Author: stefan2
Date: Sun Sep 25 10:07:53 2011
New Revision: 1175362
URL: http://svn.apache.org/viewvc?rev=1175362&view=rev
Log:
Update release notes.
* site/publish/docs/release-notes/1.7.html
(Data caching): mention txdelta and fulltexts caching options; fix wording
Modified:
subversion/site/publish/docs/release-notes/1.7.html
Modified: subversion/site/publish/docs/release-notes/1.7.html
URL:
http://svn.apache.org/viewvc/subversion/site/publish/docs/release-notes/1.7.html?rev=1175362&r1=1175361&r2=1175362&view=diff
==============================================================================
--- subversion/site/publish/docs/release-notes/1.7.html (original)
+++ subversion/site/publish/docs/release-notes/1.7.html Sun Sep 25 10:07:53 2011
@@ -1130,28 +1130,36 @@ compression rate can be configured as we
<p>Per default, Subversion server processes will use a 16 MB memory
block to cache file and folder content. This amount is being allocated
-by every server process, i.e. to determine the maximum size of cache
-memory available per process can roughly be estimated by</p>
+by every server process, i.e. the maximum size of cache memory available
+per process can roughly be estimated as</p>
<pre>
cache limit = 0.8 * (RAM size / max. server process count) - 4 MB
</pre>
<p>A reasonable upper limit to that in-process cache size is the size
-of the active data set. This is e.g. the size of user files in /trunk
+of the active data set. This is usually the size of user files in /trunk
plus the size of all differing files on active branches. So, two or
three times the sum of all /trunk sizes or all active projects on that
server is a reasonable indication for a performance-optimal cache size.
</p>
-<p><tt>svnserve</tt> introduces a new <tt>--memory-cache-size</tt>
+<p><tt>svnserve</tt> introduces a new optional <tt>--memory-cache-size</tt>
/ <tt>-M</tt> command line parameter to override the default cache
-size. For <tt>mod_dav_svn</tt>, a 10 GB cache configuration in
-<tt>http.conf</tt> looks like this</p>
+size.</p> Using <tt>--cache-fulltexts</tt> and <tt>--cache-txdeltas</tt>
+you may instruct the server what kind of data should be cached. The first
+should always be enabled unless data is only read once as during a
+<tt>svnrdump</tt> run. Text delta caching should be enabled unless
+your server memory is low.
+
+<p>For <tt>mod_dav_svn</tt>, a 10 GB cache configuration with maximum
+data coverage looks like this in <tt>http.conf</tt>
<pre>
<IfModule dav_svn_module>
SVNInMemoryCacheSize 10485760
+ SVNCacheFullTexts on
+ SVNCacheTextDeltas on
</IfModule>
</pre>