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

Applications consuming more CPU resources with Quarkus native builds

XMLWordPrintable

    • -
    • ---

      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

            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: