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

Performance improvements for lu_object locking

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.13.0, Lustre 2.12.5
    • Lustre 2.12.0
    • None
    • 9223372036854775807

    Description

      While porting the LU-6800 work upstream the reaction to the approach was disliked since it wasn't a real improvement. Neil has created a patch series to break up the global lock to increase its performance.

      Attachments

        Issue Links

          Activity

            [LU-11089] Performance improvements for lu_object locking

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32713/
            Subject: LU-11089 obdclass: remove locking from lu_context_exit()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 62f6496f81ff5896ecc778c9e57b6f84d0f83da9

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32713/ Subject: LU-11089 obdclass: remove locking from lu_context_exit() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 62f6496f81ff5896ecc778c9e57b6f84d0f83da9

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32712/
            Subject: LU-11089 obdclass: use an rwsem instead of lu_key_initing_cnt.
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 99bb9f91f5c5ca6a380b22efa04a3c00c8f520ca

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32712/ Subject: LU-11089 obdclass: use an rwsem instead of lu_key_initing_cnt. Project: fs/lustre-release Branch: master Current Patch Set: Commit: 99bb9f91f5c5ca6a380b22efa04a3c00c8f520ca

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32711/
            Subject: LU-11089 obdclass: make key_set_version an atomic_t
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: e9213217691ae78d15237b0c5ecd3ba0b0416652

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32711/ Subject: LU-11089 obdclass: make key_set_version an atomic_t Project: fs/lustre-release Branch: master Current Patch Set: Commit: e9213217691ae78d15237b0c5ecd3ba0b0416652
            simmonsja James A Simmons added a comment - - edited

            Sigh, RHEL 7.6 did a port wrong from upstream  Need to download RHEL kernel source and see how they botched the port.

            simmonsja James A Simmons added a comment - - edited Sigh, RHEL 7.6 did a port wrong from upstream  Need to download RHEL kernel source and see how they botched the port.

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33674
            Subject: LU-11089 lu_object: fix possible hang waiting for LCS_LEAVING
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 28bd00dbcada616bcb5cf14899c3feac784bc6c1

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33674 Subject: LU-11089 lu_object: fix possible hang waiting for LCS_LEAVING Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 28bd00dbcada616bcb5cf14899c3feac784bc6c1

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33673
            Subject: LU-11089 obd: rename lu_keys_guard to lu_context_remembered_guard
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 0c790df73f57138e554326d95566de04618c1e93

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33673 Subject: LU-11089 obd: rename lu_keys_guard to lu_context_remembered_guard Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 0c790df73f57138e554326d95566de04618c1e93

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33668
            Subject: LU-11089 obd: remove lock from key register/degister
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 837c5d44d10daf04353e900939d9977feed064c5

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33668 Subject: LU-11089 obd: remove lock from key register/degister Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 837c5d44d10daf04353e900939d9977feed064c5

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33667
            Subject: LU-11089 obd: use wait_event_var() in lu_context_key_degister()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 37bb534e3779c4cfcf46a0206583ce3a88be69d1

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33667 Subject: LU-11089 obd: use wait_event_var() in lu_context_key_degister() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 37bb534e3779c4cfcf46a0206583ce3a88be69d1

            Patrick, sorry! forgot to update this ticket. Here is new ticket. LU-11624.

            sihara Shuichi Ihara added a comment - Patrick, sorry! forgot to update this ticket. Here is new ticket. LU-11624 .

            Ihara,

            Could you link that ticket here?  I'm interested in tracking it.  Our MDSses running 2.12 are crashing when we fail them over under load.  Pretty reliably.

            paf Patrick Farrell (Inactive) added a comment - Ihara, Could you link that ticket here?  I'm interested in tracking it.  Our MDSses running 2.12 are crashing when we fail them over under load.  Pretty reliably.

            Thanks. I have a patch based on LU-8130 work that should fix this.

            simmonsja James A Simmons added a comment - Thanks. I have a patch based on LU-8130 work that should fix this.

            People

              simmonsja James A Simmons
              simmonsja James A Simmons
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: