RFR: 8327452: G1: Improve scalability of Merge Log Buffers [v3]
Ivan Walulya
iwalulya at openjdk.org
Fri Mar 8 11:49:05 UTC 2024
> Hi all,
>
> Please review this change to reduce contention on the DCQS. The parallel work done by the worker threads is very small, therefore contention on the DCQS dominates the Merge Log Buffers phase. In this change, we add a sequential phase to distribute the Log Buffers to the worker threads. This removes the DCQS bottleneck in the highly contended case, at a small cost to the cases with low contention.
>
> Testing Tier 1-3
>
> The graphs below are using Bigramtester at 20gb, "Distribute and Avg Log Buffers" combines the duration of the sequential distribute phase and the avg duration of the parallel `Merge Log Buffers` phase.
> | Time (ms) | # Cards |
> | ------------- | ------------- |
> |  | |
> | | |
> |  | |
> |  |  |
> |  |  |
> |  |  |
Ivan Walulya has updated the pull request incrementally with one additional commit since the last revision:
Thomas Review
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18134/files
- new: https://git.openjdk.org/jdk/pull/18134/files/9582ed1b..8a782c89
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18134&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18134&range=01-02
Stats: 16 lines in 2 files changed: 10 ins; 4 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/18134.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18134/head:pull/18134
PR: https://git.openjdk.org/jdk/pull/18134
More information about the hotspot-gc-dev
mailing list