Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11820

reduce conf-sanity test duration

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • None
    • None
    • 9223372036854775807

    Description

      Currently, conf-sanity.sh takes about 4h to finish for review-zfs, 5.75h for review-dne-part-3, and 6.75h for review-dne-zfs-part-3, which is too long.

      Test 106 in regular conf-sanity takes about 40 minutes, and should be disabled for SLOW=no. It could possibly be shortened by running fewer loops.

      Test 32 is also taking a relatively long time (each one about 100s), but it is prudent to continue running upgrades from multiple test images to ensure compatibility.

      One area I think that can be improved significantly is to avoid formatting and reformatting the filesystem for each test. Some of the conf-sanity tests assume that a filesystem is available, but many of the tests want to format a filesystem to their own specifications, then reformat the filesystem back to the "default" configuration and remount it at the end of the test, only to unmount and format again for the next test. I think it would make sense for conf-sanity tests to assume the filesystem is not mounted at the beginning (or maybe tests after a certain number), and skip the "reformat back to default and remount" step at the end. This should only be done once at the end of conf-sanity to return the filesystem back to a known state. This would save a couple minutes for each subtest, maybe as much as 2h for each test run.

      Attachments

        Issue Links

          Activity

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: