-
Notifications
You must be signed in to change notification settings - Fork 301
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
DAOS-16327 control: Update dmg storage query usage for MD-on-SSD P2 #15418
Conversation
Ticket title is 'Update dmg storage query usage for MD-on-SSD P2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor fix needed.
0644365
to
ef771e6
Compare
Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-15418/4/display/redirect |
Test stage Unit Test on EL 8.8 completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-15418/5/testReport/ |
Does this need a rebase before reviews? |
It definitely needs a rebase (merge at this point since reviewing has started) so probably better to do that before more reviewing happens. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Packaging changes LGTM.
Features: control Skip-func-hw-test-medium-md-on-ssd: false Skip-func-hw-test-large-md-on-ssd: false Required-githooks: true Signed-off-by: Tom Nabarro <[email protected]>
78e0927
to
ece44f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall is good for me. just minor fixes which could be done in a follow-up PR.
docs/admin/pool_operations.md
Outdated
|
||
$ dmg pool create bob2 --size 100% --mem-ratio 50% | ||
3. If we then try the same with 2 ranks/engines where bdev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As for the first example, there is only one rank from my understanding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
||
6. Adding another engine/rank on the same host results in more than double DATA | ||
capacity because RAM-disk capacity is halved across two engines/ranks on the same | ||
host and this results in a reduction of META and increase in DATA per-rank sizes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: an explanation on why total Memory File Size (i.e. sum of the two ranks) is lower than the one engine configuration, could be helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
---- ----- | ||
T1 data,meta,wal | ||
|
||
Rank T1-Total T1-Usable T1-Usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explanation of the last columns meaning could be helpful. I am not sure if it is the calculated according to the available size or the usable one
Test stage Unit Test on EL 8.8 completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-15418/7/testReport/ |
pretty.PrintHostStorageUsageMap(resp.HostStorage, &out) | ||
} | ||
if dbg.Len() > 0 { | ||
cmd.Debugf("%s", dbg.String()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmd.Debugf("%s", dbg.String()) | |
cmd.Debug(dbg.String()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is useful because some parsing of escape characters is different if you run it through format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, the newlines aren't parsed when you just print the string? Didn't know that. That sort of seems like a bug in our logging to be honest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually I think it was something to do with the percentage sign parsing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, hm. That makes some sense, but it seems like the non-format version shouldn't be mangling anything at all.
Features: control Skip-func-hw-test-medium-md-on-ssd: false Skip-func-hw-test-large-md-on-ssd: false Required-githooks: true Signed-off-by: Tom Nabarro <[email protected]>
bump @mjmac @knard-intel reviews please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add --mem-ratio and --show-usable flags to dmg storage query usage to
improve usability in MD-on-SSD phase-2 mode. Update table output to
show space usage per rank and tier in MD-on-SSD mode. Add relevant
pool create and storage query usage cmd examples in the admin guide.
Required-githooks: true
Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: