Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
visualization
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pika
visualization
Commits
3a5d9c3f
Commit
3a5d9c3f
authored
Jul 11, 2020
by
Ziwen Su
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transferred Timeline_display data to Json.
parent
c30854c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
31 deletions
+20
-31
src/app/job-data/job-chart.component.ts
src/app/job-data/job-chart.component.ts
+12
-25
src/app/service/monitoring.service.ts
src/app/service/monitoring.service.ts
+2
-4
src/assets/appConfig.json
src/assets/appConfig.json
+6
-2
No files found.
src/app/job-data/job-chart.component.ts
View file @
3a5d9c3f
...
...
@@ -145,32 +145,19 @@ export class JobChartComponent extends JobBaseComponent {
metric
=
'
cpi
'
;
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
2
,
metric
,
this
.
selectedValueType
,
this
.
rows
));
if
(
rows
[
0
][
"
PARTITION
"
].
includes
(
'
ml
'
)
)
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
3
,
'
local_io
'
,
this
.
selectedValueType
,
this
.
rows
));
else
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
3
,
'
io
'
,
this
.
selectedValueType
,
this
.
rows
));
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
4
,
'
flops
'
,
this
.
selectedValueType
,
this
.
rows
));
if
(
rows
[
0
][
"
PARTITION
"
].
includes
(
'
ml
'
)
)
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
5
,
'
local_io_meta
'
,
this
.
selectedValueType
,
this
.
rows
));
else
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
5
,
'
io_meta
'
,
this
.
selectedValueType
,
this
.
rows
));
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
6
,
'
mem_bw
'
,
this
.
selectedValueType
,
this
.
rows
));
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
7
,
'
infiniband_bw
'
,
this
.
selectedValueType
,
this
.
rows
));
if
(
rows
[
0
][
"
PARTITION
"
].
includes
(
'
gpu
'
)
||
rows
[
0
][
"
PARTITION
"
].
includes
(
'
ml
'
)
||
rows
[
0
][
"
PARTITION
"
].
includes
(
'
hpdlf
'
)
)
{
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
8
,
'
gpu_usage
'
,
this
.
selectedValueType
,
this
.
rows
));
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
9
,
'
gpu_power
'
,
this
.
selectedValueType
,
this
.
rows
));
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
10
,
'
gpu_mem
'
,
this
.
selectedValueType
,
this
.
rows
));
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
11
,
'
gpu_temperature
'
,
this
.
selectedValueType
,
this
.
rows
));
var
partition
=
"
others
"
;
if
(
rows
[
0
][
"
PARTITION
"
].
includes
(
'
ml
'
)
){
partition
=
"
ml
"
;
}
if
(
!
rows
[
0
][
"
PARTITION
"
].
includes
(
'
ml
'
)
&&
!
rows
[
0
][
"
PARTITION
"
].
includes
(
'
west
'
)
)
{
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
12
,
'
cpu_power
'
,
this
.
selectedValueType
,
this
.
rows
));
else
if
(
rows
[
0
][
"
PARTITION
"
].
includes
(
'
gpu
'
)
||
rows
[
0
][
"
PARTITION
"
].
includes
(
'
hpdlf
'
)
)
{
partition
=
"
gpu
"
;
}
else
if
(
rows
[
0
][
"
PARTITION
"
].
includes
(
'
west
'
)
)
{
partition
=
"
west
"
;
}
var
displays
:
string
[]
=
this
.
monitoringservice
.
getPartitions
(
partition
);
for
(
let
i
=
0
;
i
<
displays
.
length
;
i
++
)
{
this
.
timelines
.
push
(
new
TimelineChart
(
this
.
monitoringservice
,
i
+
3
,
displays
[
i
],
this
.
selectedValueType
,
this
.
rows
));
}
this
.
loading
=
false
;
this
.
show_timelines
=
true
;
...
...
src/app/service/monitoring.service.ts
View file @
3a5d9c3f
...
...
@@ -339,10 +339,8 @@ export class MonitoringService {
getDetailedFootprints
()
{
return
this
.
show_detailed_footprints
;
}
getPartitions
(
key
:
any
){
if
(
key
==
"
list
"
){
return
this
.
appConfig
.
getConfig
().
PartitionConfig
.
list
;
}
getPartitions
(
key
:
string
){
return
this
.
appConfig
.
getConfig
().
PartitionConfig
[
key
];
}
}
src/assets/appConfig.json
View file @
3a5d9c3f
...
...
@@ -4,6 +4,10 @@
"footprint_url"
:
"https://hpcmon.zih.tu-dresden.de/"
},
"PartitionConfig"
:{
"list"
:
[
"broadwell"
,
"gpu"
,
"haswell"
,
"hpdlf"
,
"ifm"
,
"interactive"
,
"ml"
,
"nvme"
,
"romeo"
,
"sandy"
,
"sl"
,
"smp"
,
"test"
,
"triton"
,
"vis"
,
"west"
]
}
"list"
:
[
"broadwell"
,
"gpu"
,
"haswell"
,
"hpdlf"
,
"ifm"
,
"interactive"
,
"ml"
,
"nvme"
,
"romeo"
,
"sandy"
,
"sl"
,
"smp"
,
"test"
,
"triton"
,
"vis"
,
"west"
],
"ml"
:
[
"local_io"
,
"flops"
,
"local_io_meta"
,
"mem_bw"
,
"infiniband_bw"
,
"gpu_usage"
,
"gpu_power"
,
"gpu_mem"
,
"gpu_temperature"
],
"gpu"
:
[
"io"
,
"flops"
,
"io_meta"
,
"mem_bw"
,
"infiniband_bw"
,
"gpu_usage"
,
"gpu_power"
,
"gpu_mem"
,
"gpu_temperature"
,
"cpu_power"
],
"west"
:
[
"io"
,
"flops"
,
"io_meta"
,
"mem_bw"
,
"infiniband_bw"
],
"others"
:
[
"io"
,
"flops"
,
"io_meta"
,
"mem_bw"
,
"infiniband_bw"
,
"cpu_power"
]
}
}
\ No newline at end of file
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