<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Inline.
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Feb 26, 2015, at 3:32 PM, Ramki Krishnan <<a href="mailto:ramk@Brocade.com" class="">ramk@Brocade.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)" class="">
<style class=""><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:o365IconsIE8;}
@font-face
        {font-family:o365IconsMouse;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
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:12.0pt;
        font-family:"Times New Roman",serif;}
p.ms-cui-menu, li.ms-cui-menu, div.ms-cui-menu
        {mso-style-name:ms-cui-menu;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        background:white;
        font-size:11.0pt;
        font-family:"Segoe UI",sans-serif;
        color:#333333;}
p.ms-cui-menusection-title, li.ms-cui-menusection-title, div.ms-cui-menusection-title
        {mso-style-name:ms-cui-menusection-title;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        display:none;}
p.ms-cui-ctl, li.ms-cui-ctl, div.ms-cui-ctl
        {mso-style-name:ms-cui-ctl;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:#333333;}
p.ms-cui-ctl-on, li.ms-cui-ctl-on, div.ms-cui-ctl-on
        {mso-style-name:ms-cui-ctl-on;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        background:#DFEDFA;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.ms-cui-img-cont-float, li.ms-cui-img-cont-float, div.ms-cui-img-cont-float
        {mso-style-name:ms-cui-img-cont-float;
        mso-style-priority:99;
        margin-top:1.5pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.ms-cui-smenu-inner, li.ms-cui-smenu-inner, div.ms-cui-smenu-inner
        {mso-style-name:ms-cui-smenu-inner;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.ms-owa-paste-option-icon, li.ms-owa-paste-option-icon, div.ms-owa-paste-option-icon
        {mso-style-name:ms-owa-paste-option-icon;
        mso-style-priority:99;
        margin-top:1.5pt;
        margin-right:3.0pt;
        margin-bottom:0in;
        margin-left:3.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        vertical-align:sub;}
p.ms-rtepasteflyout-option, li.ms-rtepasteflyout-option, div.ms-rtepasteflyout-option
        {mso-style-name:ms-rtepasteflyout-option;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.ms-cui-menusection, li.ms-cui-menusection, div.ms-cui-menusection
        {mso-style-name:ms-cui-menusection;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.wf, li.wf, div.wf
        {mso-style-name:wf;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.wf-family-owa, li.wf-family-owa, div.wf-family-owa
        {mso-style-name:wf-family-owa;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsMouse;}
p.wf-owa-play-large, li.wf-owa-play-large, div.wf-owa-play-large
        {mso-style-name:wf-owa-play-large;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.wf-size-play-large, li.wf-size-play-large, div.wf-size-play-large
        {mso-style-name:wf-size-play-large;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.wf-family-owa1, li.wf-family-owa1, div.wf-family-owa1
        {mso-style-name:wf-family-owa1;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsIE8;}
p.wf-owa-play-large1, li.wf-owa-play-large1, div.wf-owa-play-large1
        {mso-style-name:wf-owa-play-large1;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:white;}
p.wf-owa-play-large2, li.wf-owa-play-large2, div.wf-owa-play-large2
        {mso-style-name:wf-owa-play-large2;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        text-align:center;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:white;}
p.wf-size-play-large1, li.wf-size-play-large1, div.wf-size-play-large1
        {mso-style-name:wf-size-play-large1;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman",serif;}
p.wf-size-play-large2, li.wf-size-play-large2, div.wf-size-play-large2
        {mso-style-name:wf-size-play-large2;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle37
        {mso-style-type:personal;
        font-family:"Arial",sans-serif;
        color:black;
        font-weight:normal;
        font-style:normal;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle40
        {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:8.5in 11.0in;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:562837415;
        mso-list-type:hybrid;
        mso-list-template-ids:-14367710 -105722318 67895299 67895301 67895297 67895299 67895301 67895297 67895299 67895301;}
@list l0:level1
        {mso-level-start-at:3;
        mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:53.4pt;
        text-indent:-.25in;
        mso-ansi-font-size:12.0pt;
        font-family:Wingdings;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";
        color:windowtext;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:89.4pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:125.4pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:161.4pt;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:197.4pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:233.4pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:269.4pt;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:305.4pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:341.4pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1
        {mso-list-id:920062328;
        mso-list-type:hybrid;
        mso-list-template-ids:-1878756118 -255961220 67895299 67895301 67895297 67895299 67895301 67895297 67895299 67895301;}
@list l1:level1
        {mso-level-start-at:2;
        mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:53.4pt;
        text-indent:-.25in;
        font-family:Wingdings;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:89.4pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:125.4pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:161.4pt;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:197.4pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:233.4pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:269.4pt;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:305.4pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:341.4pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l2
        {mso-list-id:1267277464;
        mso-list-type:hybrid;
        mso-list-template-ids:278404720 67895313 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l2:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l2:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;}
@list l2:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:1.25in;
        text-indent:-9.0pt;}
@list l2:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.75in;
        text-indent:-.25in;}
@list l2:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.25in;}
@list l2:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:2.75in;
        text-indent:-9.0pt;}
@list l2:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.25in;
        text-indent:-.25in;}
@list l2:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.75in;
        text-indent:-.25in;}
@list l2:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:4.25in;
        text-indent:-9.0pt;}
@list l3
        {mso-list-id:1317566395;
        mso-list-type:hybrid;
        mso-list-template-ids:278404720 67895313 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l3:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l3:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;}
@list l3:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:1.25in;
        text-indent:-9.0pt;}
@list l3:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.75in;
        text-indent:-.25in;}
@list l3:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.25in;}
@list l3:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:2.75in;
        text-indent:-9.0pt;}
@list l3:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.25in;
        text-indent:-.25in;}
@list l3:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.75in;
        text-indent:-.25in;}
@list l3:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:4.25in;
        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]-->
<div lang="EN-US" link="blue" vlink="purple" class="">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">1)<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Ruby: One of the issues highlighted in OpenStack (scheduler) and also elsewhere (e.g. Omega scheduler by google) is :</span><span lang="FR" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Reading “host utilization” state from the data bases and DB (nova:host table) updates and overhead of maintaining in-memory state
 uptodate.</span><span lang="FR" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:53.4pt;text-indent:-.25in;mso-list:l1 level1 lfo6">
<!--[if !supportLists]--><span lang="FR" style="font-size: 11pt; font-family: Wingdings;" class=""><span style="mso-list:Ignore" class="">ð<span style="font:7.0pt "Times New Roman"" class=""> 
</span></span></span><!--[endif]--><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">This is expensive and current nova-scheduler does face this issue (many blogs/discussions).</span><span lang="FR" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">      While the first goal is a PoC, this will likely become a concern in terms of adoption.</span><span lang="FR" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">  </span><span lang="FR" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Tim: So you’re saying we won’t have fresh enough data to make policy decisions?  If the data changes so frequently that we can’t get an accurate view, then I’m guessing
 we shouldn’t be migrating based on that data anyway. Could you point me to some of these discussions?<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Ramki: We have to keep in mind that VM migration could be an expensive operation depending on the size of the VM and various other factors; such an operation cannot
 be performed frequently.<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">2)<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">>>From document: As soon as the subscription occurs, the DSE sends the VM-placement engine the current contents of those tables, and when these tables change, the
 DSE informs the VM-placement engine in the form of diffs (aka deltas or updates).</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Ramki: Is the criteria for table change programmable? This would be useful to generate significant change events based on application needs.<o:p class=""></o:p></span></p>
<p class="MsoNormal"></p>
</div>
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">Not as of now.  We’ve kicked around the idea of changing a subscription from an entire table to an arbitrary slice of a table (expressed via Datalog).  That functionality will be necessary for dealing with large datasources like Ceilometer.  But
 we don’t have the design fleshed out or the people to build it.</div>
<div class=""><br class="">
</div>
<div class="">Tim</div>
<div class=""><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div lang="EN-US" link="blue" vlink="purple" class="">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thanks,<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Ramki</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D" class=""> </span></p>
<div class="">
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in" class="">
<p class="MsoNormal"><b class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class="">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class=""> Tim Hinrichs [<a href="mailto:thinrichs@vmware.com" class="">mailto:thinrichs@vmware.com</a>]
<br class="">
<b class="">Sent:</b> Thursday, February 26, 2015 10:17 AM<br class="">
<b class="">To:</b> OpenStack Development Mailing List (not for usage questions)<br class="">
<b class="">Subject:</b> Re: [openstack-dev] [Congress][Delegation] Initial workflow design<o:p class=""></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p class=""> </o:p></p>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Inline.<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in" class="">
<p class="MsoNormal"><b class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">From:
</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">"<a href="mailto:ruby.krishnaswamy@orange.com" class="">ruby.krishnaswamy@orange.com</a>" <<a href="mailto:ruby.krishnaswamy@orange.com" class="">ruby.krishnaswamy@orange.com</a>><br class="">
<b class="">Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" class="">openstack-dev@lists.openstack.org</a>><br class="">
<b class="">Date: </b>Wednesday, February 25, 2015 at 8:53 AM<br class="">
<b class="">To: </b>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" class="">openstack-dev@lists.openstack.org</a>><br class="">
<b class="">Subject: </b>Re: [openstack-dev] [Congress][Delegation] Initial workflow design<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Hi Tim, All,</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:-.25in;mso-list:l2 level1 lfo7">
<!--[if !supportLists]--><span lang="FR" style="" class=""><span style="mso-list:Ignore" class="">1)<span style="font:7.0pt "Times New Roman"" class="">    
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Step 3: The VM-placement engine is also a “datalog engine” . Right?</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">When policies are delegated:
</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:17.4pt"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">when policies are inserted? When the VM-placement engine has already registered itself all policies are given to
 it?</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:17.4pt"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">     
