On Thu, May 6, 2021 at 5:48 AM www.yuehaibo <[email protected]> wrote:
> Hi,I have deployed two guacds on the CentOS server(I7 8Gram), one through > docker and the other through compilation and installation. Then, the real > VNC server is accessed by using different guacds through guacamole client. > It is found that the guacd installed by docker is faster than that > installed by compiler. > > Why does this happen? > Very interesting, and a good question. Off the top of my head I don't know of any particular reason why one would be any faster than the other. A few things to check: * How much faster? I know this may be hard to quantify, but I'm curious about the magnitude of the difference. * Are the resources available to guacd (CPU and RAM, primarily) identical on both systems? * Is the test being done under identical load conditions (same number of connections, etc.)? * If you monitor the systems during the test, do you see anything that stands out in one or the other - higher CPU or RAM utilization, for example? * Where is Guacamole Client in relationship to both guacd instances? On the same system in both cases or a different system? The only other thing I can think of is that maybe the libraries used, in particular the JPEG library, could be different between the Docker guacd container (which is based on Debian) and the CentOS native install. There are a couple of different JPEG libraries available on Linux (libjpeg and libjpeg-turbo), and it could be that one or the other of them performs better. -Nick
