Code review comment for ~mpontillo/maas:ppc64-disable-smt-for-pod-deploy--bug-1797484

Revision history for this message
Lee Trager (ltrager) wrote :

Do you know why SMT needs to be disabled? I found this blog post from IBM saying it should be supported. [1]

Since this is for systemd based systems I think we should create a systemd unit in /etc/systemd/user. Something like this should work and will ensure smt is turned off before libvirtd starts so no restart is needed.

[Unit]
Description=Ensures SMT is disabled for KVM

[Service]
ExecStart=ppc64_cpu --smt=off
Before=libvirtd

[Install]
WantedBy=multi-user.target

[1] https://www.ibm.com/developerworks/community/blogs/fe313521-2e95-46f2-817d-44a4f27eba32/entry/enabling_smt_on_powerkvm_guests?lang=en_us

review: Needs Information

« Back to merge proposal