Might be worth looking at OpenJ9. It has some nifty cloud native features for helping reduce JVM load. For example:
* https://www.eclipse.org/openj9/docs/jitserver/ * https://www.eclipse.org/openj9/docs/shrc/ Disclaimer: I've only seen a talk about this; I've never tried configuring this in a real cloud environment. Looks nifty, though. On Fri, Jun 5, 2020 at 3:24 PM Jesse Glick <[email protected]> wrote: > > Thank you for digging into this problem which has been plaguing us. > (INFRA-2548?) Your analysis sounds right. The next step would be PRs > to infrastructure repositories. > > 256Mb seems low for a Surefire JVM—this needs to run Jenkins and all > plugins plus whatever your test code is doing. Of course 2Gb is also a > bit tight for `JenkinsRule` tests. I agree that `agent.jar` should be > able to run in quite a bit less than whatever HotSpot ergonomics would > pick by default, and probably `mvn` could as well, leaving more room > for the Surefire JVM and any extra processes such as mock agents, Git, > Docker fixtures, etc. > > I wonder if there is any way to have all the JVMs in this VM coöperate > to jointly use, say, 75% of available RAM in whatever proportion. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1t-OO_xf4JC7ABZApepXSQ44P2SphF_8j0cf8FsZNU1A%40mail.gmail.com. -- Matt Sicker Senior Software Engineer, CloudBees -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAEot4ozeXkYbRevuwk4F5wr%3DaR9sniv%2BJ3H60Ed-7iKpT%3DErGA%40mail.gmail.com.
