TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PID Controller for controlling the number of servers in a data-center

83 pointsby se4ualmost 4 years ago

5 comments

lmilcinalmost 4 years ago
Why not something more intelligent than PID?<p>Control theory knows a lot more algorithms. PID is arguably simple to implement but is not particularly good algorithm.<p>It kinda seems to me as if everybody red only the first page on control theory and decided they don&#x27;t need to read further and base their solution on it.<p>PID will basically have you experience either large overshoots (which you will experience as overcorrecting to changes in demand) or slow adaptation to changes.<p>There is also possibility that your system changes and your PID parameters will cause the whole controller to misbehave.<p>I have implemented a controller for espresso machine boiler water temperature. Replacing PID with moving horizon estimator allowed me to cut time from startup until stable temperature by at least half and eliminate any measurable over or undershoots.
评论 #27733186 未加载
评论 #27734139 未加载
评论 #27733381 未加载
评论 #27734541 未加载
评论 #27733853 未加载
评论 #27733184 未加载
评论 #27734962 未加载
评论 #27734439 未加载
评论 #27743443 未加载
评论 #27733793 未加载
评论 #27735697 未加载
评论 #27733901 未加载
评论 #27733231 未加载
评论 #27734457 未加载
chrisboltalmost 4 years ago
Useful if you’ve never heard of PID controller: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;PID_controller" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;PID_controller</a>
评论 #27733374 未加载
magicalhippoalmost 4 years ago
Not sure how relevant, but reminded me of this thesis[1] which is based on resource closure operators[2]. The thesis applies the model to that of CPU frequency scaling, but I guess a model could be made for something like scaling number of compute nodes.<p>From the abstract of [2]:<p><i>We evaluate a specific design for a resource closure operator by simulation and demonstrate that the operator achieves a near-optimal balance between cost and value without using any model of the relationship between resources and behavior. Instead, the resource operator relies upon its control of the resource to perform experiments and react to their results. These experiments allow the operator to be highly adaptive to change and unexpected contingencies.</i><p>Not my field so not sure if anything significant has been done using this in the past 10 years, or if it fizzled out.<p>[1]: <a href="https:&#x2F;&#x2F;www.duo.uio.no&#x2F;handle&#x2F;10852&#x2F;8753" rel="nofollow">https:&#x2F;&#x2F;www.duo.uio.no&#x2F;handle&#x2F;10852&#x2F;8753</a><p>[2]: <a href="http:&#x2F;&#x2F;citeseerx.ist.psu.edu&#x2F;viewdoc&#x2F;summary?doi=10.1.1.304.3398" rel="nofollow">http:&#x2F;&#x2F;citeseerx.ist.psu.edu&#x2F;viewdoc&#x2F;summary?doi=10.1.1.304....</a>
juangburgosalmost 4 years ago
Useful if you need to adjust the PID gains <a href="https:&#x2F;&#x2F;pidtuner.com" rel="nofollow">https:&#x2F;&#x2F;pidtuner.com</a>
jcalvinowensalmost 4 years ago
Why? A PID controller is <i>always</i> a kludge, here extremely so. Something ad hoc could easily be both more optimal and mathematically simpler to analyze and test.
评论 #27734415 未加载