News for hackers. Stuff that matters.
Re:On Sharding by jedberg on Friday September 27, 2019 @08:01PM (#21097366)
So I studied control theory after I left Reddit and you’re indeed right, it’s a PID issue.

Picking a metric that reacts to changes quickly is neither necessary nor sufficient, but it certainly helps reduce the error on your calculation. You need to know how far off your set point you are and so you need as accurate a measurement as possible.

Imagine a cruise control for a car where the speedometer had a five second delay. You’d still stay at your desired speed on average but it would vary a lot more and require more work to get back to the desired speed. It would have to accelerate harder and brake harder.

Re:On Sharding by ucarion on Saturday September 28, 2019 @02:09AM (#21098771)
Oh I see! I was misunderstanding what you meant by "quickly"; it seems you're referring to the sensor delay / how tight the feedback loop is.

Thanks for explaining!

Re:On Sharding by brandmeyer on Saturday September 28, 2019 @02:31AM (#21098828)
See also Bode stability analysis.

Delay in the feedback path counts against phase margin, requiring you to reduce the loop bandwidth to maintain stability.