Calling API to manage power limits multiple times a second. Is it ok?


I have written a simple applet for Linux that tries to keep the GPU fan speed under control by changing the power limits (namely by lowering power limits if the fan starts spinning faster than a given threshold) - otherwise doing the opposite when the fan is spinning below a the given threshold.

I achieved this via calling nvmlDeviceSetPowerManagementLimit multiple times, sometimes 4 times a second.

Does calling this API so frequently have long terms implications for hardware?
Am I going to break it?


Anyone got any idea? @nvidia mods?