-
Notifications
You must be signed in to change notification settings - Fork 99
CPU and Max RSS Analysis tools #6663
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
base: master
Are you sure you want to change the base?
Changes from 44 commits
125ed0c
60ffd73
36de59f
12c347d
e793c00
b4a32cd
d310c12
749f456
c5b175c
19ad0d0
ef9e599
ea0b764
e880ab4
4303726
7fd5e4b
91f73bb
fc74395
7afd6a6
e9dd7ac
6ec836a
9956de7
5790c38
5c0375f
9ed2fc4
3520e8c
4071d8e
cc9b5a8
6c3d108
e42cc58
c2a4099
a79a3ce
9e8f426
d655715
8b5d592
8aadd13
712acad
7ba4907
00938f5
0b2505d
c50db0e
03a13e5
2e38a96
60012df
8425e58
f33adf8
8340427
77801d3
1980831
5506e7e
3ff17b2
30db51a
bdb71b3
bedf564
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Added a Cylc job profiler which captures CPU and memory information from job runners which use cgroups. This information can be reviewed in the Analysis view in the GUI. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1477,6 +1477,38 @@ def default_for( | |
|
|
||
| .. versionadded:: 8.0.0 | ||
| ''') | ||
|
|
||
| with Conf('profiler', desc=''' | ||
| Configure the Cylc job profiler. | ||
|
|
||
| This tool can capture CPU and memory information from | ||
| job runners which use cgroups such as PBS and Slurm. | ||
|
|
||
| .. versionadded:: 8.7.0 | ||
| '''): | ||
| Conf('activate', VDR.V_BOOLEAN, False, desc=''' | ||
| Enable the Cylc profiler for this platform. | ||
| ''') | ||
| Conf('cgroups path', VDR.V_STRING, | ||
| default='/sys/fs/cgroup', | ||
| desc=''' | ||
| Configure the path to the cgroups filesystem. | ||
|
|
||
| The default value (``/sys/fs/cgroup``) is the standard | ||
| location for cgroups on linux and should work in | ||
| most circumstances | ||
| ''') | ||
| Conf('polling interval', VDR.V_INTEGER, | ||
| default=10, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @dpmatthews, should we consider reducing this to |
||
| desc=''' | ||
| Configure the profiler polling interval. | ||
|
|
||
| The interval (in seconds) at which the profiler will | ||
| poll the cgroups filesystem for resource usage data. | ||
| The default value of 10 seconds should be sufficient for | ||
| most use cases, but can be adjusted as needed. | ||
| ''') | ||
|
Comment on lines
+1501
to
+1510
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should really be an ISO8601 interval rather than an int (we switched the other configs from in in Cylc 6). But will punt that to a follow-on issue - #7265 |
||
|
|
||
| Conf('job runner', VDR.V_STRING, 'background', desc=f''' | ||
| The system used to run jobs on the platform. | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.