Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch docker base image to openjdk:11 #31

Closed
marcelmay opened this issue May 5, 2020 · 1 comment
Closed

Switch docker base image to openjdk:11 #31

marcelmay opened this issue May 5, 2020 · 1 comment
Assignees
Milestone

Comments

@marcelmay
Copy link
Owner

Switch from openjdk:8u212-jre-alpine3.9 to openjdk:11-jre-slim-buster .

OpenJDK 11 performs better with the G1 default garbage collector than OpenJDK 8.

TODO: Benchmark results on GiB-sized FSImage

@marcelmay marcelmay added this to the 1.3.1 milestone May 5, 2020
@marcelmay marcelmay self-assigned this May 5, 2020
marcelmay added a commit that referenced this issue Jul 13, 2020
Still need a benchmark run 8 vs 11
@marcelmay marcelmay modified the milestones: 1.3.1, 1.4 Jul 29, 2020
@marcelmay
Copy link
Owner Author

Seems OpenJDK 11 is a lot faster than 8 (due to G1 performance?).

Some details:

  • FSImage : 7 GiB / 12m dirs / 70m files
  • Configuration with
  • Same JVM options (-server -Xmx12g -XX:+UseG1GC)
  • OpenJDK 8u262 : 350s
  • OpenJDK 11.0.8 : 110s (!!!)
  • Repeated/reproduced 3x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant