Skip to content

hugepages as system variant for elcap - #1666

Open
michaelmckinsey1 wants to merge 4 commits into
developfrom
hugepages-elcap
Open

michaelmckinsey1 wants to merge 4 commits into
developfrom
hugepages-elcap

Conversation

@michaelmckinsey1

@michaelmckinsey1 michaelmckinsey1 commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Description

@michaelmckinsey1 michaelmckinsey1 self-assigned this Nov 30, 2026
@github-actions github-actions Bot added feature New feature or request experiment New or modified experiment system New or modified system config application labels Nov 30, 2026
hugetlbfs = (
"+hugetlbfs"
if system_spec is not None and system_spec.satisfies("+hugetlbfs")
else "~hugetlbfs"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we get here if the user initialized kripke+hugetlbfs, but the system without +hugetlbfs. Can we throw an error telling the user how to correct it?

@michaelmckinsey1 michaelmckinsey1 Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is not a hugetlbfs variant for the kripke experiment, which specifically avoids this issue. This is checking if the system set +hugetlbfs and only then will set the kripke variant in the package.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm. I guess this makes sense. It does have to be a variant of the kripke package. So when a user builds kripke outside of benchpark, they have to build kripke+hugetlbfs. But when they build it in benchpark, they would init elcap+tlbfs, then init kripke without tlbfs? This may be confusing. Also, I think this prevents us from initializing elcap+tlbfs, then testing kripke+tlbfs vs. kripke without tlbfs.

I think I am leaning towards needing to explicitly init kripke+hugetlbfs to enable the comparison above and be more explicit. Then this block would indeed have an error to throw but I think it can be pretty clear from that error message. Thoughts?

@pearce8 pearce8 left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a CI test which runs kripke with hugepages

@michaelmckinsey1

Copy link
Copy Markdown
Collaborator Author

Add a CI test which runs kripke with hugepages

This isn't trivial to test on PRs because we use a shared allocation, and both hugepages options require modifying the allocation. So I added two nightly tests instead, since nightly tests do not use the shared allocation and each test can have a separate allocation command.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 44.44444% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.62%. Comparing base (d636e61) to head (916d1c3).

Files with missing lines Patch % Lines
...os/spack_repo/benchpark/packages/kripke/package.py 20.00% 8 Missing ⚠️
systems/llnl-elcapitan/system.py 66.66% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1666      +/-   ##
===========================================
- Coverage    76.64%   76.62%   -0.03%     
===========================================
  Files          170      170              
  Lines        11309    11323      +14     
  Branches      1655     1658       +3     
===========================================
+ Hits          8668     8676       +8     
- Misses        2436     2442       +6     
  Partials       205      205              
Files with missing lines Coverage Δ
experiments/kripke/experiment.py 84.37% <100.00%> (+0.50%) ⬆️
systems/llnl-elcapitan/system.py 72.89% <66.66%> (-0.18%) ⬇️
...os/spack_repo/benchpark/packages/kripke/package.py 42.85% <20.00%> (-7.15%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application experiment New or modified experiment feature New feature or request system New or modified system config

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants