Integrated: 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test

Soumadipta Roy duke at openjdk.org
Thu Sep 14 12:26:52 UTC 2023


On Wed, 13 Sep 2023 11:14:18 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**

This pull request has now been integrated.

Changeset: edd454b5
Author:    Soumadipta Roy <roysouma at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/edd454b502b9bacde55492820e52655bbac63b89
Stats:     22 lines in 1 file changed: 20 ins; 0 del; 2 mod

8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test

Reviewed-by: shade, tschatzl

-------------

PR: https://git.openjdk.org/jdk/pull/15710


More information about the hotspot-gc-dev mailing list