Bug 1819060
| Summary: | RFE: support for configuring CPU 'dies' in guest topology - RHV side | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | jiyan <jiyan> |
| Component: | BLL.Virt | Assignee: | Michal Skrivanek <michal.skrivanek> |
| Status: | CLOSED NOTABUG | QA Contact: | meital avital <mavital> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.4.0 | CC: | ahadas, berrange, bugs, chhu, jdenemar, jsuchane, knoel, lhuang, lmen, lsvaty, xuzhang, yalzhang |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | pm-rhel:
ovirt-4.5?
pm-rhel: planning_ack? pm-rhel: devel_ack? pm-rhel: testing_ack? |
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | libvirt_RHV_INT | ||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1785207 | Environment: | |
| Last Closed: | 2021-08-17 16:38:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1785207, 1813395, 1821592 | ||
| Bug Blocks: | |||
|
Description
jiyan
2020-03-31 06:32:37 UTC
I filed this bug because I just found that CPU dies is enabled by default in RHV side.
RHV host Version:
kernel-4.18.0-193.el8.x86_64
libvirt-6.0.0-15.module+el8.2.0+6106+b6345808.x86_64
vdsm-4.40.9-1.el8ev.x86_64
qemu-kvm-4.2.0-16.module+el8.2.0+6092+4f2391c1.x86_64
VM's dumpXML info:
<cpu mode='custom' match='exact' check='full'>
<model fallback='forbid'>Cascadelake-Server</model>
<topology sockets='16' dies='1' cores='8' threads='1'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='mds-no'/>
<feature policy='disable' name='hle'/>
<feature policy='disable' name='rtm'/>
<feature policy='require' name='tsx-ctrl'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='hypervisor'/>
<feature policy='disable' name='mpx'/>
<feature policy='require' name='pku'/>
<numa>
<cell id='0' cpus='0-7,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126' memory='524288' unit='KiB'/>
<cell id='1' cpus='8-15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127' memory='524288' unit='KiB'/>
</numa>
</cpu>
Output of "Virsh capabilities"
<topology>
<cells num='2'>
<cell id='0'>
<memory unit='KiB'>32416392</memory>
<pages unit='KiB' size='4'>8104098</pages>
<pages unit='KiB' size='2048'>0</pages>
<pages unit='KiB' size='1048576'>0</pages>
<distances>
<sibling id='0' value='10'/>
<sibling id='1' value='21'/>
</distances>
<cpus num='20'>
<cpu id='0' socket_id='0' die_id='0' core_id='0' siblings='0,20'/>
<cpu id='2' socket_id='0' die_id='0' core_id='4' siblings='2,22'/>
<cpu id='4' socket_id='0' die_id='0' core_id='1' siblings='4,24'/>
In libvirt side, we do not enable cpu dies by default, but RHV does.
Even on physical host which does not support this function, the "dies" will equal 1.
So I filed this bug to see whether RHV should do something about the dies, pls close this bug if I made a mistake.
This request is not currently committed to 4.4.z, moving it to 4.5 (In reply to jiyan from comment #1) > In libvirt side, we do not enable cpu dies by default, but RHV does. > Even on physical host which does not support this function, the "dies" will > equal 1. > > So I filed this bug to see whether RHV should do something about the dies, > pls close this bug if I made a mistake. RHV doesn't specify/enables 'dies', it's libvirt that sets it to 1 when omitted: "The dies attribute is optional and will default to 1 if omitted, while the other attributes are all mandatory." |