RFR: 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test [v2]
Aleksey Shipilev
shade at openjdk.org
Wed Sep 13 11:47:41 UTC 2023
On Wed, 13 Sep 2023 11:41:00 GMT, Soumadipta Roy <duke at openjdk.org> wrote:
>> TestStressIHOPMultiThread takes about 10 minutes to run. This limits effective parallelism of tier4 testing on large machines. We can parallelize its `@run` configs to improve effective parallelism for tier4. With both fastdebug and release configuration runs, it has been found that the final testcase in the sequential run configuration takes the most amount of time. Because of that to parallel configurations were tried out, one with all 5 test cases parallelized and second with 3 sections of parallel runs: 1st with first 2 tests, 2nd with the next 2 tests and 3rd with the last test case. Below are the results in fast debug:
>> * before : **974.87s user 108.92s system 172% cpu 10:27.46 total**
>> * after_full-parallelization : **796.79s user 88.73s system 343% cpu 4:17.51 total**
>> * after_partial-parallelization: **904.82s user 102.00s system 391% cpu 4:17.01 total**
>>
>> From the reults we can see that even though partial and full parallelization has similar total running time, the user and system times and considerably better with full parallelization with repeated runs.
>>
>> Below are the results with release mode:
>> * before : **1111.11s user 196.52s system 210% cpu 10:20.80 total**
>> * after_full-parallelization: **837.07s user 151.57s system 378% cpu 4:20.89 total**
>
> Soumadipta Roy has updated the pull request incrementally with one additional commit since the last revision:
>
> Removing IDs to reduce test name length and duplicities in testcase details
Looks okay to me. @tschatzl might want to take a look.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15710#pullrequestreview-1624342340
More information about the hotspot-gc-dev
mailing list