</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:17.4pt"><span style="" class="">“In our example, this would mean the domain-specific policy engine executes the following API call over the DSE”</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:53.4pt;text-indent:-.25in;mso-list:l0 level1 lfo4">
<!--[if !supportLists]--><span lang="FR" style="font-family:Wingdings" class=""><span style="mso-list:Ignore" class="">ð<span style="font:7.0pt "Times New Roman"" class="">
</span></span></span><!--[endif]--><span style="" class="">“domain-agnostic” ….</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Done.<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:-.25in;mso-list:l2 level1 lfo7">
<!--[if !supportLists]--><span lang="FR" style="" class=""><span style="mso-list:Ignore" class="">2)<span style="font:7.0pt "Times New Roman"" class="">    
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Step 4:</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Ok</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">But finally: if Congress will likely “delegate”
</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Not sure what you’re suggesting here.<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:-.25in;mso-list:l2 level1 lfo7">
<!--[if !supportLists]--><span lang="FR" style="" class=""><span style="mso-list:Ignore" class="">3)<span style="font:7.0pt "Times New Roman"" class="">    
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Step 5:  Compilation of subpolicy to LP in VM-placement engine</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:35.4pt"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">For the PoC, it is likely that the LP program ( in PuLP or some other ML) is *<b class="">not</b>* completely generated by compiler/translator.</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:53.4pt;text-indent:-.25in;mso-list:l1 level1 lfo6">
<!--[if !supportLists]--><span lang="FR" style="font-family: Wingdings;" class=""><span style="mso-list:Ignore" class="">ð<span style="font:7.0pt "Times New Roman"" class="">
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Right?</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Where does the rest of the program originate?  I’m not saying the entire LP program is generated from the Datalog constraints; some of it is generated by the solver
 independent of the Datalog.  In the text, I gave the example of defining hMemUse[j].<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">     You also indicate that some category of constraints (“</span><span style="" class="">the LP solver doesn’t know what the relationship
 between assign[i][j], hMemUse[j], and vMemUse[i] actually is, so the VM-placement engine must also include constraints”) .</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="" class="">     </span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">These constraints must be “explicitly” written?</span><span style="" class=""> 
</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">(e.g. max_ram_allocation etc that are constraints used in the solver-scheduler’s package).</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">The VM-placement engine does 2 things: (I) translates Datalog to LP and (ii) generates additional LP constraints.  (Both work items could leverage any constraints
 that are builtin to a specific solver, e.g. the solver-scheduler.  The point is that there are 2 distinct, conceptual origins of the LP constraints: those that represent the Datalog and those that codify the domain.<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">         So what “parts” will be generated:
</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">            Cost function :
</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">            Constraint from Policy : memory usage < 75%
</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">           
</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">         Then the rest should be “filled” up?</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">         Could we convene on an intermediary “modeling language”?</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">            @Yathi: do you think we could use some thing like AMPL ? Is this proprietary?</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">    A detail: the example “</span><span style="font-family: 'Courier New';" class="">Y[host1] = hMemUse[host1] > 0.75 * hMemCap[host1]</span><span style="" class="">”</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:53.4pt;text-indent:-.25in;mso-list:l1 level1 lfo6">
<!--[if !supportLists]--><span lang="FR" style="font-family: Wingdings;" class=""><span style="mso-list:Ignore" class="">ð<span style="font:7.0pt "Times New Roman"" class="">
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">To be changed to a linear form (mi – Mi > 0 then Yi = 1 else Yi = 0) so something like (mi – Mi) < 100 yi</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Each domain-specific solver can do whatever it wants, so it’s not clear to me what the value of choosing a modeling language actually is—unless we want to build
 a library of common functionality that makes the construction of domain-specific engine (wrappers) easier.  I’d prefer to spend our energy understanding whether the proposed workflow/interface works for a couple of different domain-specific policy engines
 OR to flush this one out and build it.<o:p class=""></o:p></span></p>
</div>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoNormal"><span style="" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:-.25in;mso-list:l2 level1 lfo7">
<!--[if !supportLists]--><span lang="FR" style="" class=""><span style="mso-list:Ignore" class="">4)<span style="font:7.0pt "Times New Roman"" class="">    
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Step 6: This is completely internal to the VM-placement engine (and we could say this is “transparent” to Congress)</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">We should allow configuration of a solver (this itself could be a policy
</span><span style="font-size: 10pt; font-family: Wingdings;" class="">J</span><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> )</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">How to invoke the solver API ?  </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">The domain-specific placement engine could send out to DSE (action_handler: data)?</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">I had always envisioned the solver being just a library of code—not an entity that sits on the DSE itself.  <o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">3)   Step 7 : Perform the migrations (according to the assignments computed in the step 6)</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">     This part invokes OpenStack API (to perform migrations).</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">     We may suppose that there are services implementing “action handlers”?</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">     It can listen on the DSE and execute the action.</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">That interface is supposed to exist by the Kilo release.  I’ll check up on the progress.<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:-.25in;mso-list:l2 level1 lfo7">
<!--[if !supportLists]--><span lang="FR" style="" class=""><span style="mso-list:Ignore" class="">5)<span style="font:7.0pt "Times New Roman"" class="">    
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Nova tables to use</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Policy
</span><span style="font-family: 'Courier New';" class="">warning(id) :-</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family: 'Courier New';" class="">    nova:host(id, name, service, zone, memory_capacity),</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family: 'Courier New';" class="">    legacy:special_zone(zone),</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family: 'Courier New';" class="">    ceilometer:statistics(id, "memory", avg, count, duration,</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:2.5in"><span style="font-family: 'Courier New';" class="">     durstart, durend, max, min, period,</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:2.5in;text-indent:.5in"><span style="font-family: 'Courier New';" class="">perstart, perend, sum, unit),</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family: 'Courier New';" class="">    avg > 0.75 * memory_capacity</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">I believe that ceilometer gives usage of VMs and not hosts. The host table (ComputeNode table) should give current used capacity.
</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Good to know.  <o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:-.25in;mso-list:l2 level1 lfo7">
<!--[if !supportLists]--><span lang="FR" style="" class=""><span style="mso-list:Ignore" class="">6)<span style="font:7.0pt "Times New Roman"" class="">    
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">One of the issues highlighted in OpenStack (scheduler) and also elsewhere (e.g. Omega scheduler by google) is :</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.25in"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Reading “host utilization” state from the data bases and DB (nova:host table) updates and overhead of maintaining in-memory state uptodate.</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:53.4pt;text-indent:-.25in;mso-list:l1 level1 lfo6">
<!--[if !supportLists]--><span lang="FR" style="font-family: Wingdings;" class=""><span style="mso-list:Ignore" class="">ð<span style="font:7.0pt "Times New Roman"" class="">
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">This is expensive and current nova-scheduler does face this issue (many blogs/discussions).</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">      While the first goal is a PoC, this will likely become a concern in terms of adoption.</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">So you’re saying we won’t have fresh enough data to make policy decisions?  If the data changes so frequently that we can’t get an accurate view, then I’m guessing
 we shouldn’t be migrating based on that data anyway.<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Could you point me to some of these discussions?<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoListParagraph" style="margin-left:.25in;text-indent:-.25in;mso-list:l2 level1 lfo7">
<!--[if !supportLists]--><span lang="FR" style="" class=""><span style="mso-list:Ignore" class="">7)<span style="font:7.0pt "Times New Roman"" class="">    
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">While in this document you have changed the “example” policy, could we drill down the set of policies for the PoC (the server under utilization ?)</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:53.4pt;text-indent:-.25in;mso-list:l1 level1 lfo6">
<!--[if !supportLists]--><span lang="FR" style="font-family: Wingdings;" class=""><span style="mso-list:Ignore" class="">ð<span style="font:7.0pt "Times New Roman"" class="">
</span></span></span><!--[endif]--><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">As a reference
</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</blockquote>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Sure.  The only reason I chose this policy was because it doesn’t have aggregation.  I’m guessing we’ll want to avoid aggregation for the POC because we don’t yet
 have it in Congress, and it complicates the problem of translating Datalog to LP substantially.  <o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Tim<o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class="">Ruby</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<div class="">
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in" class="">
<p class="MsoNormal"><b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">De :</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""> Yathiraj Udupi (</span><span lang="FR" style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">yudupi)
 [<a href="mailto:yudupi@cisco.com" class="">mailto:yudupi@cisco.com</a>] <br class="">
<b class="">Envoyé :</b> mardi 24 février 2015 20:01<br class="">
<b class="">À :</b> OpenStack Development Mailing List (not for usage questions); Tim Hinrichs<br class="">
<b class="">Cc :</b> Debo Dutta (dedutta)<br class="">
<b class="">Objet :</b> Re: [openstack-dev] [Congress][Delegation] Initial workflow design</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="FR" style="" class=""> <o:p class=""></o:p></span></p>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Hi Tim, </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Thanks for your updated doc on Delegation from Congress to a domain-specific policy engine, in this case, you are planning to build a LP-based VM-Placement
 engine to be the domain specific policy engine. </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">I agree your main goal is to first get the delegation interface sorted out.  It will be good so that external services (like Solver-Scheduler) can also
 easily integrate to the delegation model. </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">From the Solver-Scheduler point of view,  we would actually want to start working on a PoC effort to start integrating Congress and the Solver-Scheduler.
   </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">We believe rather than pushing this effort to a long-term,  it would add value to both the Solver Scheduler effort, as well as the Congress effort to
 try some early integration now, as most of the LP solver work for VM placements is ready available now in Solver scheduler, and we need to spend some time thinking about translating your domain-agnostic policy to constraints that the Solver scheduler can use. </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">I would definitely need your help from the Congress interfaces and I hope you will share your early interfaces for the delegation, so I can start the
 effort from the Solver scheduler side for integration.  </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">I will reach out to you to get some initial help for integration w.r.t. Congress, and also keep you posted about the progress from our side. </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Thanks,</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">Yathi. </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<div class="">
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class="">On 2/23/15, 11:28 AM, "Tim Hinrichs" <<a href="mailto:thinrichs@vmware.com" class="">thinrichs@vmware.com</a>> wrote:</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
<div class="">
<p class="MsoNormal"><span lang="FR" style="font-size: 10.5pt; font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" class="">
<div class="">
<div class="">
<div class="">
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class="">Hi all,</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class="">I made a heavy editing pass of the Delegation google doc, incorporating many of your comments and my latest investigations into VM-placement.  I left the
 old stuff in place at the end of the doc and put the new stuff at the top.  </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class="">My goal was to propose an end-to-end workflow for a PoC that we could put together quickly to help us explore the delegation interface.  We should iterate
 on this design until we have something that we think is workable.   And by all means pipe up if you think we need a totally different starting point to begin the iteration.  </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class="">(BTW I'm thinking of the integration with solver-scheduler as a long-term solution to VM-placement, once we get the delegation interface sorted out.)</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class=""><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.google.com_document_d_1ksDilJYXV-2D5AXWON8PLMedDKr9NpS8VbT0jIy-5FMIEtI_edit&d=AwMFAw&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=B6BWd4kFfgOzAREgThxkmTZKy7dDXE2-eBAmL0PBK7s&m=kF8jMOpogOhk8MJWvNMKJC3PiNImxWpZeD2o642YM2s&s=8PV5EW-kz8Q9aP9riFbIjJXJNZXchx2NsL-Z3Y7E5Vg&e=" class="">https://docs.google.com/document/d/1ksDilJYXV-5AXWON8PLMedDKr9NpS8VbT0jIy_MIEtI/edit#</a></span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class=""> </span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
<p style="background:white" class=""><span lang="FR" style="font-family: Calibri, sans-serif;" class="">Tim</span><span lang="FR" style="" class=""><o:p class=""></o:p></span></p>
</div>
</div>
</div>
</blockquote>
<pre class=""><span lang="FR" style="" class="">_________________________________________________________________________________________________________________________<o:p class=""></o:p></span></pre>
<pre class=""><span lang="FR" style="" class=""> </span></pre>
<pre class=""><span lang="FR" style="" class="">Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc<o:p class=""></o:p></span></pre>
<pre class=""><span lang="FR" style="" class="">pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler<o:p class=""></o:p></span></pre>
<pre class=""><span lang="FR" style="" class="">a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,<o:p class=""></o:p></span></pre>
<pre class=""><span lang="FR" style="" class="">Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.<o:p class=""></o:p></span></pre>
<pre class=""><span lang="FR" style="" class=""> </span></pre>
<pre class=""><span lang="FR" style="" class="">This message and its attachments may contain confidential or privileged information that may be protected by law;<o:p class=""></o:p></span></pre>
<pre class=""><span lang="FR" style="" class="">they should not be distributed, used or copied without authorisation.<o:p class=""></o:p></span></pre>
<pre class=""><span lang="FR" style="" class="">If you have received this email in error, please notify the sender and delete this message and its attachments.<o:p class=""></o:p></span></pre>
<pre class=""><span lang="FR" style="" class="">As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.<o:p class=""></o:p></span></pre>
<pre class=""><span lang="FR" style="" class="">Thank you.<o:p class=""></o:p></span></pre>
</div>
</div>
</blockquote>
</div>
</div>
__________________________________________________________________________<br class="">
OpenStack Development Mailing List (not for usage questions)<br class="">
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">
OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br class="">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>