Integrated: 8317538: Potential bottleneck in Provider::getService: specjvm2008::crypto.rsa have scalability issue for high vCPU numbers
Vladimir Ivanov
vaivanov at openjdk.org
Thu Nov 21 17:57:23 UTC 2024
On Fri, 25 Oct 2024 18:18:16 GMT, Vladimir Ivanov <vaivanov at openjdk.org> wrote:
> This patch remove access to the shared variable to fix scalability issue in the multithread environment. According to testing by the specjvm2008::crypto.rsa the one thread performance reduced for less than 1% while the score for the multithread run increased in ~2x. For the 2 socket system with Xeon 8480+ numbers looks as:
> • 1 thread: 643.15 for original version vs 642.54 for patched one;
> • 224 threads: 22446.19 for original vs 46147.41 for patched.
> The RSABench microbenchmark reports no score changes for the 1 thread (average for all testcases) and 2.4% improvement for the 224 threads.
This pull request has now been integrated.
Changeset: 4956a766
Author: Vladimir Ivanov <vaivanov at openjdk.org>
Committer: Derek White <drwhite at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4956a766213c3d76e13b98ac5d5efe5d4f553895
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
8317538: Potential bottleneck in Provider::getService: specjvm2008::crypto.rsa have scalability issue for high vCPU numbers
Reviewed-by: ascarpino
-------------
PR: https://git.openjdk.org/jdk/pull/21719
More information about the security-dev
mailing list