Andrzej Dorobisz created GUACAMOLE-668: ------------------------------------------
Summary: Preferring JPEG due to lower CPU usage - controlling guacd behaviour via some kind of preferences Key: GUACAMOLE-668 URL: https://issues.apache.org/jira/browse/GUACAMOLE-668 Project: Guacamole Issue Type: Wish Components: guacd Reporter: Andrzej Dorobisz In our HPC center, we observe that guacamole-server (guacd) is generating quite high CPU-usage even if only one session is currently processed (it reaches 100% when moving window back and forth). We have tested that using JPEG instead of PNG in "{{__guac_common_surface_flush_}}_" (_src/common/surface.c_) noticeably decreases the CPU usage. When WebP is available it performs better than PNG but still it's slower (in terms of CPU usage) than JPEG. We believe that user running _guacd_ should be able to choose which format is preferred - without recompilation. Our first idea was to use _guacd.conf_ for passing such a preference, but we see that it is not so simple. We have to store such a preference somewhere and then pass it to VNC client which is calling {{__guac_common_surface_flush}} function. ------- What do you think about adding such an ability and what would be the best approach to implement this? If you provide guidance, I can try to implement it. -- This message was sent by Atlassian JIRA (v7.6.3#76005)