13.2.3. OpenStack nova 中模拟线程的当前实施(OpenStack Platform 10)
在 Red Hat OpenStack Platform 10 中,没有官方支持的方法固定仿真程序线程。您可以使用 virsh emulatorpin(…)--live 临时将仿真程序线程移到一组 pCPU,如下例所示。
to pin emulator threads of instance instance-0000001d to CPU 34 to pin emulator threads of instance instance-0000001d to CPUs 32,34
# to pin emulator threads of instance instance-0000001d to CPU 34
virsh emulatorpin instance-0000001d 34 -live
# to pin emulator threads of instance instance-0000001d to CPUs 32,34
virsh emulatorpin instance-0000001d 32,34 --live
这些更改仅适用于实例的运行时。永久修改需要一个外部机制,如 cron 作业、bash 脚本或 Ansible 任务。这必须成为支持例外。