<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>As far as the send only when you have to. That reminds me of this piece of work that could be resurrected that slowed down the periodic updates when nothing was changing.</div>
<div><br>
</div>
<div><a href="https://review.openstack.org/#/c/26291">https://review.openstack.org/#/c/26291</a>/</div>
<div><br>
</div>
<div>Could be brought back, the concept still feels useful imho. But maybe not to others :-P</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Boris Pavlovic <<a href="mailto:boris@pavlovic.me">boris@pavlovic.me</a>><br>
<span style="font-weight:bold">Reply-To: </span>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, July 24, 2013 12:12 PM<br>
<span style="font-weight:bold">To: </span>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] A simple way to improve nova scheduler<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi Mike,<br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jul 24, 2013 at 1:01 AM, Mike Wilson <span dir="ltr">
<<a href="mailto:geekinutah@gmail.com" target="_blank">geekinutah@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Again I can only speak for qpid, but it's not really a big load on the qpidd server itself. I think the issue is that the updates come in serially into each scheduler that you have running. We don't process those quickly enough for it to do any
 good, which is why the lookup from db. You can see this for yourself using the fake hypervisor, launch yourself a bunch of simulated nova-compute, launch a nova-scheduler on the same host and even with 1k or so you will notice the latency between the update
 being sent and the update actually meaning anything for the scheduler.
<div><br>
</div>
<div>I think a few points that have been brought up could mitigate this quite a bit. My personal view is the following:</div>
<div><br>
</div>
<div>-Only update when you have to (ie. 10k nodes all sending update every periodic interval is heavy, only send when you have to)</div>
<div>-Don't fanout to schedulers, update a single scheduler which in turn updates a shared store that is fast such as memcache</div>
<div><br>
</div>
<div>I guess that effectively is what you are proposing with the added twist of the shared store.</div>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>Absolutely agree with this. Especially with using memcached (or redis) as common storage for all schedulers. </div>
<div><br>
</div>
<div>Best regards,</div>
<div>Boris Pavlovic</div>
<div>---</div>
<div>Mirantis Inc. </div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>