Usercontrol refresh rate

What is a safe refresh rate to use on a v5 brain in your usercontrol loop? I was previously using 50 hz but I changed it to 100 hz and that helped so I was wondering how much I could speed it up without damaging the cpu in the brain.

You’re not going to damage the brain by reducing delay in your code. I believe the controller inputs are updated every 20ms, so I usually set my drive control loop delay to that.