At startup the command line client disables the new FSFS caching in
subversion/svn/main.c:main (I recall that at one point FSFS cache
initialisation was expensive but I believe that is no longer the case):

  /* Per default, disable large expensive FS caching on the client side.
   * We can still chose a different size for that cache later in the
   * startup phase, e.g. after reading config files. If that does not
   * happen until the first FSFS repository get opened, low initialization
   * overhead caches will be used for the most time-critical structures.
   *
   * This is only relevant for FSFS over ra_local. */
  settings = *svn_cache_config_get();
  settings.cache_size = 0x0;
  svn_cache_config_set(&settings);

but I don't see where we ever set it to a non-zero value or how we allow
the user to control the cache size.

Have we forgotten to do that bit?  At the very least I think we should
have a config setting.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com

Reply via email to