CPU limits for TeamViewer on Ubuntu 18.04

We use teamviewer to connect to workstations that are under a significant and constant CPU load (>80%). The workload is image processing so as an extra challenge these workstations regularly have a live camera stream on the main desktop application window.

When connecting with teamviewer we see CPU spikes that sometimes cause the workstations to get stuck and crash. The spikes in teamviewer CPU usage are interfering with the main workload of the workstations.

Is there a recommended approach to limit teamviewer CPU impact?

  • Setting lower processor priority
  • Having less processor affinity
  • Putting CPU limits in systemd
  • ...

I haven't found anything to my liking yet, recommendations would be very welcome.

thanks!