Repository navigation
hugepages as system variant for elcap - #1666
michaelmckinsey1 wants to merge 4 commits into
Conversation
| hugetlbfs = ( | ||
| "+hugetlbfs" | ||
| if system_spec is not None and system_spec.satisfies("+hugetlbfs") | ||
| else "~hugetlbfs" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
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 Report❌ Patch coverage is
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
🚀 New features to boost your workflow:
|
Description
+thpor+hugetlbfshttps://hpc.llnl.gov/documentation/user-guides/using-el-capitan-systems/introduction-and-quickstart/pro-tips-lhugetlbfswhen+hugetlbfs