Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-5367

OpenOnuAdapterGo: OpenONU Adapter is consuming considerable amount of memory while scaling up the system.

    XMLWordPrintable

    Details

    • Type: Story
    • Status: To Do (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: openonu-adapter
    • Labels:
      None
    • Story Points:
      1

      Description

      A memory profiling of the open onu adapter go version is done during the scale test runs and identified the below are the areas contributing significantly to reserve heap memory.

      The getMibFromTemplate function creates json unmarshalling of the template fetched and uses json.Unquote() which loads the template completely into memory , this is cause of memory consumption.

      The buffered channels created to handle reboot, MIB upload, MIB download , software download are preallocated a size of 2048 and it is allocating a huge amount of memory.

      Every ONT being managed is having a copy of ME even though the template is same . This is predominantly having huge allocations on heap.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            pnalmas Praneeth Nalmas
            Reporter:
            pnalmas Praneeth Nalmas
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There is 1 open Gerrit change