-
Notifications
You must be signed in to change notification settings - Fork 293
CA-183272: Improving Dom0 mem usage alert mail text #2481
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
Conversation
|
Adding @johnelse as reviewer |
|
This change looks fine. However the ticket mentions two issues: This looks like it only fixes #1 - do we need a separate ticket for #2? |
|
I don't think the message should contain the text 'Dom0' - that's not Approved Vocabulary :-) Perhaps we could get someone used to writing user-facing docs to write the text? |
|
"Dom0" -> "The Control Domain"? |
|
I've created CA-187949 for the other issue. |
|
Actually yes I agree with @robhoes, "the control domain" would be better than "dom0". |
|
I'm actually still confused what the message means, and what is being compared. What is the "control domain memory demand" and what is the "domain physical memory"? (Or should it be host memory?) |
|
This is actually calculated as (res_mem + swap_in_use) / phy_mem (using /proc/meminfo as data source). So yes, I think its better to use "Control domain memory usage" with respect to "Control domain physical memory". @johnelse : The issue #2 is not reproducible and this PR is to fix the issue #1 mail-alarm bit. |
|
So would it be accurate to say it's the amount of RAM actually in use in dom0 compared with the total amount of dom0 RAM? |
|
@stephen-turner Yes. |
|
Re issue 2, if it's really not reproducible, we should close CA-187949. However, there is a screenshot there, so it clearly happened somehow! |
|
OK, so next question: why does it say the "ratio ... is beyond 0%". It's always beyond 0%! Does it mean 100%, or is the number not getting passed around and defaults to zero? |
798a417 to
e81ff84
Compare
|
Updated. |
91e4ded to
7f6f0e6
Compare
|
I've asked the docs team to have a look at the wording of this message. |
|
At that rate, I think we should assign the "CA" bug-ticket to the docs people and close this pull-request for the time being, until we have wording from the official word-wranglers. |
|
Wait a bit, I was hoping to come up with a wording we could use in the GUI. |
|
How about something like: "The memory required by the control domain is above x% of its allocated memory". Is that accurate? |
|
@stephen-turner : Makes sense to me. Do you want me to update the PR in accordance to this? |
Signed-off-by: Koushik Chakravarty <koushik.chakravarty@citrix.com>
7f6f0e6 to
3efbf68
Compare
|
Yes, please do. |
|
Looks good. Merging. |
CA-183272: Improving Dom0 mem usage alert mail text
Signed-off-by: Koushik Chakravarty koushik.chakravarty@citrix.com