-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renice hyperion-webos process for lower CPU usage #94
Comments
Hi, on my B6V, I use a build that was made just after the introduction of the vsync option. With it, I get 30fps (max), and very acceptable latency. When I updated to the new release (with same config), my CPU usage increases, I get 15fps (max) and latency is a lot higher. I would be glad to help by sharing more information I you want. |
Ich habe 192 × 96 Auflösung auf Manuel gewählt, Priorität in PicCap 4.1 von 150 auf 100 reduziert, Sync auf aus und tatsächlich ging die CPU-Last von hyperion-webos von 73 % auf 27 % und hyperhdr von 12 % auf 3 % zurück. Ich habe die Frame rate auf 20 (max.) eingestellt. Jetzt gibt es auch keine Verzögerung mehr und die Übergänge sind fließend. |
Thanks to @Sinergetikus. He has seen that current version is running in lower FPS as older builds and found out its because of the usage of https://github.com/openlgtv/buildroot-nc4/ toolchain in newer builds. Using the "old" toolchain from https://github.com/webosbrew/meta-lg-webos-ndk/ gives a huge performance boost, which also leads to lower CPU usage, as desired max FPS are reached with less CPU usage. We are using https://github.com/openlgtv/buildroot-nc4/ toolchain to support older webOS versions. |
Performance issue is fixed with #96 |
Since our process is running as native service, we have encountered high CPU usage. Reason might be service register, which makes hyperion-webos able to use more CPU time than in older versions without luna bus registration.
This leads to more unresponsive webOS UI and apps.
To reduce CPU usage it's currently possible to:
renice
after each startWe should implement a priority change using
setpriority()
, which can be set by parameter.The text was updated successfully, but these errors were encountered: