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

Specify ordering of TBF policy rules

Details

    • Question/Request
    • Resolution: Fixed
    • Major
    • Lustre 2.9.0
    • Lustre 2.7.0
    • 9223372036854775807

    Description

      In the documentation it states " Whenever a queue is newly created, it goes though the rule list and takes the first matched rule as its rule, so that the queue knows its RPC token rate."

      How does it the order the rules? Is it in the order they were created?

      We want 2 initial sets of NID groups, 'Login' and 'compute'. But the compute nodes' NIDs are not uniquely different from the login nodes. But if we can order the rules we can list the login nodes first and then compute.

      Attachments

        Issue Links

          Activity

            [LU-8006] Specify ordering of TBF policy rules
            pjones Peter Jones added a comment -

            Landed for 2.9

            pjones Peter Jones added a comment - Landed for 2.9

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19476/
            Subject: LU-8006 ptlrpc: specify ordering of TBF policy rules
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: aa14b0b9a1521b3deb26a07eb8f7bb28ce793001

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19476/ Subject: LU-8006 ptlrpc: specify ordering of TBF policy rules Project: fs/lustre-release Branch: master Current Patch Set: Commit: aa14b0b9a1521b3deb26a07eb8f7bb28ce793001
            lixi Li Xi (Inactive) added a comment - http://review.whamcloud.com/#/c/19476/ still needs review.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19499/
            Subject: LU-8006 ptlrpc: cleanup codes of TBF command
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: d09237044382361b289c01a9f7412818b3599e79

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19499/ Subject: LU-8006 ptlrpc: cleanup codes of TBF command Project: fs/lustre-release Branch: master Current Patch Set: Commit: d09237044382361b289c01a9f7412818b3599e79
            emoly.liu Emoly Liu added a comment -

            If needed, I can backport these patches to 2.7.1fe after they are landed.

            emoly.liu Emoly Liu added a comment - If needed, I can backport these patches to 2.7.1fe after they are landed.

            we need these for 2.7.1 fe

            mhanafi Mahmoud Hanafi added a comment - we need these for 2.7.1 fe

            Li Xi (lixi@ddn.com) uploaded a new patch: http://review.whamcloud.com/19499
            Subject: LU-8006 ptlrpc: cleanup codes of TBF command
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 59bede110333b39925d9c3f66702859cf2ff00ca

            gerrit Gerrit Updater added a comment - Li Xi (lixi@ddn.com) uploaded a new patch: http://review.whamcloud.com/19499 Subject: LU-8006 ptlrpc: cleanup codes of TBF command Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 59bede110333b39925d9c3f66702859cf2ff00ca

            Li Xi (lixi@ddn.com) uploaded a new patch: http://review.whamcloud.com/19476
            Subject: LU-8006 ptlrpc: interface for changing ranks of TBF rules
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 06ce138bbfc637f48d8e8be61d44798f9383cc6f

            gerrit Gerrit Updater added a comment - Li Xi (lixi@ddn.com) uploaded a new patch: http://review.whamcloud.com/19476 Subject: LU-8006 ptlrpc: interface for changing ranks of TBF rules Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 06ce138bbfc637f48d8e8be61d44798f9383cc6f

            Currently the order of the TBF rules is the order in which they are created. I've recently discussed this with Li Xi that along with the change to allow complex TBF policies that specify combinations of NID, RPC opcode, JobID, UID/GID, etc, there needs to be a way to insert/delete rules in arbitrary order, as tools like iptables allow.

            adilger Andreas Dilger added a comment - Currently the order of the TBF rules is the order in which they are created. I've recently discussed this with Li Xi that along with the change to allow complex TBF policies that specify combinations of NID, RPC opcode, JobID, UID/GID, etc, there needs to be a way to insert/delete rules in arbitrary order, as tools like iptables allow.

            People

              lixi Li Xi (Inactive)
              mhanafi Mahmoud Hanafi
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: