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

reduce default value for lru_max_age to 300s

Details

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

    Description

      The default value for lru_max_age is currently 3900s (3900000 msec), or 1h5m.

      For most systems and use cases, this is far too long and can lead to clients holding on to locks that they don't need and may cause issues for other clients if those clients holding the LDLM locks have any network issues and the server lock callback RPCs are slow. It may also cause issues with the LRU, if clients hold on to locks only used once for a long time and potentially evict more important locks sooner, though more work is still needed to the DLM LRU algorithm in LU-11509.

      We regularly tune ldlm.namespaces.*.lru_max_age=300s on large clusters, and it makes sense to change this to be the default.

      Attachments

        Issue Links

          Activity

            [LU-17428] reduce default value for lru_max_age to 300s
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-18288 [ LU-18288 ]

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56377/
            Subject: LU-17428 tests: restore recovery-small/10a lru_max_age
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: c73f731f252b2628dc17de315f79bbf5d86965e0

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56377/ Subject: LU-17428 tests: restore recovery-small/10a lru_max_age Project: fs/lustre-release Branch: master Current Patch Set: Commit: c73f731f252b2628dc17de315f79bbf5d86965e0

            "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56377
            Subject: LU-17428 tests: restore recovery-small/10a lru_max_age
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: e7749b1808864efe7e60c6491a9f58f69fa85c7b

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56377 Subject: LU-17428 tests: restore recovery-small/10a lru_max_age Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e7749b1808864efe7e60c6491a9f58f69fa85c7b
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-15630 [ LU-15630 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.16.0 [ 15190 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones added a comment -

            Merged for 2.16

            pjones Peter Jones added a comment - Merged for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53682/
            Subject: LU-17428 ldlm: reduce default lru_max_age
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 357cae970c5c45e8d58574db3c38b60e22565b6d

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53682/ Subject: LU-17428 ldlm: reduce default lru_max_age Project: fs/lustre-release Branch: master Current Patch Set: Commit: 357cae970c5c45e8d58574db3c38b60e22565b6d
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-11509 [ LU-11509 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-6529 [ LU-6529 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-6402 [ LU-6402 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: