Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-6476

It takes 20s to install 1000 FlowObjective intents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0, 1.11.0
    • Fix Version/s: 1.10.0, 1.11.0
    • Component/s: None
    • Labels:
    • Story Points:
      3
    • Epic Link:
    • Sprint:
      K Bug Sprint

      Description

      Steps to reproduce (in 3-node cluster)

      cfg set org.onosproject.provider.nil.NullProviders deviceCount 7
      cfg set org.onosproject.provider.nil.NullProviders topoShape linear
      cfg set org.onosproject.provider.nil.NullProviders enabled true
      cfg set org.onosproject.net.intent.impl.IntentManager skipReleaseResourcesOnWithdrawal true
      cfg set org.onosproject.net.intent.impl.compiler.IntentConfigurableRegistrator useFlowObjectives true
      cfg set org.onosproject.net.intent.impl.compiler.IntentConfigurableRegistrator defaultFlowObjectiveCompiler org.onosproject.net.intent.impl.compiler.LinkCollectionIntentObjectiveCompiler
      balance-masters
      push-test-intents -i null:0000000000000001/6 null:0000000000000007/5 1000 1
      

      This cause by FlowObjectiveManager
      Patch https://gerrit.onosproject.org/#/c/13856/ modified FlowObjectiveManager, the manager access the flow objective store every time when we apply a NextObjective.

      Needs to figure out if there is any posibility to put cache mechanism to the store to improve it.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            yitseng Yi Tseng
            Reporter:
            You You Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: