Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
monitor-NaviX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ETP-HTC
monitor-NaviX
Commits
68bcb83d
Commit
68bcb83d
authored
6 years ago
by
Martin Sauter
Browse files
Options
Downloads
Patches
Plain Diff
* added function calls for new data
parent
e43662a3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NaviXMon.py
+6
-3
6 additions, 3 deletions
NaviXMon.py
navimon/inputData.py
+21
-3
21 additions, 3 deletions
navimon/inputData.py
navimon/predictionScenario.py
+27
-14
27 additions, 14 deletions
navimon/predictionScenario.py
with
54 additions
and
20 deletions
NaviXMon.py
+
6
−
3
View file @
68bcb83d
...
...
@@ -34,15 +34,18 @@ def __init__():
monitor_dict
=
dict
()
df_file
=
pd
.
DataFrame
()
#
export_as = '.pdf'
export_as
=
'
.png
'
export_as
=
'
.pdf
'
#
export_as = '.png'
# workflow = 'copy60sg'
# workflow = 'higgs60sg'
# workflow = 'copy60topas'
# workflow = 'copy_tsy_v1'
# workflow = 'copy_tsy_v2'
workflow
=
'
jec_topas
'
# workflow = 'jec_topas'
# workflow = 'copy_topas'
# workflow = 'jec_sg'
workflow
=
'
jec_nemo
'
input_data
=
InputData
(
workflow
)
print
(
'
Loading file list:
'
)
...
...
This diff is collapsed.
Click to expand it.
navimon/inputData.py
+
21
−
3
View file @
68bcb83d
...
...
@@ -18,6 +18,12 @@ class InputData:
self
.
copy_tsy_v2
()
elif
workflow
==
'
jec_topas
'
:
self
.
jec_topas
()
elif
workflow
==
'
copy_topas
'
:
self
.
copy_topas
()
elif
workflow
==
'
jec_sg
'
:
self
.
jec_sg
()
elif
workflow
==
'
jec_nemo
'
:
self
.
jec_nemo
()
else
:
print_with_color
(
"
WARNING: Input data for
"
+
str
(
workflow
)
+
"
not found!
\n
Using default values!
"
,
color
=
'
yellow
'
)
...
...
@@ -42,10 +48,11 @@ class InputData:
# self.navix_monitor_file_list = [r'data/skimming/04-tuned-SSDs-Raid0/NaviX.mon',
# r'data/skimming/04-tuned-SSDs-Raid0/NaviX2.mon']
# -> 5. test: first monitoring file was split since it contained unknown manual tests (60 jobs, 10 files/job)
self
.
navix_monitor_file_list
=
[
r
'
data/skimming/05-tuned-SSDs-Raid0/NaviX.mon.Skimming.180817.2.newlog
'
,
r
'
data/skimming/05-tuned-SSDs-Raid0/NaviX.mon.Skimming.180818.newlog
'
,
r
'
data/skimming/05-tuned-SSDs-Raid0/NaviX.mon
'
]
#
self.navix_monitor_file_list = [r'data/skimming/05-tuned-SSDs-Raid0/NaviX.mon.Skimming.180817.2.newlog',
#
r'data/skimming/05-tuned-SSDs-Raid0/NaviX.mon.Skimming.180818.newlog',
#
r'data/skimming/05-tuned-SSDs-Raid0/NaviX.mon']
self
.
navix_monitor_file_list
=
[
r
'
data/skimming/05-tuned-SSDs-Raid0/NaviX.mon.Skimming.180827.run1
'
]
# Default copy:
# self.navix_monitor_file_list = [r'data/copy/NaviX.mon.Copy.180818',
# r'data/copy/NaviX.mon.Copy.180819']
...
...
@@ -91,3 +98,14 @@ class InputData:
def
jec_topas
(
self
):
self
.
navix_monitor_file_list
=
[
r
'
data/jec/topas/NaviX_TOPAS_JEC_v1.mon
'
]
def
jec_sg
(
self
):
self
.
navix_monitor_file_list
=
[
r
'
data/jec/sg/NaviX.mon
'
]
def
jec_nemo
(
self
):
self
.
navix_monitor_file_list
=
[
r
'
data/jec/nemo/NaviX.mon
'
]
def
copy_topas
(
self
):
# self.navix_monitor_file_list = [r'data/copy/topas/NaviX_TOPAS_small.mon']
# self.navix_monitor_file_list = [r'data/copy/topas/NaviX_to_big.mon']
self
.
navix_monitor_file_list
=
[
r
'
data/copy/topas/NaviX.mon.copyJob80Hold.20190111
'
]
This diff is collapsed.
Click to expand it.
navimon/predictionScenario.py
+
27
−
14
View file @
68bcb83d
...
...
@@ -23,6 +23,10 @@ class Prediction:
self
.
copy_tsy_v2
()
elif
workflow
==
'
jec_topas
'
:
self
.
jec_topas
()
elif
workflow
==
'
jec_sg
'
:
self
.
jec_sg
()
elif
workflow
==
'
copy_topas
'
:
self
.
copy60topas
()
else
:
print_with_color
(
"
WARNING: Prediction model
"
+
str
(
workflow
)
+
"
not found!
\n
Using default values!
"
,
color
=
'
yellow
'
)
...
...
@@ -38,21 +42,21 @@ class Prediction:
def
higgs60sg
(
self
):
# Higgs test jobs with 60 jobs on SG/SM machines
self
.
data_total
=
5
00
*
10
*
60
# about 500MB per file for Higgs skimming
self
.
number_nodes
=
10
self
.
number_slots_per_node
=
52
/
2
*
1.5
# (12+24+24)/3 HTCondor slots
self
.
remote_rate_total
=
200
000
/
8
# 3Gb/s converted to MB/s
self
.
cache_rate_per_node
=
1
6
*
1
20
# Cache speed in MB/s
self
.
workflow_rate_max
=
25
0000
# Maximum speed the workflow allows per core
self
.
data_total
=
19
00
*
10
*
60
# about 500MB per file for Higgs skimming
self
.
number_nodes
=
3
self
.
number_slots_per_node
=
20
# (12+24+24)/3 HTCondor slots
self
.
remote_rate_total
=
6
000
/
8
# 3Gb/s converted to MB/s
self
.
cache_rate_per_node
=
12
0
0
# Cache speed in MB/s
self
.
workflow_rate_max
=
25
# Maximum speed the workflow allows per core
def
copy60topas
(
self
):
# Copy jobs with 60 jobs on SG/SM machines:
self
.
data_total
=
1
600
*
10
*
6
0
# about 500MB per file for Higgs skimming, 3.3GB per file for /dev/null tests
self
.
number_nodes
=
3
self
.
number_slots_per_node
=
2
0
# HTCondor slots
self
.
remote_rate_total
=
5
000
/
8
# 5Gb/s converted to MB/s
self
.
cache_rate_per_node
=
10
00
# Cache speed in MB/s
self
.
workflow_rate_max
=
20
00
# Maximum speed the workflow allows per core
self
.
data_total
=
3
600
*
10
*
42
0
# about 500MB per file for Higgs skimming, 3.3GB per file for /dev/null tests
self
.
number_nodes
=
8
self
.
number_slots_per_node
=
4
2
# HTCondor slots
self
.
remote_rate_total
=
140
000
/
8
# 5Gb/s converted to MB/s
self
.
cache_rate_per_node
=
27
00
# Cache speed in MB/s
self
.
workflow_rate_max
=
9
00
# Maximum speed the workflow allows per core
def
higgs60topas
(
self
):
pass
...
...
@@ -77,9 +81,18 @@ class Prediction:
self
.
workflow_rate_max
=
2000.
# Maximum speed the workflow allows per core
def
jec_topas
(
self
):
self
.
data_total
=
1
6
00
*
10
*
60
# about 500MB per file for Higgs skimming, 3.3GB per file for /dev/null tests
self
.
data_total
=
1
4
00
*
10
*
60
# about 500MB per file for Higgs skimming, 3.3GB per file for /dev/null tests
self
.
number_nodes
=
3
self
.
number_slots_per_node
=
20
# HTCondor slots
self
.
remote_rate_total
=
5000
/
8
# 5Gb/s converted to MB/s
self
.
cache_rate_per_node
=
1000
# Cache speed in MB/s
self
.
workflow_rate_max
=
2000
# Maximum speed the workflow allows per core
\ No newline at end of file
self
.
workflow_rate_max
=
2000
# Maximum speed the workflow allows per core
def
jec_sg
(
self
):
self
.
data_total
=
1.2
*
1000000
# about 1.2TB in MB
self
.
number_nodes
=
3
self
.
number_slots_per_node
=
20
# (12+24+24)/3 HTCondor slots
self
.
remote_rate_total
=
3000
/
8
# 3Gb/s converted to MB/s
self
.
cache_rate_per_node
=
1200
# Cache speed in MB/s
self
.
workflow_rate_max
=
9.5
#Maximum speed the workflow allows per core
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment