Skip to content

Commit

Permalink
playbooks/ci_realtime_tests: disable RT-Throttling for RT tests
Browse files Browse the repository at this point in the history
Before running RT tests disable RT-Throttling (give all the CPU time for
RT process).

Without disabling RT-Throttling in our setup the VM will be throttling
for 50 ms every second.

Signed-off-by: Mathieu Dupré <[email protected]>
  • Loading branch information
dupremathieu committed Jun 7, 2022
1 parent bef49fa commit 13ee935
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions playbooks/ci_realtime_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
# Ansible playbook that runs Cukinia realtime tests.

---

- name: Disable RT-Throttling on host
hosts: hypervisors
tasks:
- name: Set sched_rt_period_us to -1 (Disabled)
shell:
cmd: "echo -1 > /proc/sys/kernel/sched_rt_period_us"

- hosts: "{{ machines_tested | default('VMs') }}"
name: Realtime tests
tasks:
Expand Down

0 comments on commit 13ee935

Please sign in to comment.