<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
font-size:10.5pt;
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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle25
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></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-CA" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">One additional item Gao and apologies as I was thinking power on two front here. I assume then the limit here is per compute node within a given DC site, so yes I can see some small benefits
on that for sure. I still however have a hard time seeing if I want to do scheduling based on power as one of my main attributes I need to schedule based on, but sure I can see some value in this.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Let me know when you flesh this out in the blueprint, would be willing to support and take some items for dev for this.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">BR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Alan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="margin-left:36.0pt;text-align:left"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Alan
Kavanagh [mailto:alan.kavanagh@ericsson.com] <br>
<b>Sent:</b> December-20-13 8:21 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [Nova] [Ironic] Get power and temperature via IPMI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="margin-left:36.0pt;text-align:left"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D">Cheers Gao. So my only comment here is how complex and how many attributes are we expecting the scheduler to take as input. Similarly the more variables you schedule
on the more complex the beast becomes and from experience you end up having cross dependencies.
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D">I can see power be an item of concern but don’t you think that we could solve that one with Nova Cells Parent being aware of the Power consumption costs at “time-T”
and then just forward the Nova API call to the appropriate Child which has say the least power consumption cost?
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D">Also, on a priority scale, some DC providers (speaking as one of the DC Providers here) will not have power cost on their top say 5 list for scheduling. So I agree
its definitely interesting but if you consider scheduling inside a large DC in the same geographical region and Dc site, Scheduling for power consumption becomes null and void. ;-(
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D">BR<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D">Alan<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="margin-left:72.0pt;text-align:left"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Gao,
Fengqian [<a href="mailto:fengqian.gao@intel.com">mailto:fengqian.gao@intel.com</a>]
<br>
<b>Sent:</b> December-19-13 11:10 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [Nova] [Ironic] Get power and temperature via IPMI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="margin-left:72.0pt;text-align:left"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">Yes, Alan, you got me.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">Providing power/temperature to scheduler, set threshold or different weight, then the scheduler can boot VM on the most suitable node.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">Thanks<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">--fengqian<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><a name="_MailEndCompose"></a><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="margin-left:72.0pt;text-align:left"><b><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:ZH-CN">From:</span></b><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:ZH-CN"> Alan Kavanagh [<a href="mailto:alan.kavanagh@ericsson.com">mailto:alan.kavanagh@ericsson.com</a>]
<br>
<b>Sent:</b> Friday, December 20, 2013 11:58 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [Nova] [Ironic] Get power and temperature via IPMI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="margin-left:72.0pt;text-align:left"><span lang="EN-US" style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN">Cheers Gao<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN">It definitely makes sense to collect additional metrics such as power and temperature, and make that available for selective decisions you
would want to take. However, I am just wondering if you could realistically feed those metrics as variables for scheduling, this is the main part I feel is questionable. I assume then you would use temperature &|| power etc to gauge if you want to schedule
another VM on a given node when a given temperature threshold is reached. Is this the main case you are thinking of Gao?<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN">Alan<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="margin-left:108.0pt;text-align:left"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN">
Gao, Fengqian [<a href="mailto:fengqian.gao@intel.com">mailto:fengqian.gao@intel.com</a>]
<br>
<b>Sent:</b> December-18-13 10:23 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [Nova] [Ironic] Get power and temperature via IPMI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="margin-left:108.0pt;text-align:left"><span style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">Hi, Alan,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">I think, for nova-scheduler it is better if we gather more information. And In today’s DC, power and temperature are very important facts to
considering. <o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">CPU/Memory utilization is not enough to describe nodes’ status. Power/inlet temperature should be noticed.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">Best Wishes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">--fengqian<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="margin-left:108.0pt;text-align:left"><b><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:ZH-CN">From:</span></b><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:ZH-CN"> Alan Kavanagh [<a href="mailto:alan.kavanagh@ericsson.com">mailto:alan.kavanagh@ericsson.com</a>]
<br>
<b>Sent:</b> Thursday, December 19, 2013 2:14 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [Nova] [Ironic] Get power and temperature via IPMI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="margin-left:108.0pt;text-align:left"><span lang="EN-US" style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN">Hi Gao<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN">What is the reason why you see it would be important to have these two additional metrics “power and temperature” for Nova to base scheduling
on?<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN">Alan<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:11.0pt;color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="margin-left:144.0pt;text-align:left"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN">
Gao, Fengqian [<a href="mailto:fengqian.gao@intel.com">mailto:fengqian.gao@intel.com</a>]
<br>
<b>Sent:</b> December-18-13 1:00 AM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> [openstack-dev] [Nova] [Ironic] Get power and temperature via IPMI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="margin-left:144.0pt;text-align:left"><span style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:ZH-CN">Hi, all,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:ZH-CN">I am planning to extend bp
<a href="https://blueprints.launchpad.net/nova/+spec/utilization-aware-scheduling">
https://blueprints.launchpad.net/nova/+spec/utilization-aware-scheduling</a> with power and temperature. In other words, power and temperature can be collected and used for nova-scheduler just as CPU utilization.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:ZH-CN">I have a question here. As you know, IPMI is used to get power and temperature and baremetal implements IPMI functions in Nova. But baremetal
driver is being split out of nova, so if I want to change something to the IPMI, which part should I choose now? Nova or Ironic?<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:ZH-CN">Best wishes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:ZH-CN">--fengqian<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt"><span lang="EN-US" style="font-size:12.0pt;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
</div>
</body>
</html>