Why is my workload not behaving better with gen-zgc?
Ragnar Rova
ragnar.rova at gmail.com
Wed Feb 15 06:17:48 UTC 2023
Hello!
Unsure if this is the right place to ask, but the gen-zgc page did ask
for feedback, so here goes:
I have a workload that is performing worse latency-wise when measuring
actual service response times compared to G1, both P99 all the way
down to P50 as measured in a short 5-minute load test. Benchmark was
run on aarch64 on MacOS using 21-genzgc+1-8.
I have benchmarked this workload before on OpenJDK 19 using stock ZGC
and also here G1 performs better. My speculation was that ZGC
performed worse due to the generational nature of the allocations my
workload has. But, when recently testing 21-genzgc+1-8, G1 still
outperforms in terms of both throughput (that was expected) and
latency profile (less so).
What kind of measurements would be needed to discuss this?
Attaching gc logs for a 5-minute benchmark run if that is helpful for
genzgc and G1 from the same JDK build.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gen-zgc.log.gz
Type: application/x-gzip
Size: 129395 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/zgc-dev/attachments/20230215/2e628619/gen-zgc.log-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g1gc.log.gz
Type: application/x-gzip
Size: 62346 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/zgc-dev/attachments/20230215/2e628619/g1gc.log-0001.gz>
More information about the zgc-dev
mailing list