intelligent-agent / Refactor

Linux distro for 3D-printers
https://wiki.iagent.no/wiki/Refactor
GNU Affero General Public License v3.0
28 stars 18 forks source link

CPU governor is not set to performance by default #31

Closed goeland86 closed 7 years ago

goeland86 commented 7 years ago

Problems with intermittent pauses in printing can be partially traced back to the CPU trying to go into a powersaving mode, and the dynamic frequency switching.

To prevent this, the CPU governor should be set to "performance" instead of the default "ondemand".

Add cpufreq-utils to the list of packages to install, and add the file /etc/default/cpufrequtils with the content: GOVERNOR="performance"

goeland86 commented 7 years ago

As a further note, run a test evaluating whether additional plugins cause octoprint CPU usage to jump or not - it may be worth revisiting the assumptions about whether or not more than the kamikaze-required plugins should be bundled.

goeland86 commented 7 years ago

I will confirm that switching to performance governor really helps on complex models. However new defaults need to be set for Redeem delta printer configurations - the default buffer is too short for complex paths at any delta-like print speeds.