Change CPU pinning configuration, use 1 iothread instead of 2

master
Karuri M. Karuri 4 years ago
parent f902b734e7
commit 5fcc56ecf9

@ -12,19 +12,18 @@
<hugepages/> <hugepages/>
</memoryBacking> </memoryBacking>
<vcpu placement="static">8</vcpu> <vcpu placement="static">8</vcpu>
<iothreads>2</iothreads> <iothreads>1</iothreads>
<cputune> <cputune>
<vcpupin vcpu="0" cpuset="0"/> <vcpupin vcpu="0" cpuset="2"/>
<vcpupin vcpu="1" cpuset="6"/> <vcpupin vcpu="1" cpuset="8"/>
<vcpupin vcpu="2" cpuset="1"/> <vcpupin vcpu="2" cpuset="3"/>
<vcpupin vcpu="3" cpuset="7"/> <vcpupin vcpu="3" cpuset="9"/>
<vcpupin vcpu="4" cpuset="2"/> <vcpupin vcpu="4" cpuset="4"/>
<vcpupin vcpu="5" cpuset="8"/> <vcpupin vcpu="5" cpuset="10"/>
<vcpupin vcpu="6" cpuset="3"/> <vcpupin vcpu="6" cpuset="5"/>
<vcpupin vcpu="7" cpuset="9"/> <vcpupin vcpu="7" cpuset="11"/>
<emulatorpin cpuset='5-6'/> <emulatorpin cpuset="1"/>
<iothreadpin iothread="1" cpuset="4-10"/> <iothreadpin iothread="1" cpuset="1-7"/>
<iothreadpin iothread="2" cpuset="5-11"/>
</cputune> </cputune>
<os> <os>
<type arch="x86_64" machine="pc-q35-5.1">hvm</type> <type arch="x86_64" machine="pc-q35-5.1">hvm</type>
@ -52,8 +51,8 @@
<smm state="on"/> <smm state="on"/>
<ioapic driver="kvm"/> <ioapic driver="kvm"/>
</features> </features>
<cpu mode="host-passthrough" check="none"> <cpu mode="host-passthrough" check="none" migratable="on">
<topology sockets="1" cores="4" threads="2"/> <topology sockets="1" dies="1" cores="4" threads="2"/>
<cache mode="passthrough"/> <cache mode="passthrough"/>
<feature policy="require" name="topoext"/> <feature policy="require" name="topoext"/>
</cpu> </cpu>

Loading…
Cancel
Save