Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PRConfig
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LHCb Data Packages
PRConfig
Commits
52a75243
Commit
52a75243
authored
1 year ago
by
Luke Grazette
Browse files
Options
Downloads
Patches
Plain Diff
Digi download changes + evt_size = 400 kB for hlt1
parent
f9675780
No related branches found
No related tags found
1 merge request
!358
[RTADPA BW Tests] Use new exp24 minbias for AllenInMoore_Hlt1_Bandwidth test
Pipeline
#6481704
passed
1 year ago
Stage: check
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/MooreTests/run_bandwidth_test_jobs.py
+9
-3
9 additions, 3 deletions
python/MooreTests/run_bandwidth_test_jobs.py
scripts/benchmark-scripts/Moore_bandwidth_test.sh
+2
-2
2 additions, 2 deletions
scripts/benchmark-scripts/Moore_bandwidth_test.sh
with
11 additions
and
5 deletions
python/MooreTests/run_bandwidth_test_jobs.py
+
9
−
3
View file @
52a75243
...
...
@@ -142,6 +142,11 @@ if __name__ == '__main__':
help
=
'
Comma separated paths to directories, one per job, where the
'
'
input files will be cached (default is hostname dependent or
'
'
$XDG_RUNTIME_DIR).
'
)
parser
.
add_argument
(
'
--digi
'
,
default
=
False
,
action
=
'
store_true
'
,
help
=
'
Flag to download digi files as opposed to the default mdf files
'
)
args
=
parser
.
parse_args
()
logging
.
basicConfig
(
...
...
@@ -194,14 +199,15 @@ if __name__ == '__main__':
f
'
Downloading input files
{
inputs
[
:
MAX_NFILES_TO_PRINT_TO_LOG
]
}
'
)
if
all
(
is_remote
(
url
)
for
url
in
inputs
):
from
Moore.qmtest.context
import
download_mdf_inputs_locally
# download_
mdf_
inputs_locally only downloads if files
from
Moore.qmtest.context
import
download_mdf_inputs_locally
,
download_digi_inputs_locally
# download_inputs_locally only downloads if files
# are not already available locally on the machine
logging
.
info
(
'
Downloading inputs for bandwidth job to {}
'
.
format
(
args
.
cache_dirs
[
i
]))
kB_to_GB
=
1e3
job_inputs
[
i
]
=
download_mdf_inputs_locally
(
download_inputs_locally
=
download_digi_inputs_locally
if
args
.
digi
else
download_mdf_inputs_locally
job_inputs
[
i
]
=
download_inputs_locally
(
inputs
,
args
.
cache_dirs
[
i
],
max_size
=
args
.
avg_evt_size
*
kB_to_GB
*
args
.
events
)
...
...
This diff is collapsed.
Click to expand it.
scripts/benchmark-scripts/Moore_bandwidth_test.sh
+
2
−
2
View file @
52a75243
...
...
@@ -103,13 +103,13 @@ case $PROCESS in
hlt1
)
MOORE_THREADS
=
1
TEST_PATH_PREFIX
=
'$HLT1CONFROOT/tests/options/bandwidth/'
EVENT_SIZE_UPPER_LIMIT
=
2
00
EVENT_SIZE_UPPER_LIMIT
=
4
00
GAUDIRUN_INPUT_PROCESS
=
"Hlt1"
STREAM_CONFIGS
=(
"streamless"
)
case
$INPUTDATA
in
nominal
)
CONFIG_FILE
=
"
${
TEST_PATH_PREFIX
}
hlt1_bandwidth_input.yaml"
EXTRA_OPTS
=
"-e 1
$MOOREROOT
/options/muon_geometry_v2.py"
#Requires #EvtSlots==1 due to singlethreading on DIGIs.
EXTRA_OPTS
=
"-e 1
--digi
$MOOREROOT
/options/muon_geometry_v2.py"
#Requires #EvtSlots==1 due to singlethreading on DIGIs.
;;
*
)
echo
"ERROR: --input-data must be
\"
nominal
\"
for process
\"
$PROCESS
\"
"
...
...
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