Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2335

Applications consuming more CPU resources with Quarkus native builds

XMLWordPrintable

    • False
    • None
    • False
    • -
    • ---

      per cu.

      ~~~

      I am running an app which retrieves data from a DB2 db. Using multi-stage docker builds, I build the app in both jvm and native mode. Running an hour long load test on the application, I see the native app cpu usage is almost 4-5 times (25-35m compared to 5-10m) the jvm build. I understand GC in native build is not as efficient as a JVM build, but could there be other reason the cpu is so high.

      Even when idle (with no load), the cpu usage in native build 4-5 times higher than a jvm build.

      ~~~

       

      Cu. has provided a reproducer, which Iam attaching to this jira

        1. Screenshot 2022-08-19 at 13-12-11 Case 03289111 - Red Hat Customer Portal.png
          63 kB
          Karm Karm

              rh-ee-galder Galder Zamarreño
              rhn-support-asaji Anu Saji
              Michal Vavrik Michal Vavrik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: