Uploaded image for project: 'Operator Runtime'
  1. Operator Runtime
  2. OPRUN-2250

Improve olm/catalog cache and cpu usage

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Vamos [OLM 204]
    • 0

      Based on the collected profiling date, the majority of olm/catalog memory usage is on caches that olm builds to watch certain resources. There are a few options that can be utilized to improve the cache usage and reduce the overall memory footprint that OLM is using such as:

      1. Eliminate potentially unused/duplicate caches
      2. Reduce the size of cached resources (for example bundle/operator object)
      3. Filter cached resources to the ones that OLM actually cares and manages

      On the cpu usage, most of spike usage is on copiedCSV operation which can be reduced by improving the computational logics that OLM uses to compare and trigger copiedCSV actions such as:

      1. Use hash comparison instead of comparing the entire object
      2. Reduce the size of copied CSV
      3. Eliminate the copied CSV altogether 

            Unassigned Unassigned
            vdinh@redhat.com Vu Dinh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: