Dan Kenigsberg has submitted this change and it was merged.

Change subject: tests: Add mount.isMounted() timing tests
......................................................................


tests: Add mount.isMounted() timing tests

Add timing tests to understand how much time it takes to check if a
mountpoint is mounted when having lot of mounts. This used to be a
bottleneck on EL6 when having lot of file storage domains.

Here are the results on i7-4770 CPU @ 3.40GHz:

mountTests.TestIsMountedTiming
    test_is_mounted(1)             1 mounts: 0.000068 seconds
    test_is_mounted(50)           50 mounts: 0.000480 seconds
    test_is_mounted(100)         100 mounts: 0.000927 seconds
    test_is_mounted(1000)       1000 mounts: 0.008862 seconds

Running the tests:

    ./run_tests_local.sh mountTests.py --enable-stress-tests -s

Change-Id: Ib84396450abaa17fee402d024e0ae99c36b68ce4
Signed-off-by: Nir Soffer <nsof...@redhat.com>
Reviewed-on: https://gerrit.ovirt.org/56565
Reviewed-by: Idan Shaby <ish...@redhat.com>
Continuous-Integration: Jenkins CI
Reviewed-by: Francesco Romani <from...@redhat.com>
---
M tests/mountTests.py
1 file changed, 31 insertions(+), 0 deletions(-)

Approvals:
  Nir Soffer: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests
  Francesco Romani: Looks good to me, but someone else must approve
  Idan Shaby: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/56565
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib84396450abaa17fee402d024e0ae99c36b68ce4
Gerrit-PatchSet: 8
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Adam Litke <ali...@redhat.com>
Gerrit-Reviewer: Ala Hino <ah...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Freddy Rolland <froll...@redhat.com>
Gerrit-Reviewer: Idan Shaby <ish...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org

Reply via email to