Skip to content

Commit

Permalink
Extend KVM dualtor memory to 8G to fix memory utilization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xwjiang-ms committed Jan 22, 2025
1 parent 812d782 commit c59e241
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ansible/roles/vm_set/templates/sonic.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
<model fallback='forbid'/>
<topology sockets='1' dies='1' cores='3' threads='2'/>
</cpu>
{% elif dut_name in ('vlab-05', 'vlab-06') %}
<memory unit='GiB'>8</memory>
<currentMemory unit='GiB'>8</currentMemory>
<vcpu placement='static'>4</vcpu>
<cpu mode='host-model'>
<model fallback='forbid'/>
<topology sockets='1' dies='1' cores='2' threads='2'/>
</cpu>
{% else %}
<memory unit='GiB'>4</memory>
<currentMemory unit='GiB'>4</currentMemory>
Expand Down

0 comments on commit c59e241

Please sign in to comment.