Details

    • 5291

    Description

      tests 40-46 from sanityn takes ~800-900s, which is almost a half of the whole sanityn pass.

      Attachments

        Issue Links

          Activity

            [LU-2233] sanityn/40-46 takes ~800-900s

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44391/
            Subject: LU-2233 tests: improve tests sanityn/40-47
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: cfb27a680cd22b993b3ff5e5257154aa3358dbbd

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44391/ Subject: LU-2233 tests: improve tests sanityn/40-47 Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: cfb27a680cd22b993b3ff5e5257154aa3358dbbd

            Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/44391
            Subject: LU-2233 tests: improve tests sanityn/40-47
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: ee441c41d9f076456b68f45f9c8e116c450dc38c

            gerrit Gerrit Updater added a comment - Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/44391 Subject: LU-2233 tests: improve tests sanityn/40-47 Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: ee441c41d9f076456b68f45f9c8e116c450dc38c

            Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/41660
            Subject: LU-2233 tests: improve tests sanityn/40-47
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 1f58da293f94bfb751ef1f6618cc120df25ed801

            gerrit Gerrit Updater added a comment - Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/41660 Subject: LU-2233 tests: improve tests sanityn/40-47 Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 1f58da293f94bfb751ef1f6618cc120df25ed801

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34847
            Subject: Revert "LU-2233 tests: improve tests sanityn/40-47"
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: dca71e339b4c906d61107972c85ff323b7ca438d

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34847 Subject: Revert " LU-2233 tests: improve tests sanityn/40-47" Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: dca71e339b4c906d61107972c85ff323b7ca438d
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/4392/
            Subject: LU-2233 tests: improve tests sanityn/40-47
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 743b85a32e24cff0c77dff739691043970a0901e

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/4392/ Subject: LU-2233 tests: improve tests sanityn/40-47 Project: fs/lustre-release Branch: master Current Patch Set: Commit: 743b85a32e24cff0c77dff739691043970a0901e
            LU-2233 tests: improve tests sanityn/40-46
            
            sanity/40-46 usually take 800-900s which is almost a half
            of the whole sanityn pass. 99.(9)% of time the tests just
            wait to ensure specific order the operations execute in.
            
            cfs_fail_intr is introduced to interrupt OBD_FAIL_TIMEOUT().
            this way the tests can unblock the threads to resumt the
            execution.
            
            the tests itself are modified to use cfs_fail_intr. to be
            able to do so both operations (referenced as OP1 and OP2
            in the tests) are run in background. once started and then
            ensured with pdo_sched() helper that MDS threads got to the
            blocking points, we can interrupt OP1 and do usual checks.
            
            on the local setup sanityn take: 1076s and 524s after.
            
            Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
            
            Reviewed-on: https://review.whamcloud.com/4392
            
            adilger Andreas Dilger added a comment - LU-2233 tests: improve tests sanityn/40-46 sanity/40-46 usually take 800-900s which is almost a half of the whole sanityn pass. 99.(9)% of time the tests just wait to ensure specific order the operations execute in. cfs_fail_intr is introduced to interrupt OBD_FAIL_TIMEOUT(). this way the tests can unblock the threads to resumt the execution. the tests itself are modified to use cfs_fail_intr. to be able to do so both operations (referenced as OP1 and OP2 in the tests) are run in background. once started and then ensured with pdo_sched() helper that MDS threads got to the blocking points, we can interrupt OP1 and do usual checks. on the local setup sanityn take: 1076s and 524s after. Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com> Reviewed-on: https://review.whamcloud.com/4392

            https://maloo.whamcloud.com/test_sets/adb04eb8-1f33-11e2-bae2-52540035b04c – sanityn took 639s. usually it takes 1300-1700s.

            bzzz Alex Zhuravlev added a comment - https://maloo.whamcloud.com/test_sets/adb04eb8-1f33-11e2-bae2-52540035b04c – sanityn took 639s. usually it takes 1300-1700s.

            People

              bzzz Alex Zhuravlev
              bzzz Alex Zhuravlev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: