Set starlingx-realtime profile for lowlatency workers

Story: 2009886
Task: 45505

Test plan:
    Boot lowlatency worker and check if profile was set to
    starlingx-realtime with tuned-adm active command.

Signed-off-by: Iago Estrela <IagoFilipe.EstrelaBarros@windriver.com>
Change-Id: I564c5b6e336b26380aac1949079d477a393d8294
This commit is contained in:
Iago Estrela
2022-05-31 11:16:08 -03:00
parent 793d9f8fc2
commit e9b5fb3214

View File

@@ -55,6 +55,10 @@ class platform::sysctl
value => '-1',
}
exec { 'Set low-latency tuned profile for low-latency worker':
command => 'tuned-adm profile starlingx-realtime'
}
# Enable check for raising timer interrupt only if one is pending.
# This allows nohz full mode to operate properly on isolated cores.
# Without it, ktimersoftd interferes with only one job being