Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-4014

Increasing the cpu limit causes slowness in application.

XMLWordPrintable

    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:
      + We have a Customer who is facing slowness issues with their spring boot bases application after they upgraded from OCP 4.3 to 4.10
      + Application configuration has not changes, it started responding slowly on OCP 4.10
      + The springboot based microservices application is deployed in `prod-bo` namespace.
      + All the pods are Running as expected.
      ~~~
      $ oc get pod
      NAME READY STATUS RESTARTS AGE
      authui-6f4474c6b9-mnjjw 1/1 Running 0 46h
      bomui-7cff8797df-pdq6l 1/1 Running 0 46h
      engine-5866db6b46-6mtb2 1/1 Running 0 46h
      engine-5866db6b46-dgdqg 1/1 Running 0 46h
      engine-5866db6b46-lgxxw 1/1 Running 0 46h
      engine-5866db6b46-m98b4 1/1 Running 0 46h
      iceauth-c7cdb9c4c-b7qqn 1/1 Running 0 46h
      mlcs-8bc96899c-dh7zq 1/1 Running 0 46h
      mlcsui-6bb95f6645-g58ph 1/1 Running 0 46h
      mule-74595cd4d5-8mpnq 1/1 Running 0 10d
      poe-7ddb5f5d4d-dptk7 1/1 Running 0 46h
      poeui-b4979b8fb-4w98n 1/1 Running 0 46h
      ~~~
      + The Engine pods are the one responsible for connecting to Oracle database 19C and running the user queries. They mentioned that if they restart engine pods the application will work fine for some time and over a time it slows down.
      + They want to know what is causing the performance degradation.
      + The application works well when cpu request and limit is set to 2 OR cpu request 2 and no cpu limit.
      + The problem arises when cpu_request=2 cpu_limit=4 OR cpu_request=2 and cpu_limit=3.
      + So the main issue is when cpu limit is kept higher the application works slowly.

      Version-Release number of selected component (if applicable):OCP 4.10

      How reproducible: Always

      Steps to Reproduce: Deploy the application in OCP 4.10 and set the cpu limit higher that 2.

      Actual results: Application performing slowly.

      Expected results: Application should work properly at higher cpu's as well

              jmencak Jiri Mencak
              rhn-support-sparpate Silvia Parpatekar (Inactive)
              Mallapadi Niranjan Mallapadi Niranjan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: