Roughly how many users should Samba 4.0 be able to handle?

Matthieu Patou mat at samba.org
Mon Jan 21 19:35:04 MST 2013


Hi Micheal.

>> No impact on speed ? you mean no big difference ?
> Sorry, I was unclear.  I have not tested your ldb_perfs branch.  What I
> meant was that after I added the 5000 extra users, the speed of
> authentication did not seem to be worse than it was before adding the
> 5000 extra users.  So maybe Samba has improved since I last tried with
> 40000 users, or maybe it would get bad if I added another 35000 users.
> Either way, 5000 users is fine for me for now.
I think 10k users should be still normal, as I said would be worth 
trying 40K with the new indexing ... if you can let me know what are the 
results.
>
>> For the adding part I'm not surprised actually because I took the decision
>> to even potentially make write a bit slower in order to make read quicker.
>> And also you need to reindex the database to feel the difference ...
>>
>> One more question are you adding all the users in 1 transaction ?
> The speed of adding the users is not really a problem for me, since it's
> a once-off thing.  I was adding them by calling samba-tool user create
> for each user, so one user per transaction.
Ok still you know that if you create more users per transaction it 
should be faster.

Matthieu

-- 
Matthieu Patou
Samba Team
http://samba.org



More information about the samba-technical mailing list