4 ms·
> in this case because there is relatively large delay between signal to spin up a server and observed effect of it. PID requires a lot of iterations to stabili
by kbumsik 5y ago
> in this case because there is relatively large delay between signal to spin up a server and observed effect of it. PID requires a lot of iterations to stabilize, which multiplied by delay will require a lot of time.
Then you can tune the PID parameters.
- sk5t 5y agoExactly, you can use PID to turn a small craft or a large ship, or to heat a tiny copper vessel or an enormous iron one. Delayed effect and tuning time to setpoint and overshoot are, like, well within its territory.
- lmilcin 5y agoPID doesn't care how long it takes to achieve stability but sometimes you do. In a lot of cases the time to settle is so short that it doesn't matter but sometimes it does. When you operate datacenter you might not want to wait for hours for PID to spin up the right amount of servers.
- michaelt 5y agoStill, the performance of PID is limited if it takes three minutes to spin up a server. That means either you'd have to run the control loop comparatively slowly (e.g. once every five minutes), or you'd need to have the gain very low, or you'd ave to tolerate a lot of overshoot. None of which will produce great results. A more sophisticated controller would be able to take into account the fact there are servers currently starting up, and only call for more if those already on the way won't be sufficient.
- srean 5y agoI agree with your points but this particular point that you mention ... > A more sophisticated controller would be able to take into > account the fact there are servers currently starting up, > and only call for more if those already on the way won't be sufficient. cant that be modelled into the transfer function characterizing the system. Even linear dynamics are quite capable of modeling sluggish dynamics, so PIDs should be able to handle them fine. If there are strong nonlinearities and the system may start far from a desired set point (to the extent that local linearizations are far too inaccurate) or may venture far out, then yes PID may indeed have trouble.