[PATCH][WIP] Make the Samba AD DC multi-process
Garming Sam
garming at catalyst.net.nz
Tue Dec 13 03:03:47 UTC 2016
Doing some quick testing, modifying wbinfo -a to run in a loop of 200
wbcAuthenticate calls we can appear to achieve at least 200%
performance, halving the time it takes for the command to return. On my
quad-core machine, up to three wbinfo's running simultaneously seems to
incur very little performance hit over just one of them.
time bin/wbinfo --authenticate=Administrator%$DC_PASSWORD --ntlmv2 &
time bin/wbinfo --authenticate=Administrator%$DC_PASSWORD --ntlmv2 &
time bin/wbinfo --authenticate=Administrator%$DC_PASSWORD --ntlmv2 &
time bin/wbinfo --authenticate=Administrator%$DC_PASSWORD --ntlmv2 &
time bin/wbinfo --authenticate=Administrator%$DC_PASSWORD --ntlmv2 &
Before the patches:
challenge/response password authentication succeeded
real 0m6.827s
user 0m0.015s
sys 0m0.000s
challenge/response password authentication succeeded
real 0m6.833s
user 0m0.014s
sys 0m0.004s
challenge/response password authentication succeeded
real 0m6.849s
user 0m0.006s
sys 0m0.011s
challenge/response password authentication succeeded
real 0m6.855s
user 0m0.010s
sys 0m0.006s
challenge/response password authentication succeeded
real 0m6.860s
user 0m0.004s
sys 0m0.013s
After the patches:
challenge/response password authentication succeeded
real 0m2.445s
user 0m0.010s
sys 0m0.006s
challenge/response password authentication succeeded
real 0m2.904s
user 0m0.009s
sys 0m0.007s
challenge/response password authentication succeeded
real 0m3.131s
user 0m0.008s
sys 0m0.008s
challenge/response password authentication succeeded
real 0m3.318s
user 0m0.016s
sys 0m0.000s
Cheers,
Garming
On 13/12/16 14:53, Andrew Bartlett wrote:
> The attached patches implement a new smb.conf option "lsa over
> netlogon" and are otherwise ready for master, as far as I'm concerned.
>
> I'll do some performance testing and see if I can get some rough
> numbers.
>
> Thanks,
>
> Andrew Bartlett
More information about the samba-technical
mailing list