URL: https://github.com/SSSD/sssd/pull/5552
Title: #5552: files: split update into batches

elkoniu commented:
"""
![result](https://user-images.githubusercontent.com/2312108/123786567-229b3800-d8da-11eb-973f-a5b3e49e2371.png)

[green] Raw file provider (SSSD disabled)
[yellow] SSSD from latest master
[blue] SSSD witch `batch_size = 1000`
[red] SSSD witch `batch_size = 2000`

|Version|Raw files|SSSD master|SSSD batch 1000|SSSD batch 2000|
|:---:|:---:|:---:|:---:|:---:|
|Chart volume|3169|67567|3935|4223|


|Version|useradd 100|userdel 100|useradd 250|userdel 250|useradd500|userdel 500|
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|Raw files|0m 8,943s|0m 8,668s|0m 22,577s|0m 21,934s|0m 47,950s|0m 47,141s|
|Master|1m 11,141s|1m 9,929s|4m 52,753s|4m 35,610s|15m 51,789s|15m 23,659s|
|Batch 1000|0m 26,761s|0m 26,532s|1m 7,819s|1m 5,323s|2m 13,062s|2m 12,565s|
|Batch 2000|0m 27,328s|0m 27,011s|1m 8,881s|1m 6,857s|2m 15,424s|2m 11,804s|



Results:
* Batching version is more than 2 times faster than SSSD master
* Batching version is more than 15 times lighter on CPU than SSSD master
* Batch size bigger than 1000 makes almost no difference it time or CPU usage

"""

See the full comment at 
https://github.com/SSSD/sssd/pull/5552#issuecomment-870505352
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to