tuned icon indicating copy to clipboard operation
tuned copied to clipboard

Leaving cpu-partitioning tuning doesn't clean initrd

Open GreyGnome opened this issue 4 years ago • 0 comments

I set my system with the cpu-partitioning tuning, and a CPU affinity list of 0-15,17,19,24-39,41,43. Tuned has some components in the tuned.conf that include "bootloader", so the initrd is changed. Specifically, in the initrd the /etc/systemd/system.conf contains "CPUAffinity=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 19 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 43"

We decided that we did not want to use this tuning, and changed it to throughput-performance. After reboot, I discovered that systemd has a CPU affinity list of 0-15,17,19,24-39,41,43.

So changing INTO the cpu-partitioning modifies the initrd, but changing OUT of it does not put it back. It leaves this artifact lying around, which requires one to discover it on one's own. It may be good to mention it in the docs, at least. Thanks.

GreyGnome avatar Sep 22 '21 22:09 GreyGnome