URL:
https://github.com/SSSD/sssd/pull/5552
Title: #5552: files: split update into batches
elkoniu commented:
"""
Just run another test run to include `batch_size = 1000`.
@sumit-bose I have only one domain in `sssd.conf`:
```
[sssd]
config_file_version = 2
services = nss, pam, ifp, sudo
debug_level = 0x3ff0
domains = files
user = root
[nss]
timeout = 30000
debug_level = 0x3ff0
debug_microseconds = true
[pam]
timeout = 30000
debug_level = 0x3ff0
[sudo]
timeout = 30000
debug_level = 0x3ff0
[ifp]
timeout = 30000
debug_level = 0x3ff0
[domain/files]
timeout = 30000
debug_level = 0x3ff0
debug_microseconds = true
id_provider = files
```
|Version|30 + 100 users|30 + 250 users|30 + 500 users|
|:---:|:---:|:---:|:---:|
|SSSD master|204ms|558ms|1168ms|
|SSSD batch_size = 10|0,5ms|0,5ms|70ms|
|SSSD batch_size = 1000|0,4ms|0,5ms|0,6ms|
![test-result](https://user-images.githubusercontent.com/2312108/123186997-9502b700-d499-11eb-82f4-c4fed789acaf.png)
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5552#issuecomment-867257247