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

Bind linux workqueues to specific core

Details

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

    Description

      Recently Lustre has moved to using work queue but the trade off is that the work queues can run on any core. This will introduce noise which on clients means it has an performance impact on users application runs. The linux kernel offers a way to make binding to specific core possible with the function apply_workqueue_attrs() which can be passed a cpumask.

       

      Attachments

        Issue Links

          Activity

            [LU-13258] Bind linux workqueues to specific core
            simmonsja James A Simmons added a comment - - edited

            more patches coming

            simmonsja James A Simmons added a comment - - edited more patches coming

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37727/
            Subject: LU-13258 libcfs: fixes for cfs_arch_init()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 0fcf9378b524ded3ad260f3b655671c541e5a0b2

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37727/ Subject: LU-13258 libcfs: fixes for cfs_arch_init() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0fcf9378b524ded3ad260f3b655671c541e5a0b2

            Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/37727
            Subject: LU-13258 libcfs: fixes for cfs_arch_init()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 55b95eadabfb4079fcd41906f2638abce7bcaca4

            gerrit Gerrit Updater added a comment - Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/37727 Subject: LU-13258 libcfs: fixes for cfs_arch_init() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 55b95eadabfb4079fcd41906f2638abce7bcaca4

            More work. The patch that landed was the base patch.

            simmonsja James A Simmons added a comment - More work. The patch that landed was the base patch.
            pjones Peter Jones added a comment -

            Landed for 2.14

            pjones Peter Jones added a comment - Landed for 2.14

            James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37717
            Subject: LU-13258 llite: bind readahead workqueue to CPT set
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2a2918a6fedd80b5fe0c2745777f73ff68a31a3c

            gerrit Gerrit Updater added a comment - James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37717 Subject: LU-13258 llite: bind readahead workqueue to CPT set Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2a2918a6fedd80b5fe0c2745777f73ff68a31a3c

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37613/
            Subject: LU-13258 libcfs: make apply_workqueue_attrs() available for Lustre
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3453c95f513cd9d65f8e74e64d10d8942d934f01

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37613/ Subject: LU-13258 libcfs: make apply_workqueue_attrs() available for Lustre Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3453c95f513cd9d65f8e74e64d10d8942d934f01

            Both the read-ahead queue and the ptlrpc pinger would be good to bind to cores laid out by CPT handling. Their is also obd zombie cleanup but that I'm not so sure about.

            simmonsja James A Simmons added a comment - Both the read-ahead queue and the ptlrpc pinger would be good to bind to cores laid out by CPT handling. Their is also obd zombie cleanup but that I'm not so sure about.

            James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37613
            Subject: LU-13258 libcfs: make apply_workqueue_attrs() available for Lustre
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 3b6469dfb8d9ade856abd3f429f32abed64023e3

            gerrit Gerrit Updater added a comment - James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37613 Subject: LU-13258 libcfs: make apply_workqueue_attrs() available for Lustre Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 3b6469dfb8d9ade856abd3f429f32abed64023e3

            People

              simmonsja James A Simmons
              simmonsja James A Simmons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: