Jump to: navigation, search

V4/Performance Improvements/Test Plan

Name: V4/Performance Improvements/Test Plan
Target version: 4.4.0
Design: V4/Performance_Improvements
Reviewer: Incomplete.png missing
Last updated: 2016-06-30 by Alich

Overview

This page is focused on testing the FreeIPA performance and describes test cases and scenarios. The main performance concern of FreeIPA-4.4 is defined by big amount of objects in database like users, groups, hosts, etc. The test plan is situated in this area, you can find more details about this feature in Design document

Test Plan

Users

Test case: Add 50.000 users

Autotest

{{{autotest}}}

Setup

1.You need FreeIPA server installed and configured. For this test we assume the there is fresh installation of FreeIPA server. Installation guide is here: http://www.freeipa.org/page/Quick_Start_Guide 2. You have obtained your kerberos ticket for admin user (kinit admin).

Actions

1. Search for existing users.
$ for I in $(seq 1 1 3); do (time ipa user-find) 2>&1 | grep -e 'real' -e 'login' | sed 's/^.*login/login/'; echo; done
2. Show admin's data.
$ for I in $(seq 1 1 3); do (time ipa user-show admin) 2>&1 | grep -e 'real' -e 'login' | sed 's/^.*login/login/'; echo; done
3. Add 50.000 users.
$ time for I in $(seq 1 1 50000); do ipa user-add --first=Ipa --last=PerfTestuser${1} ipaperftestuser${I}; done
4. Search for existing users.
$ time ipa user-find
5. Show admin's data.
$ time ipa user-show admin

Expected results

1. The only user present in the system is "admin".

login: admin
real	0m4.437s

login: admin
real	0m4.348s

login: admin
real	0m3.110s

2. User "admin" shown.

login: admin
real	0m4.796s

login: admin
real	0m3.806s

login: admin
real	0m2.589s

3.


3.


3.


Something else

Test case: User mod

Autotest

{{{autotest}}}

Setup

Actions

1. abc.
$ command
2. bcd.
$ command

Expected results

1. abc.

Output

2. bcd.

Output

TBD