[PATCH] Speed up attr_handler2 by not copying the schema

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Thu Mar 9 03:14:51 UTC 2017


On 09/03/17 12:49, Garming Sam wrote:
> Hi metze,
> 
> I noticed that provision is now overwhelmed with the time spent schema
> copy shallow. After looking at it more closely, the patch introducing
> the call doesn't seem to be necessary at all. Attached is a patch to
> remove it.

It looks likes this speeds provision up by around 58% on a rather old
Opteron server we have for testing.

There's a picture at https://www.samba.org/~dbagnall/provision.html

Douglas




More information about the samba-technical mailing list