Jenkins using Eclipse OpenJ9

59 views
Skip to first unread message

Irwin D'Souza

unread,
Sep 17, 2019, 6:13:09 PM9/17/19
to jenkin...@googlegroups.com
Hi all,

I'm a dev over at Eclipse OpenJ9 (https://github.com/eclipse/openj9). I recently tried out some experiments to compare Jenkins startup and footprint performance in Docker using both Hotspot (the default JVM in the Jenkins Docker image) and OpenJ9. 

I found I was able to get ~35% faster startup time and ~80% smaller footprint with OpenJ9. I wrote a detailed blog post here https://blog.openj9.org/2019/09/17/comparing-jenkins-startup-in-docker/ where I outlined what and how I measured.

We figured we'd reach out to you guys so you can take a look, and maybe try it out and let us know if you have any comments/questions.

I should note, I'll be on vacation from September 20th so I won't be able to answer questions until after the first week in October; if that's too long, feel free to send us a message on slack https://www.eclipse.org/openj9/#get-started

Regards,
Irwin

Mark Waite

unread,
Sep 17, 2019, 6:49:05 PM9/17/19
to jenkinsci-dev
That's great news.  The Jenkins platform special interest group is interested in those types of topics.

The Jenkins project docker image has various supported modes (Alpine, Debian jdk8, Debian jdk11, CentOS, etc.) and there are changes being evaluated to include multi-arch docker image support for ARM, PowerPC, and others.

Do you see the OpenJ9 work as more of an experiment with results that are complete, or would you consider proposing it as an additional Docker tag in the Jenkins image?

--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAHLxcFt1wjC7Ky%3DbUP11LbXWPJJ_yA9gNjuuyt0J8c6-oxNPbQ%40mail.gmail.com.


--
Thanks!
Mark Waite

Irwin D'Souza

unread,
Sep 18, 2019, 10:26:02 AM9/18/19
to jenkin...@googlegroups.com
>  Do you see the OpenJ9 work as more of an experiment with results that are complete, or would you consider proposing it as an additional Docker tag in the Jenkins image?

I would like to propose an additional Docker tag in the Jenkins image, but not based on the images that are mentioned in the blog because in order to provide the images in a form that enables others to try and reproduce the measurements I took, I had to modify the Jenkins dockerfile (to prevent mounting Jenkins home as a volume) as well as use an OpenJ9 nightly build (as the latest release does not have certain fixes yet).

While what I did was an experiment to look at the potential benefits, on behalf of the OpenJ9 team we'd be happy to collaborate with you guys to help you incorporate OpenJ9. Who would we contact for something like this, and what are the next steps towards potentially towards making that happen?

Irwin

Slide

unread,
Sep 18, 2019, 10:48:29 AM9/18/19
to Jenkins Developer List



While what I did was an experiment to look at the potential benefits, on behalf of the OpenJ9 team we'd be happy to collaborate with you guys to help you incorporate OpenJ9. Who would we contact for something like this, and what are the next steps towards potentially towards making that happen?

PRs are always welcome, that would be a good way to start. We could have a different Dockerfile for the OpenJ9 docker image just like there are different Dockerfiles for other variants. The PR would allow open discussion on any changes made. If you want to discuss further in real time, you can join the platform-sig gitter channel at https://gitter.im/jenkinsci/platform-sig.

Alex



Mark Waite

unread,
Sep 18, 2019, 11:33:02 AM9/18/19
to jenkinsci-dev
On Wed, Sep 18, 2019 at 8:48 AM Slide <slide...@gmail.com> wrote:



While what I did was an experiment to look at the potential benefits, on behalf of the OpenJ9 team we'd be happy to collaborate with you guys to help you incorporate OpenJ9. Who would we contact for something like this, and what are the next steps towards potentially towards making that happen?

PRs are always welcome, that would be a good way to start. We could have a different Dockerfile for the OpenJ9 docker image just like there are different Dockerfiles for other variants. The PR would allow open discussion on any changes made. If you want to discuss further in real time, you can join the platform-sig gitter channel at https://gitter.im/jenkinsci/platform-sig.


Alex is right.  A pull request is a great way to start the conversation, especially since OpenJ9 seems to gain significant benefits from cache preparation and that is not something that has been needed or used in other Jenkins Docker images.  

The Platform SIG meets every two weeks, in case you'd like to attend.
 
Alex



--
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 jenkinsci-de...@googlegroups.com.

Irwin D'Souza

unread,
Sep 18, 2019, 11:47:46 AM9/18/19
to jenkin...@googlegroups.com
Sweet, thanks for the information. I've let folks on our end know.

> The Platform SIG meets every two weeks, in case you'd like to attend.

I'm on vacation for two weeks starting this Friday, so I won't be able to attend the next one, but I'll see if someone from our end can attend. 

Thanks again!

Irwin


夏润泽

unread,
Sep 20, 2019, 2:34:23 AM9/20/19
to Jenkins Developers

Also hope to have an openj9 version of jenkins/jnlp, which will greatly improve the dynamic agent of the container environment !!!

Best 
RunZe XIa
Message has been deleted

Irwin D'Souza

unread,
Sep 20, 2019, 9:43:29 AM9/20/19
to jenkin...@googlegroups.com
I've opened  https://github.com/jenkinsci/docker/issues/884 to list out what I think would be involved to build a Docker image with OpenJ9 (both so someone on our side has a starting point and also to start a discussion pre-PR).

Cheers,
Irwin


On Fri, Sep 20, 2019 at 2:55 AM 夏润泽 <junw...@gmail.com> wrote:
Also hope to have an openj9 version of jenkins/jnlp, which will greatly improve the dynamic agent of the container environment.

--
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 jenkinsci-de...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages