RFR: CODETOOLS-7902919: jcstress: Sysfs topology parser fails due to oddly intersecting core IDs
Aleksey Shipilev
shade at openjdk.java.net
Tue May 4 14:12:14 UTC 2021
The sysfs parser is still incomplete: it tries to generate synthetic core IDs when they appear to belong to different packages. In doing so, it multiplies by the number of packages -- which is incorrect, and we should multiply at least by the max number of cores per package. We might as well multiply by the number of CPUs to be on the safe side.
-------------
Commit messages:
- Attempt: make sure synthetic core IDs never intersect, multiply by the number of CPUs
- Test cases
Changes: https://git.openjdk.java.net/jcstress/pull/47/files
Webrev: https://webrevs.openjdk.java.net/?repo=jcstress&pr=47&range=00
Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902919
Stats: 381 lines in 6 files changed: 369 ins; 0 del; 12 mod
Patch: https://git.openjdk.java.net/jcstress/pull/47.diff
Fetch: git fetch https://git.openjdk.java.net/jcstress pull/47/head:pull/47
PR: https://git.openjdk.java.net/jcstress/pull/47
More information about the jcstress-dev
mailing list