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

speed up kms recalculation

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Minor
    • None
    • Lustre 1.8.x (1.8.0 - 1.8.5)
    • 30
    • 22,060
    • 9733

    Description

      with the patch above the kms value calculated more quickly because of next improvements:
      1) interval tree was used for the going through the list of locks instead the direct linked list
      search.
      2) skip the subtree when maximum value in this subtree is less then new kms
      3) kms search stopped when lock with size equal to the old kms value found.

      this optimization shows speed increase from 20 to 40% according to the tests results.

      https://bugzilla.lustre.org/show_bug.cgi?id=22060 - contains the whole story

      Attachments

        Issue Links

          Activity

            People

              cliffw Cliff White (Inactive)
              igolovach Iurii Golovach (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: