[Samba] samba-ad tuning
Marcos Ariel Negrini
mnegrini at afip.gob.ar
Thu Jul 1 18:52:41 UTC 2021
Hello:
I am doing stress testing with samba4(4.13.*); using python I generate a
batch of 20000 users in an AD that already has 20000 users generated.
The average time for the generation of the first users of the batch is
less than 1 second... and this time becomes almost 3 seconds when it is
reaching the 20000 users (that is with almost 40000 users in the AD). I
have been monitoring the server resources (and repeating the tests with
different amount of cores and memory in the vm, for example 4 cores and
4GB of memory, duplicating these values, etc) and my conclusion is that
increasing the cores does not decrease the time for the generation of a
user, but it does improve the loading time of the complete batch, and
the memory consumption does not modify considerably even if the workload
varies. I detected that the i/o times to disk increase according to the
load. My question is if there is any document or recommendation to tune
configurations in samba that allow me to improve these times (for
example dump the ldap base to memory or increase cache sizes, etc).
greetings
Marcos Negrini
More information about the samba
mailing list