<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:317072038;
        mso-list-type:hybrid;
        mso-list-template-ids:-946992524 -1140019238 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.25in;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:1.75in;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.75in;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:3.25in;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.75in;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:4.25in;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:4.75in;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all:<o:p></o:p></p>
<p class="MsoNormal">               I’m testing with a  AIO node(iso version:20190607T142331Z). To meet increasing vcpu requirments, I turn on hyper-threading(ht) in BIOS configuration.<o:p></o:p></p>
<p class="MsoNormal">Now the cpu num of system have been twice as much as before(12), but the num of vcpu did not changed(still 4).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Relating to problem:<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">     
</span></span><![endif]>The num of cpu is correct in libvirtd container, check it with ‘kube exec –it pod_id lscpu’<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">     
</span></span><![endif]>Checking cpu with `system host-cpu-list` ,and seems it had allocated new added cpu to applications and platform separately correct.<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">[wrsroot@controller-0 ~(keystone_admin)]$ system host-cpu-list controller-0<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">+--------------------------------------+-------+-----------+-------+--------+------------------------------------------+-------------------+<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| uuid                                 | log_c | processor | phy_c | thread | processor_model                          | assigned_function |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">|                                      | ore   |           | ore   |        |                                          |                   |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">+--------------------------------------+-------+-----------+-------+--------+------------------------------------------+-------------------+<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| e7e806d7-10c2-44bd-9577-fef092b7bd75 | 0     | 0         | 0     | 0      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Platform          |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| 10ba7e55-742a-400d-8e41-15b5e7632c9f | 1     | 0         | 1     | 0      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Platform          |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| 075e8684-43b0-43e9-b8cd-2cbcc6cf06d9 | 2     | 0         | 2     | 0      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Shared            |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| 44c91151-5d32-4510-9003-6466fb9416a4 | 3     | 0         | 3     | 0      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications      |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| b44109e1-fa68-49dd-9d0c-317f4e9dd657 | 4     | 0         | 4     | 0      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications      |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| dc415b71-181b-4af4-886a-1a6361de027b | 5     | 0         | 5     | 0      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications      |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| eb176953-6675-4dbc-88ea-2b5776fea851 | 6     | 0         | 0     | 1      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Platform          |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| 8494b17a-bc06-4400-b4cb-55413d05d653 | 7     | 0         | 1     | 1      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Platform          |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| 32dacf3f-1248-45ea-a122-a4925604ab42 | 8     | 0         | 2     | 1      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Shared            |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| 966d3b34-7a61-4b6b-9c46-b30ece4b27b1 | 9     | 0         | 3     | 1      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications      |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| c6f57b41-5a41-4536-9221-b111511306ad | 10    | 0         | 4     | 1      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications      |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">| ffd2eb6f-7ebe-4ce6-95b0-066d6ab47f56 | 11    | 0         | 5     | 1      | Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz | Applications      |<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in">+--------------------------------------+-------+-----------+-------+--------+------------------------------------------+-------------------+
<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">     
</span></span><![endif]>Item “cpu_allocation_ratio”  in nova.conf ‘  is 16,seem it not works<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.5pt">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt">Xu, YiZhou<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>