-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JGF simplification #1293
JGF simplification #1293
Conversation
Problem: JGF is too large, as described in flux-framework#193. As a first step to shrink it, do not output default values, instead skipping them and letting the JGF reader supply them. Depends on changes introduced in flux-sched by flux-framework/flux-sched/pull/1293.
6efc769
to
3f7adc8
Compare
Problem: JGF is too large, as described in flux-framework#193. As a first step to shrink it, do not output default values, instead skipping them and letting the JGF reader supply them. Depends on changes introduced in flux-sched by flux-framework/flux-sched/pull/1293.
1a640ad
to
4e92c1e
Compare
OK, tests are failing, but I think it's generally working properly--the flux-coral2 testsuite runs successfully with the JGF generated from this branch. So remaining work is eliminating the |
250a48c
to
751621f
Compare
Ok, only |
90628a4
to
4716478
Compare
Problem: the JGF reader's vertex-unpacking logic is unnecessarily complicated. Simplify it.
Problem: as described in flux-framework#1255, JGF is too large and unwieldy, with lots of redundant and repeated data. To begin to cut back, make most vertex metadata optional.
Problem: the Python JGF writer is too verbose, and outputs a lot of redundant data which the jgf reader should be able to construct for itself. Change the writer to output only non-default entries.
Problem: the python JGF writer no longer outputs certain vertex metadata, but the tests expect it to be there. Change the tests to no longer look for the eliminated metadata.
Problem: the timeouts waiting for files to appear in t1018 are incredibly long. If the file is going to appear, it should appear within twenty seconds. Reduce the timeout from 10 minutes to 20 seconds.
Problem: the JGF writer supplies the ID of nodes based on the hostname suffix (assuming it exists), which determines which nodes are matched first under policies like high and low. However, the JGF reader could just as easily supply the ID itself, thereby reducing the size of JGF. Make the reader supply the ID instead of the writer.
4716478
to
6785369
Compare
Thanks, rebased with master, setting MWP. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1293 +/- ##
========================================
- Coverage 75.3% 75.3% -0.1%
========================================
Files 111 111
Lines 15262 15298 +36
========================================
+ Hits 11505 11530 +25
- Misses 3757 3768 +11
|
Problem: JGF is too large, as described in flux-framework#193. As a first step to shrink it, do not output default values, instead skipping them and letting the JGF reader supply them. Depends on changes introduced in flux-sched by flux-framework/flux-sched/pull/1293.
Problem: JGF is too large, as described in flux-framework#193. As a first step to shrink it, do not output default values, instead skipping them and letting the JGF reader supply them. Depends on changes introduced in flux-sched by flux-framework/flux-sched/pull/1293.
Posting this as a WIP so I can link to it / work against it in flux-coral2.