On 8/12/21 7:46 AM, Ulrich Windl wrote:
Michael Ströder michael@stroeder.com schrieb am 11.08.2021 um 15:58 in
Nachricht 68f0b325-4ad4-7b86-d5be-a6a98aa07e99@stroeder.com:
HI!
How to profile performance of different ACLs?
In theory one could run slapd with debug symbols under control of a profiler for C code. But personally I don't have a clue which ACL processing entry points to examine more closely.
What if you measure the performance on the client side? I mean: If the client does not see a significant difference, the server's performance may be more or less the same, too.
That's what I'm already doing.
But I'm looking for a more efficient way to determine which particular ACLs cause the most processing load.
Yes, I could try removing/adding ACLs one-by-one and compare time/load of each run. Actually I'm doing this. But it sometimes leads to completely false results because early-termination points are missing etc.
Ciao, Michael.