Skip to content

Parameterize NAS Parallel Benchmark profile for ThreadCount and Bench…#662

Merged
AlexW-F merged 4 commits intomainfrom
users/alexwill/nasparallelprofileupdate
Mar 24, 2026
Merged

Parameterize NAS Parallel Benchmark profile for ThreadCount and Bench…#662
AlexW-F merged 4 commits intomainfrom
users/alexwill/nasparallelprofileupdate

Conversation

@AlexW-F
Copy link
Contributor

@AlexW-F AlexW-F commented Mar 24, 2026

…markclass

  • Add ThreadCount profile parameter (default: LogicalCoreCount - 2) to replace hard-coded Environment.ProcessorCount for OMP_NUM_THREADS. Uses ParametersOn guard to set ThreadCount=1 on systems with 2 or fewer cores.
  • Add Benchmarkclass profile parameter (default: C) to replace previously hard-coded class D benchmark references. IS and DC benchmarks remain pinned to classes C and B respectively due to NPB limitations.
  • Add ThreadCount property to NASParallelBenchClientExecutor with fallback to Environment.ProcessorCount if not specified.
  • Add unit test for custom ThreadCount override.
  • Add Resource Requirements section to documentation with memory estimation formulas and per-class sizing table.
  • Document ThreadCount, Benchmarkclass parameters, and pinned benchmark classes in workload profiles documentation.

Alex Williams-Ferreira and others added 4 commits March 23, 2026 17:50
…markclass

- Add ThreadCount profile parameter (default: LogicalCoreCount - 2) to replace
  hard-coded Environment.ProcessorCount for OMP_NUM_THREADS. Uses ParametersOn
  guard to set ThreadCount=1 on systems with 2 or fewer cores.
- Add Benchmarkclass profile parameter (default: C) to replace previously
  hard-coded class D benchmark references. IS and DC benchmarks remain pinned
  to classes C and B respectively due to NPB limitations.
- Add ThreadCount property to NASParallelBenchClientExecutor with fallback to
  Environment.ProcessorCount if not specified.
- Add unit test for custom ThreadCount override.
- Add Resource Requirements section to documentation with memory estimation
  formulas and per-class sizing table.
- Document ThreadCount, Benchmarkclass parameters, and pinned benchmark classes
  in workload profiles documentation.
- Fix NASParallelBenchProfileTests to derive expected ThreadCount from
  mock CpuInfo.LogicalProcessorCount rather than Environment.ProcessorCount,
  matching how the ProfileExpressionEvaluator resolves {LogicalCoreCount}.
- Remove dc benchmark action from profile (dc not reliably compiled).
- Remove dc.B.x from expected commands and expectedFiles in tests.
- Deduplicate X64/Arm64 test branches using platformDir variable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AlexW-F AlexW-F merged commit af70532 into main Mar 24, 2026
5 checks passed
@AlexW-F AlexW-F deleted the users/alexwill/nasparallelprofileupdate branch March 24, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants