[Owncloud] WebDAV Slow !?

Robin Appelman icewind at owncloud.com
Fri Mar 30 13:37:45 UTC 2012


On Friday 30 March 2012 14:43:06 Klaas Freitag wrote:
> On 30.03.2012 14:41, Robin Appelman wrote:
> > On Friday 30 March 2012 10:47:28 Klaas Freitag wrote:
> >> Hi,
> >> 
> >> I found that the WebDAV server is responding quite slow, for example
> >> copying 1000 files to a mounted webdav share takes around 6-7 minutes
> >> for me. Syncing as well ;-(
> >> 
> >> I set up a bit of profiling and found out that its actually not the
> >> WebDAV Server what is slowing down. In [1] you see that webdav.php does
> >> a require_once on base.php. That takes the time. Drilling further down
> >> it comes out that the loading of the apps takes time.
> >> 
> >> Do we need Apps loading in the WebDAV server? Can we go a little round
> >> of optimizing here? Maybe we could drop off base.php completely here?
> >> Please help!
> >> 
> >> If you want to play around yourself, I am attaching the profile file.
> >> Just load it into the kcachegrind tool and be amazed how useful that
> >> tool is :-)
> >> 
> >> thanks,
> >> 
> >> Klaas
> >> 
> >> [1] http://paste.opensuse.org/73343481
> > 
> > I've done some optimazations around the app loading and added an option to
> > only load a specific type of apps (in this case, only apps who manipulate
> > the filesystem)
> 
> Very cool, thanks a lot.
> 
> Are these changes also in the stable branch?
> 
> Thx,
> 
> Klaas

I backported them to stable

 - Robin Appelman



More information about the Owncloud mailing list