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

do not check reclaim full for every lock request

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Checking reclaim full for every lock request is expensive - it require taking a global spinlock and takes up 10% of MDS CPU time under load, but is not necessary to do this check for every single lock request - it is OK if we very slightly exceed the reclaim limit. Instead, check it once for every 100 requests.  100 is chosen arbitrarily but should be sufficient for good performance.

      Attachments

        Activity

          [LU-17872] do not check reclaim full for every lock request

          People

            paf Patrick Farrell (Inactive)
            paf Patrick Farrell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: