<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="text-align:left; direction:ltr;">
<div>Hi,</div>
<div>Actually, we are working on providing such feature in combination with aardvark.</div>
<div>The idea is to create a strategy that fills up with preemptible resources, that later on</div>
<div>could be reclaimed by aardvark if a normal instance is deployed.</div>
<div><br>
</div>
<div><a href="https://www.openstack.org/summit/berlin-2018/summit-schedule/events/22248/towards-fully-automated-cern-private-cloud">https://www.openstack.org/summit/berlin-2018/summit-schedule/events/22248/towards-fully-automated-cern-private-cloud</a></div>
<div><a href="https://www.openstack.org/summit/denver-2019/summit-schedule/events/23187/improving-resource-availability-in-cern-private-cloud">https://www.openstack.org/summit/denver-2019/summit-schedule/events/23187/improving-resource-availability-in-cern-private-cloud</a></div>
<div><br>
</div>
<div>Cheers</div>
<div>Jose Castro Leon</div>
<div>CERN Cloud Team</div>
<div><br>
</div>
<div><br>
</div>
<div>On Wed, 2019-05-08 at 14:19 +0800, li.canwei2@zte.com.cn wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div class="zcontentRow">
<p style="font-size:14px;font-family:arial;">another note, Watcher provides a WORKLOAD
<span style="color: rgb(51, 51, 51); font-family: 'Arial Unicode MS', Arial, sans-serif; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);">
optimization(balancing or consolidation).</span></p>
<p style="font-size:14px;font-family:arial;">If you want to maximize the node <span style="line-height: 21px;">resource (such as vCPU, Ram...) usage through</span></p>
<p style="font-size:14px;font-family:arial;"><span style="line-height: 21px;">VM migration, Watcher doesn't have such a strategy now.</span></p>
<p style="font-size:14px;font-family:arial;"><br>
</p>
<p style="font-size:14px;font-family:arial;">Thanks!</p>
<p style="font-size:14px;font-family:arial;">licanwei</p>
<p style="font-size:14px;font-family:arial;"><br>
</p>
<p class="zMailSignTitle" unonamech="李灿伟10013900" unonameen="li canwei10013900" style="display: none;">
<label class="sign_nameUno"></label><span class="sign_arrow"></span></p>
<p style="font-family: 宋体; font-size:14px; line-height: normal; widows: 1;"><span style="font-size:14px;color:#58595B;font-family:微软雅黑;font-size:14px;"><span class="signedit"><br>
</span></span></p>
<p style="font-family: 宋体; font-size:14px; line-height: normal; widows: 1;"><br>
</p>
<span style="line-height: normal; widows: 1; font-size:14px;;color:#58595b;font-size:10px"></span>
<div>
<div class="zhistoryRow" style="display:block">
<div class="zhistoryDes" style="width: 100%; height: 28px; line-height: 28px; background-color: #E0E5E9; color: #1388FF; text-align: center;" language-data="HistoryOrgTxt">
原始邮件</div>
<div id="zwriteHistoryContainer">
<div class="control-group zhistoryPanel">
<div class="zhistoryHeader" style="padding: 8px; background-color: #F5F6F8;">
<div><strong language-data="HistorySenderTxt">发件人:</strong><span class="zreadUserName">MattRiedemann <mriedemos@gmail.com></span></div>
<div><strong language-data="HistoryTOTxt">收件人:</strong><span class="zreadUserName" style="display: inline;">openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org>;</span></div>
<div><strong language-data="HistoryDateTxt">日 期 :</strong><span class="">2019年05月08日 04:57</span></div>
<div><strong language-data="HistorySubjectTxt">主 题 :</strong><span class="zreadTitle"><strong>[watcher][qa] Thoughts on performance testing for Watcher</strong></span></div>
</div>
<div class="zhistoryContent">
<div>Hi,<br>
<br>
I'm new to Watcher and would like to do some performance and scale <br>
testing in a simulated environment and wondering if anyone can give some <br>
pointers on what I could be testing or looking for.<br>
<br>
If possible, I'd like to be able to just setup a single-node devstack <br>
with the nova fake virt driver which allows me to create dozens of fake <br>
compute nodes. I could also create multiple cells with devstack, but <br>
there gets to be a limit with how much you can cram into a single node <br>
8GB RAM 8VCPU VM (I could maybe split 20 nodes across 2 cells). I could <br>
then create dozens of VMs to fill into those compute nodes.<br>
<br>
I'm mostly trying to figure out what could be an interesting set of <br>
tests. The biggest problem I'm trying to solve with Watcher is <br>
optimizing resource utilization, i.e. once the computes hit the Tetris <br>
problem and there is some room on some nodes but none of the nodes are <br>
fully packed.<br>
<br>
I was thinking I could simulate this by configuring nova so it spreads <br>
rather than packs VMs onto hosts (or just use the chance scheduler which <br>
randomly picks a host), using VMs of varying sizes, and then run some <br>
audit / action plan (I'm still learning the terminology here) to live <br>
migrate the VMs such that they get packed onto as few hosts as possible <br>
and see how long that takes. Naturally with devstack using fake nodes <br>
and no networking on the VMs, that live migration is basically a noop, <br>
but I'm more interested in profiling how long it takes Watcher itself to <br>
execute the actions.<br>
<br>
Once I get to know a bit more about how Watcher works, I could help with <br>
optimizing some of the nova-specific stuff using placement [1].<br>
<br>
Any advice or guidance here would be appreciated.<br>
<br>
[1] https://review.opendev.org/#/c/656448/<br>
<br>
-- <br>
<br>
Thanks,<br>
<br>
Matt<br>
</div>
</div>
</div>
</div>
</div>
</div>
<p><br>
</p>
</div>
</blockquote>
</body>
</html>