Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
822394ab
Commit
822394ab
authored
Jan 29, 2025
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: set the CPU scaling governor at startup
parent
af30b40f
Pipeline
#39389
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
playbook/roles/cpu-scaling-governor/tasks/main.yml
playbook/roles/cpu-scaling-governor/tasks/main.yml
+1
-1
playbook/vifib-startup.yml
playbook/vifib-startup.yml
+2
-1
No files found.
playbook/roles/cpu-scaling-governor/tasks/main.yml
View file @
822394ab
...
...
@@ -16,7 +16,7 @@
with_items
:
'
{{
scaling_governor_stat.results
}}'
when
:
item.stat.exists
-
name
:
Set CPU Scaling Governor
-
name
:
Set CPU Scaling Governor
to {{ value }}
shell
:
'
echo
{{
value
}}
>
{{
item.item.item
}}/cpufreq/scaling_governor'
with_items
:
'
{{
cpu_offline.results
}}'
when
:
('rc' in item) and (item.rc != 0)
playbook/vifib-startup.yml
View file @
822394ab
...
...
@@ -6,4 +6,5 @@
-
settings/vifib.yml
roles
:
-
vifib-server
-
{
role
:
vifib-server
}
-
{
role
:
cpu-scaling-governor
,
value
:
performance
}
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