CPU usage : JVM build vs Native Build #27257
Unanswered
MastanaGuru
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
Just about a month or so, on using Quarkus. 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.
Also, is there a way to set heap size in a native build ?
Thanks
Raj
Beta Was this translation helpful? Give feedback.
All reactions