Commit 5ba3415
committed
Increase dom0 scheduling weight
Dom0 is responsible for the UI and for critical background activities.
In particular, it is on the critical path for VM start. Therefore, it
should be prioritized over all other VMs to avoid priority inversion.
Qubes OS has always granted dom0 additional scheduling credit in the
credit scheduler. However, Xen has since switched from the credit
scheduler to the credit2 scheduler. Therefore, changing parameters in
the credit scheduler no longer has any effect. Give dom0 the same
amount additional credit in the credit2 scheduler as well, so that it
does not matter which scheduler is used.
Fixes: QubesOS/qubes-issues#10778
Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>1 parent 53ca30f commit 5ba3415
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments