Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OAI-RAN-5G-sheduler_MaxTBS
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
MAQ5G-PFC
OAI-RAN-5G-sheduler_MaxTBS
Commits
03fc15f8
Commit
03fc15f8
authored
9 years ago
by
Rohit Gupta
Browse files
Options
Downloads
Patches
Plain Diff
default flags for deadline scheduler for different RF targets
parent
1b6407d7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_targets/build_oai
+28
-2
28 additions, 2 deletions
cmake_targets/build_oai
with
28 additions
and
2 deletions
cmake_targets/build_oai
+
28
−
2
View file @
03fc15f8
...
...
@@ -46,6 +46,7 @@ XFORMS="False"
PRINT_STATS
=
"False"
VCD_TIMING
=
"False"
LOWLATENCY_FLAG_USER
=
"False"
FORCE_LOWLATENCY_FLAG_USER
=
""
REL
=
"Rel10"
HW
=
"EXMIMO"
NOS1
=
0
...
...
@@ -230,11 +231,11 @@ function main() {
echo_info
"setting CPU FLAGS from USER to:
$CFLAGS_PROCESSOR_USER
"
shift
2
;;
--disable-deadline
)
LOWLATENCY_FLAG_USER
=
"False"
FORCE_
LOWLATENCY_FLAG_USER
=
"False"
echo_info
"Disabling the usage of deadline scheduler"
shift
1
;;
--enable-deadline
)
LOWLATENCY_FLAG_USER
=
"True"
FORCE_
LOWLATENCY_FLAG_USER
=
"True"
echo_info
"Enabling the usage of deadline scheduler"
shift
1
;;
...
...
@@ -248,6 +249,31 @@ function main() {
esac
done
#Now we set flags to enable deadline scheduler settings
#By default: USRP: disable,
#By default: BLADERF: enable,
#By default: EXMIMO: enable
if
[
"
$FORCE_LOWLATENCY_FLAG_USER
"
=
""
]
;
then
if
[
"
$HW
"
=
"EXMIMO"
]
;
then
LOWLATENCY_FLAG_USER
=
"True"
elif
[
"
$HW
"
=
"ETHERNET"
]
;
then
LOWLATENCY_FLAG_USER
=
"True"
elif
[
"
$HW
"
=
"OAI_USRP"
]
;
then
LOWLATENCY_FLAG_USER
=
"False"
elif
[
"
$HW
"
=
"OAI_BLADERF"
]
;
then
LOWLATENCY_FLAG_USER
=
"False"
elif
[
"
$HW
"
=
"None"
]
;
then
LOWLATENCY_FLAG_USER
=
"False"
else
echo_error
"Unknown HW type
$HW
. Exiting now..."
exit
fi
else
LOWLATENCY_FLAG_USER
=
$FORCE_LOWLATENCY_FLAG_USER
fi
echo_info
"Flags for Deadline scheduler:
$LOWLATENCY_FLAG_USER
"
############################################
# setting and printing OAI envs, we should check here
############################################
...
...
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