[PATCH] TDB traverse lock changes for massive AD DC perf improvement

Stefan Metzmacher metze at samba.org
Wed Apr 5 09:51:07 UTC 2017


Am 05.04.2017 um 01:50 schrieb Andrew Bartlett via samba-technical:
> On Wed, 2017-04-05 at 10:42 +1200, Andrew Bartlett wrote:
>> On Sat, 2017-04-01 at 18:44 +1300, Andrew Bartlett via samba-
>> technical
>> wrote:
>>>
>>> Aside from a good delay so others can comment, what would you
>>> recommend
>>> I do next towards progressing this patch?
>>
>> Can I please get a good eye over and a team review for this patch?
>>
>> Thanks,
>>
>> Andrew Bartlett
> 
> The attached patch takes on board the 80 column feedback (I've also
> found an emacs mode that is helpful but unobtrusive). 
> 
> I hope this meets with your approval, as it makes a massive difference
> to our Samba AD DC performance.
> 
> Please review.  If reviewed, I'll push with a patch that adds new
> performance tests that I'm keen to get in. 

I'm wondering about all the readonly checks in
_tdb_transaction_prepare_commit(),
we already handle that in _tdb_transaction_start().

I'm a bit nervous about the solaris10 problem.
Ralph gave me access to a solaris 10 box, I'll try to reproduce the original
problem there and check if we deadlock with the current code.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170405/b4ff5029/signature.sig>


More information about the samba-technical mailing list