<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">Le 11/05/2016 05:12, Jin, Yuntong a
écrit :<br>
</div>
<blockquote
cite="mid:DE56B07C7B874845A8266632E96EB20922DF6D8D@SHSMSX101.ccr.corp.intel.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<font face="Arial" size="2"><span style="font-size:11pt;">
<div style="text-align:justify;" align="left"><font
color="#222222">Hi everyone,</font></div>
<div><font face="Times New Roman" size="2"><span
style="font-size:10.5pt;"> </span></font></div>
<div><font face="Consolas">Currently nova exposes all the host
CPU instruction set extensions available</font></div>
<div><font face="Consolas">on the compute node in the host
state, and there is a scheduler filter</font></div>
<div><font face="Consolas">`ComputeCapabilitiesFilter` which
looks at these.</font></div>
<div><font face="Consolas"> </font></div>
<div><font face="Consolas">But the limits on this is:</font></div>
<div><font face="Consolas">CPU instruction set in
ComputeCapabilitiesFilter should be guest's view instead
of host's.</font></div>
<div style="text-align:justify;" align="left"><font
face="Times New Roman" size="2"><span
style="font-size:10.5pt;"> </span></font></div>
<div><font face="Consolas">Admin may use specific set of CPU
instruction to deploy instance to make</font></div>
<div><font face="Consolas">it migratable in a heterogeneous
cloud.</font></div>
<div><font face="Consolas">This is actually by design in nova
as nova is using baselineCPU</font></div>
<div><font face="Consolas">andallowed to pass/config guest CPU
instruction feature for instance.</font></div>
<div><font face="Consolas"> </font></div>
<div><font face="Consolas">Shall we add a string
“guest_features” in ``ComputeNode`` object as
``ComputeNode:cpu_<a class="moz-txt-link-freetext" href="info:guest_features">info:guest_features</a>``</font></div>
<div><font face="Consolas">And let ComputeCapabilitiesFilter
use guest_features instead of host features here? </font></div>
<div><font face="Consolas"> </font></div>
<div><font face="Consolas">Is this a real gap ? and the above
easy fix is the right way ? </font></div>
<div><font face="Consolas"> </font></div>
</span></font></blockquote>
<br>
<font size="2"><font face="Consolas">FWIW, we had a discussion
during the Design Summit on the scheduler Nova design session
about host capabilities and what we call "qualitative resources"
[1]<br>
<br>
A first step for helping our users to discover the CPU
capabilities is to provide a Nova abstraction between all our
related hypervisor driver features and you can comment on a
proposal [2]<br>
<br>
HTH,<br>
-Sylvain<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://etherpad.openstack.org/p/newton-nova-scheduler">https://etherpad.openstack.org/p/newton-nova-scheduler</a><br>
<br>
[2] <a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/309762/">https://review.openstack.org/#/c/309762/</a><br>
</font></font>
<blockquote
cite="mid:DE56B07C7B874845A8266632E96EB20922DF6D8D@SHSMSX101.ccr.corp.intel.com"
type="cite"><font face="Arial" size="2"><span
style="font-size:11pt;">
<div><font face="Consolas">Thanks</font></div>
<div style="text-align:justify;" align="left"><font
face="Consolas">-yuntongjin</font></div>
<div style="text-align:justify;" align="left"><font
face="Times New Roman" size="2"><span
style="font-size:10.5pt;"> </span></font></div>
<div style="text-align:justify;" align="left"><font
face="Times New Roman" size="2"><span
style="font-size:10.5pt;"> </span></font></div>
</span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>