Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ProfiT-HPC
aggregator
Commits
d7bb8dd4
Commit
d7bb8dd4
authored
Oct 16, 2019
by
Azat Khuziyakhmetov
Browse files
added a new rule
parent
e38664db
Changes
2
Hide whitespace changes
Inline
Side-by-side
rcm/docs/rules.md
View file @
d7bb8dd4
# Rules
# Rules
A rule is a set of
[
attributes
](
./attributes.md
)
with specified values.
---
...
...
@@ -78,6 +78,20 @@ attribute name | value(s)
[
cpu_usage_total_max
](
./attributes.md#cpu_usage_total_max
)
|
`LOW`
[
node_cpu_usage_min
](
./attributes.md#node_cpu_usage_min
)
|
`LOW`
---
#### recommendation
```
The CPU usage of the job is low on all nodes. Please check if the job is running properly
```
#### attributes
attribute name | value(s)
--- | ---
[
job_nodes_amount
](
./attributes.md#job_nodes_amount
)
|
`MULT`
[
req_walltime
](
./attributes.md#req_walltime
)
|
`NORM`
[
mem_usage_total
](
./attributes.md#mem_usage_total
)
|
`NORM`
[
cpu_usage_total_max
](
./attributes.md#cpu_usage_total_max
)
|
`LOW`
[
node_cpu_usage_min
](
./attributes.md#node_cpu_usage_min
)
|
`LOW`
---
#### recommendation
```
...
...
@@ -137,3 +151,4 @@ attribute name | value(s)
--- | ---
[
job_nodes_amount
](
./attributes.md#job_nodes_amount
)
|
`ONE`
[
mem_swap_used
](
./attributes.md#mem_swap_used
)
|
`True`
rcm/rules.py
View file @
d7bb8dd4
...
...
@@ -41,6 +41,15 @@ RULES = [
"node_cpu_usage_min"
:
"LOW"
,
"node_cpu_usage_min"
:
"LOW"
},
"msg"
:
"The CPU usage of the job is low on all nodes, please request appropriate amount of resources"
},
{
"attrs"
:
{
"job_nodes_amount"
:
"MULT"
,
"req_walltime"
:
"NORM"
,
"mem_usage_total"
:
"NORM"
,
"cpu_usage_total_max"
:
"LOW"
,
"node_cpu_usage_min"
:
"LOW"
,
"node_cpu_usage_min"
:
"LOW"
},
"msg"
:
"The CPU usage of the job is low on all nodes. Please check if the job is running properly"
},
{
"attrs"
:
{
"job_nodes_amount"
:
"ONE"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment