Re: Performance Degrade with apache karaf 4.3.10 and Java 17

2024-03-12 Thread João Assunção
Hi Chandan, I think the JVM will choose the G1 GC by default if the machine has more than one CPU. Not sure it will be beneficial to use it if the JVM is limited to 1 CPU. Have you tried profiling your application using jprofiler or something similar ? VisualVM can also help. Try comparing the

Performance Degrade with apache karaf 4.3.10 and Java 17

2024-03-12 Thread Chandan Singh
Hi All , We upgraded from Karaf 4.3.7 (Java 11) to Karaf 4.3.10 ( Java 17 ) . but we are noticing some degradation in performance during load testing . These were the setting we have kept in wrapper in Java 11 wrapper.java.additional.12=-XX:+UseConcMarkSweepGC

Re: Karaf log4j conflict

2024-03-12 Thread Grzegorz Grzybek
Hello Pax Logging (where pax-logging-api contains and exports Logging APIs, while pax-logging-log4j2 is the Log4j2-based implementation) has enormous amount of effort put into integration of very different logging packages and it is used by Apache Karaf among others. The team developed Pax