Re: AuthzSVNAccessFile size issues

2012-03-23 Thread Stefan Sperling
On Thu, Mar 22, 2012 at 01:49:44PM -0700, Joel Eidsath wrote: > For a longer term solution, I am looking at contributing some code to > mod_authz_svn to 1. allow rule caching, or 2. provide some sort of db > support. I would be interested in reviewing patches that add some sort of multi-backend su

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Joel Eidsath
That option definitely looks interesting. From my reading, we could use it to get apache to ignore all access restrictions except for the SVN access file that I specify. Unfortunately my current performance woes mostly come from the issues involved with processing the SVN access file itself. Joel

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread kmradke
> strace seems to indicate I/O issues as the bottleneck. The file is > loaded from NFS without caching. > > The per-repository access file seems like my best bet for an immediate > solution. It is example 4 in this config: > > http://svn.apache.org/repos/asf/subversion/trunk/subversion/ > mod_aut

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Joel Eidsath
Thanks. strace seems to indicate I/O issues as the bottleneck. The file is loaded from NFS without caching. The per-repository access file seems like my best bet for an immediate solution. It is example 4 in this config: http://svn.apache.org/repos/asf/subversion/trunk/subversion/mod_authz_svn/I

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Andy Levy
On Thu, Mar 22, 2012 at 15:24, Bob Archer wrote: >> Joel Eidsath wrote on Thu, Mar 22, 2012 at 09:11:48 -0700: >> > I was just handed a large SVN install with thousands of users and >> > hundreds of individual repositories. It is experiencing serious >> > performance issues. I believe that it most

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Philip Martin
Joel Eidsath writes: > I was just handed a large SVN install with thousands of users and > hundreds of individual repositories. It is experiencing serious > performance issues. I believe that it mostly boils down to a 14MB > AuthzSVNAccessFile. > > What can I do to speed this up? Use per-reposit

RE: AuthzSVNAccessFile size issues

2012-03-22 Thread Bob Archer
> Joel Eidsath wrote on Thu, Mar 22, 2012 at 09:11:48 -0700: > > I was just handed a large SVN install with thousands of users and > > hundreds of individual repositories. It is experiencing serious > > performance issues. I believe that it mostly boils down to a 14MB > > AuthzSVNAccessFile. > > >

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Daniel Shahaf
The relevant code is in libsvn_repos/authz.c. Look at the call to svn_repos_authz_read() in mod_authz_svn.c: the file is read and parsed once per connection. I guess you could cache the parsed svn_authz_t struct in a longer-lived pool, or perhaps increase the lifetime of connections (compare the

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Geoff Hoffman
On Thu, Mar 22, 2012 at 9:11 AM, Joel Eidsath wrote: > I was just handed a large SVN install with thousands of users and > hundreds of individual repositories. It is experiencing serious > performance issues. I believe that it mostly boils down to a 14MB > AuthzSVNAccessFile. > > What can I do to