#6118 first thousands user-add in 4.4 are slower than in 4.2
Closed: Duplicate None Opened 7 years ago by tbordaz.

Comparison of performance between

7.2 ipa-server-4.2.0-15.el7_2.17.x86_64  -  389-ds-base-1.3.4.0-32.el7_2.x86_64
vs
7.3 ipa-server-4.4.0-2.1.el7.x86_64   - 389-ds-base-1.3.5.10-5.el7.x86_64

The test case is : install a server, run several user-add monitoring the duration of the CLI. In the first thousands of them, 4.2 outperforms 4.4

7.2 time ipa user-add --first=t --last=b tbXXXX  --> ranges from [1s-2s]
vs
7.3 time ipa user-add --first=t --last=b tbXXXX  --> ranges from [2.5s-3.5s]

During this test, a workaround for https://fedorahosted.org/freeipa/ticket/6100 was in place: krbCanonicalName was index.

- 7.3 introduces thin client that loads the schema for each CLI

- Using batch commands to provision user entries, schema is loaded once

and is having no significant impact on the perf.
7.3 is then faster (~20%) over 7.2

7.3

Provisionning 1000 users [1000..1999]   --> real    2m7.105s    (127s)  37% faster

Provisionning 10000 users [2000..11999] --> real    42m1.328s   (2521s) 20% faster

Provisionning 10000 users [12000..21999]--> real    89m28.275s  (5368)

7.2

Provisionning 1000 users [1000..1999]   --> real    3m24.447s   (204s)

Provisionning 10000 users [2000..11999] --> real    51m54.907s  (3115)

Provisionning 10000 users [12000..21999]--> <did not complete after 99min --> DS crashed !>




- In conclusion: This ticket is a side effect of thin client and is either invalid or a duplicate of https://fedorahosted.org/freeipa/ticket/6048

Metadata Update from @tbordaz:
- Issue assigned to tbordaz
- Issue set to the milestone: FreeIPA 4.4.1

7 years ago

Login to comment on this ticket.

Metadata