DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

auth:ad:perf

Performance issues with AUTH:AD

There seems to be performance issues with AUTH:AD compared to older AUTH:KERBSSO method. Performance should be similar, but AUTH:AD is 5-12 times slower than AUTH:KERBSSO when authorization to Active Directory is active.

Profiling AUTH:AD with xdebug

A very simple start page is created in DokuWiki 2010-11-07a:

====== Test av DokuWiki version 2010-11-07a på Linux ======
 
 
Test.
 
 
**Endast för testverksamhet. Spara inget viktigt! ** 
 
 
{{NEWPAGE}}

The text is in swedish and basically says “Testing, don't save anything important”.

The test wiki used is quite small, ~400 pages in 8 root namespaces:

blog
enkat
ns1
ns2
playground
start.txt
user1
templates
uppgifter
wiki

The ACL list looks like this:

*       @grp%2edpt%2eoper  16
*       @ALL    1
start   @grp%2edpt%2eoper  2
ns1:*   @Neka%5fdok%5futdelningar       1
wiki:*  @ALL    1
enkat:* @ALL    1
enkat:* @grp%2edpt%2eoper  16
*       user1test       16
user1:* @ALL    0
user1:* user1   16

Using AUTH:AD these are the profiling figures, Line by line (click to enlarge):
AUTH:AD Line by line

And only “auth” calls (click to enlarge):
AUTH:AD only auth

Here's AUTH:KERBSSO, Line by line (click to enlarge):

and AUTH:KERBSSO only “auth” calls (click to enlarge):

As you can see, the total page load time with AUTH:AD is ~20 seconds and with AUTH:KERBSSO ~4 seconds.

If {{NEWPAGE}} is removed, load times are similar, which indicates that ACL checking is the culprit since {{NEWPAGE}} has to check ACL:s in all namespaces in the wiki to produce the list in the drop down box.

auth/ad/perf.txt · Last modified: 2011-02-18 09:49 by 138.215.255.66