descriptor_add going through password_hash_add and both takes a long time
mat at samba.org
Sun May 24 11:48:14 MDT 2015
Hello Matthias & Nadya,
I was doing some profiling on some ldb actions.
I was using source4/scripting/devel/addlotscontacts to generate lots of
contacts and in the mean time I used perf.
While analyzing the flame graph (attached) I realized that on 100% (on
my machine) of my CPU time 18% was for doing the descriptor_add and 6%
It means that password_hash_add is accouting for 30% of descriptor_add
which in turn is a big CPU consumer.
Is there a good reason why we go through this function ? Is it because
it's bellow in the module stack ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 119464 bytes
Desc: not available
More information about the samba-technical