Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProfiT-HPC
aggregator
Commits
56cde4e6
Commit
56cde4e6
authored
Oct 10, 2019
by
Azat Khuziyakhmetov
Browse files
more rules
parent
af71d06a
Changes
1
Hide whitespace changes
Inline
Side-by-side
rcm/rules.py
View file @
56cde4e6
RULES
=
[
{
"attrs"
:
{
"cpu_usage_total_max"
:
"HIGH"
},
"msg"
:
"request more compute units"
},
{
"attrs"
:
{
"cpu_usage_total_max"
:
"LOW"
,
"mem_usage_total"
:
"LOW"
},
"msg"
:
"request less compute units"
},
{
"attrs"
:
{
"mem_usage_total"
:
"HIGH"
},
"msg"
:
"Maximum memory usage exceeds requested amount"
},
{
"attrs"
:
{
"min_proc_ratio"
:
"HIGH"
},
"msg"
:
"All nodes have more processes than requested"
},
{
"attrs"
:
{
"job_nodes_amount"
:
"MULT"
,
"cpu_usage_total_max"
:
"NORM"
,
"overloaded_node_exists"
:
True
},
"msg"
:
"Some nodes are overloaded. Probably by other processes"
},
{
"attrs"
:
{
"req_
run
time"
:
"
LOW
"
},
"req_
wall
time"
:
"
HIGH
"
},
"msg"
:
"The requested walltime is too hight. Try to request less time"
},
{
"attrs"
:
{
"job_nodes_amount"
:
"MULT"
,
"req_
run
time"
:
"NORM"
,
"req_
wall
time"
:
"NORM"
,
"cpu_usage_total_max"
:
"LOW"
,
"node_cpu_usage_min"
:
"LOW"
,
"node_cpu_usage_max"
:
"NORM"
},
...
...
@@ -35,14 +20,14 @@ RULES = [
{
"attrs"
:
{
"job_nodes_amount"
:
"MULT"
,
"req_
run
time"
:
"NORM"
,
"req_
wall
time"
:
"NORM"
,
"node_cpu_usage_min"
:
"ZERO"
,
"node_cpu_usage_max"
:
"NORM"
},
"msg"
:
"Some nodes were not used during the runtime"
},
{
"attrs"
:
{
"job_nodes_amount"
:
"MULT"
,
"req_
run
time"
:
"NORM"
,
"req_
wall
time"
:
"NORM"
,
"cpu_usage_total_max"
:
"NORM"
,
"node_cpu_usage_min"
:
"LOW"
,
"node_cpu_usage_max"
:
"NORM"
},
...
...
@@ -50,7 +35,8 @@ RULES = [
{
"attrs"
:
{
"job_nodes_amount"
:
"MULT"
,
"req_runtime"
:
"NORM"
,
"req_walltime"
:
"NORM"
,
"mem_usage_total"
:
"LOW"
,
"cpu_usage_total_max"
:
"LOW"
,
"node_cpu_usage_min"
:
"LOW"
,
"node_cpu_usage_min"
:
"LOW"
},
...
...
@@ -58,7 +44,31 @@ RULES = [
{
"attrs"
:
{
"job_nodes_amount"
:
"ONE"
,
"req_
run
time"
:
"NORM"
,
"req_
wall
time"
:
"NORM"
,
"node_cpu_usage_max"
:
"LOW"
},
"msg"
:
"The CPU usage of the node is low. It might indicate that the job is not running in full power"
},
{
"attrs"
:
{
"job_nodes_amount"
:
"ONE"
,
"req_walltime"
:
"NORM"
,
"node_cpu_usage_max"
:
"NORM"
,
"overloaded_node_exists"
:
True
},
"msg"
:
"The node is overloaded. Probably by other processes on the node"
},
{
"attrs"
:
{
"job_nodes_amount"
:
"ONE"
,
"req_walltime"
:
"NORM"
,
"node_cpu_usage_max"
:
"HIGH"
,
"overloaded_node_exists"
:
True
},
"msg"
:
"The node is overloaded and cpu usage of job was high"
},
{
"attrs"
:
{
"job_nodes_amount"
:
"MULT"
,
"mem_swap_used"
:
True
},
"msg"
:
"Swap was used on one of the nodes"
},
{
"attrs"
:
{
"job_nodes_amount"
:
"ONE"
,
"mem_swap_used"
:
True
},
"msg"
:
"Swap was used on the node"
},
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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