You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Manoj Patil <ma...@gmail.com> on 2020/03/01 04:57:03 UTC

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Dear,

Thanks your valuable replay .

I observe that when data send from server to client in image/PNG and PNG
take to much bandwidth rather than *Webp.*

*Please guide us how i am enable or decode image data/PNG to image
data/Webp in guacamole server with tomcat with compression?*


On Sun, 1 Mar 2020 at 01:40, Mike Jumper <mj...@apache.org> wrote:

> On Sat, Feb 29, 2020 at 6:17 AM Manoj Patil <ma...@gmail.com> wrote:
>
>> Dear mike,
>>
>> We have captured the Guacamole screen recording as per your suggestions.
>> please find attachment and guide us what data is sent .
>>
>
> Looking through the recording, everything looks absolutely fine. All
> updates are incremental, and updates to large parts of the screen are only
> sent when those parts of the screen have indeed changed. This change is
> sometimes subtle (a window border changes color due to losing focus, drop
> shadow appears in front of something that otherwise hasn't changed, buttons
> become enabled/disabled, etc.), but the changes are there.
>
> The raw data is just over 5 MB and covers a session around 8 minutes in
> length. Average bandwidth usage over that timeframe would have been around
> 86 Kbps (10 KB/s), however that actually would have been closer to 57 Kbps
> (7 KB/s) with the additional gzip compression typically applied between
> Tomcat and the browser.
>
> There is no problem here.
>
> How we can see that file data?
>>
>
> You can manually walk through the data - the Guacamole protocol is text
> and is documented:
>
> http://guacamole.apache.org/doc/gug/guacamole-protocol.html
> http://guacamole.apache.org/doc/gug/protocol-reference.html
>
> You can also play back the recording in-browser and watch as parts of the
> recording are decoded. There's an example of this in the Guacamole source:
>
>
> https://github.com/apache/guacamole-client/tree/master/doc/guacamole-playback-example
>
> There's also a third-party hosted version of the above which I wrote for
> my day job that has some modifications to support loading larger files:
>
> https://player.glyptodon.com/
>
> - Mike
>
>

-- 
Thanks & Regards,

Manoj Patil.(Asst. Manager DBA)
Netwin Systems & Softwares(I) Pvt.Ltd
Nasik.
Mobile No -+91-9922507588
Email- manoj2patil@gmail.com

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by ivanmarcus <iv...@yahoo.com.INVALID>.
Manoj,

If you've isolated your bandwidth issue to Xrdp that's useful. My 
comments around FreeRDP could be equally applied to Xrdp insofar as 
there may be some tweaks available, or some useful resource your company 
could provide the Xrdp project.

I've not had a lot to do with Xrdp myself so there's nothing more I can 
say. Others may be able to comment but ultimately you will probably need 
to research that yourself. Should you achieve your goal it would be 
useful to post back what you did to the group.

I see Mike has replied to you regarding the browser <-> Guacamole 
disconnect you're experiencing.


On 11/03/2020 4:15 p.m., Manoj Patil wrote:
> ivanmarcus,
>
> Thanks for cooperation .
>
> Xrdp observation----------
>
> As per observation and experience i think the measure issue at Xrdp 
> side . Xrdp send the images in bitmap and jpeg compression but i could 
> not see the compression is done or not.
>
> second thing is when you move the mouse pointer on RDp session then it 
> also send the bytes .
>
> third one is , its calculate the RDP desktop in BPP,Width and 
> Hight and show  this bitmap to client . (rendering)
>
> TLS 1.2 calls is default implemented in and it send request(read 
> write) in 100 ms .
>
> At Guacamole Side---
>
> When Browser to Guacamole in idle no send receive .
>
> But when connect to RDP session its continuously checking keepalive 
> then some bytes to be increased .
>
> When at client side latency is 400-500 guacamole disconnected frequently .
>
>  can you help in this to increased the parameter for checking the 
> connection to keepalive and checking latency.
>
>
>
>
>
>
>
>
>
> On Wed, 11 Mar 2020 at 02:12, ivanmarcus 
> <iv...@yahoo.com.invalid> wrote:
>
>     Manoj,
>
>
>     On 11/03/2020 12:02 a.m., Manoj Patil wrote:
>>     When connect to FreeRDP client-> xrdp ,bandwidth utilization is
>>     also High in idle condition.  In running condition using freerdp
>>     client utilization is High.
>
>     Thank you for doing this test. From the above comment I take it
>     that what you experience with the FreeRDP client <-> Xrdp is
>     similar to what you have with Guacamole <-> Xrdp, and results in
>     the issue you raise.
>
>     As you're probably aware Guacamole uses FreeRDP for RDP
>     connections to Xrdp. If the bandwidth requirement using FreeRDP
>     directly, without Guacamole, is problematic for you then it's
>     likely the issue results from FreeRDP rather than Guacamole.
>
>     FreeRDP is a separate project to Guacamole. You should research
>     your issue in relation to FreeRDP, rather than Guacamole, as this
>     may give you the answers you're looking for. Possibly it's just a
>     function of the way FreeRDP works and you will simply need to
>     allocate more bandwidth as Mike has already suggested, or there
>     may be some parameters you can tweak.
>
>     Concluding, I note that FreeRDP, as with Guacamole, is an
>     open-source project. If you've discovered an issue that is causing
>     you a problem then your company could consider putting some
>     resource into fixing/improving that issue? Not only would that
>     make things better for you, it would also assist the wider
>     community who've provided the base for your service, including,
>     ultimately, Guacamole.
>
>
>
> -- 
> Thanks & Regards,
>
> Manoj Patil.(Asst. Manager DBA)
> Netwin Systems & Softwares(I) Pvt.Ltd
> Nasik.
> Mobile No -+91-9922507588
> Email- manoj2patil@gmail.com <ma...@gmail.com>


Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Mike Jumper <mj...@apache.org>.
On Tue, Mar 10, 2020 at 8:15 PM Manoj Patil <ma...@gmail.com> wrote:

> ...
> When at client side latency is 400-500 guacamole disconnected frequently .
>
> can you help in this to increased the parameter for checking the
> connection to keepalive and checking latency.
>

The timeout at all levels of the Guacamole stack is 15 seconds, well above
400-500ms. If you are seeing disconnects, the cause is not the latency of
your link, nor is there likely some parameter you need to change within
Guacamole. It is more likely that something on the network is interfering
with the Guacamole connection, such as a proxy which does not support
WebSocket (or is not configured properly for WebSocket) and which buffers
HTTP connections.

- Mike

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
ivanmarcus,

Thanks for cooperation .

Xrdp observation----------

As per observation and experience i think the measure issue at Xrdp side .
Xrdp send the images in bitmap and jpeg compression but i could not see the
compression is done or not.

second thing is when you move the mouse pointer on RDp session then it also
send the bytes .

third one is , its calculate the RDP desktop in BPP,Width and Hight and
show  this bitmap to client . (rendering)

TLS 1.2 calls is default implemented in and it send request(read write) in
100 ms .

At Guacamole Side---

When Browser to Guacamole in idle no send receive .

But when connect to RDP session its continuously checking keepalive then
some bytes to be increased .

When at client side latency is 400-500 guacamole disconnected frequently .

 can you help in this to increased the parameter for checking the
connection to keepalive and checking latency.








On Wed, 11 Mar 2020 at 02:12, ivanmarcus <iv...@yahoo.com.invalid>
wrote:

> Manoj,
>
> On 11/03/2020 12:02 a.m., Manoj Patil wrote:
>
> When connect to FreeRDP client-> xrdp ,bandwidth utilization is also High
> in idle condition.  In running condition using freerdp client utilization
> is High.
>
>
> Thank you for doing this test. From the above comment I take it that what
> you experience with the FreeRDP client <-> Xrdp is similar to what you have
> with Guacamole <-> Xrdp, and results in the issue you raise.
>
> As you're probably aware Guacamole uses FreeRDP for RDP connections to
> Xrdp. If the bandwidth requirement using FreeRDP directly, without
> Guacamole, is problematic for you then it's likely the issue results from
> FreeRDP rather than Guacamole.
>
> FreeRDP is a separate project to Guacamole. You should research your issue
> in relation to FreeRDP, rather than Guacamole, as this may give you the
> answers you're looking for. Possibly it's just a function of the way
> FreeRDP works and you will simply need to allocate more bandwidth as Mike
> has already suggested, or there may be some parameters you can tweak.
>
> Concluding, I note that FreeRDP, as with Guacamole, is an open-source
> project. If you've discovered an issue that is causing you a problem then
> your company could consider putting some resource into fixing/improving
> that issue? Not only would that make things better for you, it would also
> assist the wider community who've provided the base for your service,
> including, ultimately, Guacamole.
>


-- 
Thanks & Regards,

Manoj Patil.(Asst. Manager DBA)
Netwin Systems & Softwares(I) Pvt.Ltd
Nasik.
Mobile No -+91-9922507588
Email- manoj2patil@gmail.com

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by ivanmarcus <iv...@yahoo.com.INVALID>.
Manoj,


On 11/03/2020 12:02 a.m., Manoj Patil wrote:
> When connect to FreeRDP client-> xrdp ,bandwidth utilization is also 
> High in idle condition.  In running condition using freerdp client 
> utilization is High.

Thank you for doing this test. From the above comment I take it that 
what you experience with the FreeRDP client <-> Xrdp is similar to what 
you have with Guacamole <-> Xrdp, and results in the issue you raise.

As you're probably aware Guacamole uses FreeRDP for RDP connections to 
Xrdp. If the bandwidth requirement using FreeRDP directly, without 
Guacamole, is problematic for you then it's likely the issue results 
from FreeRDP rather than Guacamole.

FreeRDP is a separate project to Guacamole. You should research your 
issue in relation to FreeRDP, rather than Guacamole, as this may give 
you the answers you're looking for. Possibly it's just a function of the 
way FreeRDP works and you will simply need to allocate more bandwidth as 
Mike has already suggested, or there may be some parameters you can tweak.

Concluding, I note that FreeRDP, as with Guacamole, is an open-source 
project. If you've discovered an issue that is causing you a problem 
then your company could consider putting some resource into 
fixing/improving that issue? Not only would that make things better for 
you, it would also assist the wider community who've provided the base 
for your service, including, ultimately, Guacamole.

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
Dear,

When i am connecting through MSRD client to xrdp --

In idle mode Bandwidth utilization is low ,but when i move mouse pointer
over windows and run my application bandwidth is utilized high.

In reverse i am connect MSRD client to MSRD (windows) host  in idle
condition bandwidth is low , when i am move mouse pointer over windows or
run application on windows host the utilization of bandwidth is very low.

When connect to FreeRDP client-> xrdp ,bandwidth utilization is also High
in idle condition.  In running condition using freerdp client utilization
is High.







On Tue, 10 Mar 2020 at 13:15, ivanmarcus <iv...@yahoo.com.invalid>
wrote:

> Manoj,
>
> I think the answer you're giving is 'yes' - ie. that the issue you're
> experiencing is in fact between Guacamole and the Xrdp machine(?).
>
> In that case, for the next step, could you try connecting to your Xrdp
> machine directly via:
>
> (1) MSRD client
>
> (2) FreeRDP client
> And compare the experience/bandwidth utilisation of these two clients
> (doing the same tasks, incl idle)?
>
>
>
> On 10/03/2020 5:48 p.m., Manoj Patil wrote:
>
> dear Mkie/
> ivanmarcus
>
> can i share  a html code of MSRDC . through this html you can able to
> connect windows machine.
>  share this html on that mailid or any personal maild ?
>
> see the snap shot .
>
> When i am check MSRDC at high network latency(600-700 ms) it run smoothly
> . but in guacamole breaks the connection in time to time(connect-reconnect).
>
> Also we check at this latency typing is very fast there is no laggy in
> keyboard typing.
>
> In guacamole to Xrdp at same latency there is  keyboard laagy occur means
> slow typing at client end.
>
> we also see when i am connect to MSRDC(windows) host through client its
> take first time 8-10 kbps continilously transfer data  in transection mode .
>
> in idle  mode there is no any bandwidth utilization.
>
>
>
> On Tue, 10 Mar 2020 at 09:06, ivanmarcus <iv...@yahoo.com.invalid>
> <iv...@yahoo.com.invalid> wrote:
>
>> Manoj,
>>
>> Perhaps I'm struggling to understand completely, but maybe we should just
>> go through this one step at a time.
>>
>> (1) Is the bandwidth issue you're presenty raising between Guacamole and
>> the local (Xrdp) client - NOT between Guacamole and the remote browser?
>>
>> On 10/03/2020 4:20 p.m., Manoj Patil wrote:
>>
>> Dear ivanmarcus,
>>
>> To be specific. You say MSRDWC uses a lot less bandwidth than Guacamole,
>> however (if I understand correctly) from what you say you're using
>> Guacamole with a Xrdp client machine, and MSRDWC with a MSRD client
>> machine. I suggest you should first test with Guacamole to the MSRD client,
>> and then MSRDWC to the *same* client with the *same* parameters and the
>> *same* series of tests. IOW the *only* change in the lineup is MSRDWC vs
>> Guacamole - NOT the client machine as
>>
>> I am done the setup of MSRDC at my place and measuring the sam scenario
>> Guacamole to xrdp client ----
>>
>> When connecting through browser to guacamole it's low bandwidth . when
>> connect guacad to xrdp host its huge bandwidth.
>>
>> Guacamole to MSRDC client--
>>
>> We test this setup with guacamole to MSRDC host through client there is
>> also a bandwidth utilization . we measure theough wireshark
>>
>> MSRDC to same client --
>>
>> When i am connected to  MSRDC with same parameter of bpp, width , height
>> etc and measure through wireshark there is tremendous different , its take
>> very low bandwidth .
>>
>> When I am in idle mode in guacamole to xrdp its continuously check
>> keepalive and bandwidth utilizated that time.
>>
>> When i am in idle in MSRDC there is no keepalive checking see in
>> wireshark hence bandits is very low .
>>
>>
>> On Tue, 10 Mar 2020, 02:00 ivanmarcus, <iv...@yahoo.com.invalid>
>> <iv...@yahoo.com.invalid> wrote:
>>
>>> Manoj,
>>>
>>> We may have exhausted our ability to help. As Stefan has pointed out
>>> there have been a number of suggestions and explanations around the issue
>>> you raise; it could be useful if you were to pursue those in the first
>>> instance.
>>>
>>> One thing that strikes me from your latest post is that you're
>>> introducing too many variables when attempting to compare systems. If you
>>> want to make comparisons then you should start with as identical a system
>>> as possible and  change just *one* parameter first. In this way you will
>>> generally be a lot clearer around what changes have an affect on something.
>>>
>>> To be specific. You say MSRDWC uses a lot less bandwidth than Guacamole,
>>> however (if I understand correctly) from what you say you're using
>>> Guacamole with a Xrdp client machine, and MSRDWC with a MSRD client
>>> machine. I suggest you should first test with Guacamole to the MSRD client,
>>> and then MSRDWC to the *same* client with the *same* parameters and the
>>> *same* series of tests. IOW the *only* change in the lineup is MSRDWC vs
>>> Guacamole - NOT the client machine as well.
>>>
>>> Moving on from this, I don't have access to MSRDWC and have never used
>>> it but if possible the next test might be to utilise it with an Xrdp client
>>> machine and compare that with Guacamole to the *same* client. Such logical
>>> steps would lend much more credence to your results, and may provide a
>>> clearer pointer to you as to where the issue, if there is one, lays.
>>>
>>>
>>>
>>> On 9/03/2020 8:58 p.m., Manoj Patil wrote:
>>>
>>> Dear,
>>>
>>> Any Resolution on my Issues.
>>>
>>> Please suggest any changes at guacamole server and Xrdp host server.
>>>
>>>
>>> On Tue, 3 Mar 2020 at 13:22, Manoj Patil <ma...@gmail.com> wrote:
>>>
>>>> Dear  ivanmarcus/mike,
>>>>
>>>> The MSRDP setup is done at my end for testing purpose with same user
>>>> ,same screen,same depth etc. we measure the bandith for singile session and
>>>> it is too low. i am already sharing a snapshot in preious mail.
>>>>
>>>> *My point is if i used MSRDP web client to acees the server it take low
>>>> bandwidth utilization . when i am using guacd with xrdp it uses high
>>>> bandwidth.*
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
> --
> Thanks & Regards,
>
> Manoj Patil.(Asst. Manager DBA)
> Netwin Systems & Softwares(I) Pvt.Ltd
> Nasik.
> Mobile No -+91-9922507588
> Email- manoj2patil@gmail.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>
>

-- 
Thanks & Regards,

Manoj Patil.(Asst. Manager DBA)
Netwin Systems & Softwares(I) Pvt.Ltd
Nasik.
Mobile No -+91-9922507588
Email- manoj2patil@gmail.com

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by ivanmarcus <iv...@yahoo.com.INVALID>.
Manoj,

I think the answer you're giving is 'yes' - ie. that the issue you're 
experiencing is in fact between Guacamole and the Xrdp machine(?).

In that case, for the next step, could you try connecting to your Xrdp 
machine directly via:

(1) MSRD client

(2) FreeRDP client

And compare the experience/bandwidth utilisation of these two clients 
(doing the same tasks, incl idle)?



On 10/03/2020 5:48 p.m., Manoj Patil wrote:
> dear Mkie/
>
>
>       ivanmarcus
>
>
> can i share  a html code of MSRDC . through this html you can able to 
> connect windows machine.
>  share this html on that mailid or any personal maild ?
>
> see the snap shot .
>
> When i am check MSRDC at high network latency(600-700 ms) it run 
> smoothly . but in guacamole breaks the connection in time to 
> time(connect-reconnect).
>
> Also we check at this latency typing is very fast there is no laggy in 
> keyboard typing.
>
> In guacamole to Xrdp at same latency there is  keyboard 
> laagy occur means slow typing at client end.
>
> we also see when i am connect to MSRDC(windows) host through client 
> its take first time 8-10 kbps continilously transfer data  in 
> transection mode .
>
> in idle  mode there is no any bandwidth utilization.
>
>
>
> On Tue, 10 Mar 2020 at 09:06, ivanmarcus 
> <iv...@yahoo.com.invalid> wrote:
>
>     Manoj,
>
>     Perhaps I'm struggling to understand completely, but maybe we
>     should just go through this one step at a time.
>
>     (1) Is the bandwidth issue you're presenty raising between
>     Guacamole and the local (Xrdp) client - NOT between Guacamole and
>     the remote browser?
>
>
>     On 10/03/2020 4:20 p.m., Manoj Patil wrote:
>>     Dear ivanmarcus,
>>
>>     To be specific. You say MSRDWC uses a lot less bandwidth than
>>     Guacamole, however (if I understand correctly) from what you say
>>     you're using Guacamole with a Xrdp client machine, and MSRDWC
>>     with a MSRD client machine. I suggest you should first test with
>>     Guacamole to the MSRD client, and then MSRDWC to the *same*
>>     client with the *same* parameters and the *same* series of tests.
>>     IOW the *only* change in the lineup is MSRDWC vs Guacamole - NOT
>>     the client machine as
>>
>>     I am done the setup of MSRDC at my place and measuring the sam
>>     scenario
>>     Guacamole to xrdp client ----
>>
>>     When connecting through browser to guacamole it's low bandwidth .
>>     when connect guacad to xrdp host its huge bandwidth.
>>
>>     Guacamole to MSRDC client--
>>
>>     We test this setup with guacamole to MSRDC host through client
>>     there is also a bandwidth utilization . we measure theough wireshark
>>     MSRDC to same client --
>>
>>     When i am connected to  MSRDC with same parameter of bpp, width ,
>>     height etc and measure through wireshark there is tremendous
>>     different , its take very low bandwidth .
>>
>>     When I am in idle mode in guacamole to xrdp its continuously
>>     check keepalive and bandwidth utilizated that time.
>>
>>     When i am in idle in MSRDC there is no keepalive checking see in
>>     wireshark hence bandits is very low .
>>
>>
>>     On Tue, 10 Mar 2020, 02:00 ivanmarcus,
>>     <iv...@yahoo.com.invalid>
>>     <ma...@yahoo.com.invalid> wrote:
>>
>>         Manoj,
>>
>>         We may have exhausted our ability to help. As Stefan has
>>         pointed out there have been a number of suggestions and
>>         explanations around the issue you raise; it could be useful
>>         if you were to pursue those in the first instance.
>>
>>         One thing that strikes me from your latest post is that
>>         you're introducing too many variables when attempting to
>>         compare systems. If you want to make comparisons then you
>>         should start with as identical a system as possible and 
>>         change just *one* parameter first. In this way you will
>>         generally be a lot clearer around what changes have an affect
>>         on something.
>>
>>         To be specific. You say MSRDWC uses a lot less bandwidth than
>>         Guacamole, however (if I understand correctly) from what you
>>         say you're using Guacamole with a Xrdp client machine, and
>>         MSRDWC with a MSRD client machine. I suggest you should first
>>         test with Guacamole to the MSRD client, and then MSRDWC to
>>         the *same* client with the *same* parameters and the *same*
>>         series of tests. IOW the *only* change in the lineup is
>>         MSRDWC vs Guacamole - NOT the client machine as well.
>>
>>         Moving on from this, I don't have access to MSRDWC and have
>>         never used it but if possible the next test might be to
>>         utilise it with an Xrdp client machine and compare that with
>>         Guacamole to the *same* client. Such logical steps would lend
>>         much more credence to your results, and may provide a clearer
>>         pointer to you as to where the issue, if there is one, lays.
>>
>>
>>
>>         On 9/03/2020 8:58 p.m., Manoj Patil wrote:
>>>         Dear,
>>>
>>>         Any Resolution on my Issues.
>>>
>>>         Please suggest any changes at guacamole server and Xrdp host
>>>         server.
>>>
>>>
>>>         On Tue, 3 Mar 2020 at 13:22, Manoj Patil
>>>         <manoj2patil@gmail.com <ma...@gmail.com>> wrote:
>>>
>>>             Dear
>>>
>>>
>>>                   ivanmarcus/mike,
>>>
>>>
>>>             The MSRDP setup is done at my end for testing purpose
>>>             with same user ,same screen,same depth etc. we measure
>>>             the bandith for singile session and it is too low. i am
>>>             already sharing a snapshot in preious mail.
>>>
>>>             *My point is if i used MSRDP web client to acees the
>>>             server it take low bandwidth utilization . when i am
>>>             using guacd with xrdp it uses high bandwidth.*
>>>             *
>>>             *
>>>             *
>>>             *
>>>
>>
>
>
>
> -- 
> Thanks & Regards,
>
> Manoj Patil.(Asst. Manager DBA)
> Netwin Systems & Softwares(I) Pvt.Ltd
> Nasik.
> Mobile No -+91-9922507588
> Email- manoj2patil@gmail.com <ma...@gmail.com>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org


Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
dear Mkie/
ivanmarcus

can i share  a html code of MSRDC . through this html you can able to
connect windows machine.
 share this html on that mailid or any personal maild ?

see the snap shot .

When i am check MSRDC at high network latency(600-700 ms) it run smoothly .
but in guacamole breaks the connection in time to time(connect-reconnect).

Also we check at this latency typing is very fast there is no laggy in
keyboard typing.

In guacamole to Xrdp at same latency there is  keyboard laagy occur means
slow typing at client end.

we also see when i am connect to MSRDC(windows) host through client its
take first time 8-10 kbps continilously transfer data  in transection mode .

in idle  mode there is no any bandwidth utilization.



On Tue, 10 Mar 2020 at 09:06, ivanmarcus <iv...@yahoo.com.invalid>
wrote:

> Manoj,
>
> Perhaps I'm struggling to understand completely, but maybe we should just
> go through this one step at a time.
>
> (1) Is the bandwidth issue you're presenty raising between Guacamole and
> the local (Xrdp) client - NOT between Guacamole and the remote browser?
>
> On 10/03/2020 4:20 p.m., Manoj Patil wrote:
>
> Dear ivanmarcus,
>
> To be specific. You say MSRDWC uses a lot less bandwidth than Guacamole,
> however (if I understand correctly) from what you say you're using
> Guacamole with a Xrdp client machine, and MSRDWC with a MSRD client
> machine. I suggest you should first test with Guacamole to the MSRD client,
> and then MSRDWC to the *same* client with the *same* parameters and the
> *same* series of tests. IOW the *only* change in the lineup is MSRDWC vs
> Guacamole - NOT the client machine as
>
> I am done the setup of MSRDC at my place and measuring the sam scenario
> Guacamole to xrdp client ----
>
> When connecting through browser to guacamole it's low bandwidth . when
> connect guacad to xrdp host its huge bandwidth.
>
> Guacamole to MSRDC client--
>
> We test this setup with guacamole to MSRDC host through client there is
> also a bandwidth utilization . we measure theough wireshark
>
> MSRDC to same client --
>
> When i am connected to  MSRDC with same parameter of bpp, width , height
> etc and measure through wireshark there is tremendous different , its take
> very low bandwidth .
>
> When I am in idle mode in guacamole to xrdp its continuously check
> keepalive and bandwidth utilizated that time.
>
> When i am in idle in MSRDC there is no keepalive checking see in wireshark
> hence bandits is very low .
>
>
> On Tue, 10 Mar 2020, 02:00 ivanmarcus, <iv...@yahoo.com.invalid>
> <iv...@yahoo.com.invalid> wrote:
>
>> Manoj,
>>
>> We may have exhausted our ability to help. As Stefan has pointed out
>> there have been a number of suggestions and explanations around the issue
>> you raise; it could be useful if you were to pursue those in the first
>> instance.
>>
>> One thing that strikes me from your latest post is that you're
>> introducing too many variables when attempting to compare systems. If you
>> want to make comparisons then you should start with as identical a system
>> as possible and  change just *one* parameter first. In this way you will
>> generally be a lot clearer around what changes have an affect on something.
>>
>> To be specific. You say MSRDWC uses a lot less bandwidth than Guacamole,
>> however (if I understand correctly) from what you say you're using
>> Guacamole with a Xrdp client machine, and MSRDWC with a MSRD client
>> machine. I suggest you should first test with Guacamole to the MSRD client,
>> and then MSRDWC to the *same* client with the *same* parameters and the
>> *same* series of tests. IOW the *only* change in the lineup is MSRDWC vs
>> Guacamole - NOT the client machine as well.
>>
>> Moving on from this, I don't have access to MSRDWC and have never used it
>> but if possible the next test might be to utilise it with an Xrdp client
>> machine and compare that with Guacamole to the *same* client. Such logical
>> steps would lend much more credence to your results, and may provide a
>> clearer pointer to you as to where the issue, if there is one, lays.
>>
>>
>>
>> On 9/03/2020 8:58 p.m., Manoj Patil wrote:
>>
>> Dear,
>>
>> Any Resolution on my Issues.
>>
>> Please suggest any changes at guacamole server and Xrdp host server.
>>
>>
>> On Tue, 3 Mar 2020 at 13:22, Manoj Patil <ma...@gmail.com> wrote:
>>
>>> Dear  ivanmarcus/mike,
>>>
>>> The MSRDP setup is done at my end for testing purpose with same user
>>> ,same screen,same depth etc. we measure the bandith for singile session and
>>> it is too low. i am already sharing a snapshot in preious mail.
>>>
>>> *My point is if i used MSRDP web client to acees the server it take low
>>> bandwidth utilization . when i am using guacd with xrdp it uses high
>>> bandwidth.*
>>>
>>>
>>>
>>>
>>
>

-- 
Thanks & Regards,

Manoj Patil.(Asst. Manager DBA)
Netwin Systems & Softwares(I) Pvt.Ltd
Nasik.
Mobile No -+91-9922507588
Email- manoj2patil@gmail.com

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by ivanmarcus <iv...@yahoo.com.INVALID>.
Manoj,

Perhaps I'm struggling to understand completely, but maybe we should 
just go through this one step at a time.

(1) Is the bandwidth issue you're presenty raising between Guacamole and 
the local (Xrdp) client - NOT between Guacamole and the remote browser?


On 10/03/2020 4:20 p.m., Manoj Patil wrote:
> Dear ivanmarcus,
>
> To be specific. You say MSRDWC uses a lot less bandwidth than 
> Guacamole, however (if I understand correctly) from what you say 
> you're using Guacamole with a Xrdp client machine, and MSRDWC with a 
> MSRD client machine. I suggest you should first test with Guacamole to 
> the MSRD client, and then MSRDWC to the *same* client with the *same* 
> parameters and the *same* series of tests. IOW the *only* change in 
> the lineup is MSRDWC vs Guacamole - NOT the client machine as
>
> I am done the setup of MSRDC at my place and measuring the sam scenario
> Guacamole to xrdp client ----
>
> When connecting through browser to guacamole it's low bandwidth . when 
> connect guacad to xrdp host its huge bandwidth.
>
> Guacamole to MSRDC client--
>
> We test this setup with guacamole to MSRDC host through client there 
> is also a bandwidth utilization . we measure theough wireshark
> MSRDC to same client --
>
> When i am connected to  MSRDC with same parameter of bpp, width , 
> height etc and measure through wireshark there is tremendous different 
> , its take very low bandwidth .
>
> When I am in idle mode in guacamole to xrdp its continuously check 
> keepalive and bandwidth utilizated that time.
>
> When i am in idle in MSRDC there is no keepalive checking see in 
> wireshark hence bandits is very low .
>
>
> On Tue, 10 Mar 2020, 02:00 ivanmarcus, <iv...@yahoo.com.invalid> 
> wrote:
>
>     Manoj,
>
>     We may have exhausted our ability to help. As Stefan has pointed
>     out there have been a number of suggestions and explanations
>     around the issue you raise; it could be useful if you were to
>     pursue those in the first instance.
>
>     One thing that strikes me from your latest post is that you're
>     introducing too many variables when attempting to compare systems.
>     If you want to make comparisons then you should start with as
>     identical a system as possible and  change just *one* parameter
>     first. In this way you will generally be a lot clearer around what
>     changes have an affect on something.
>
>     To be specific. You say MSRDWC uses a lot less bandwidth than
>     Guacamole, however (if I understand correctly) from what you say
>     you're using Guacamole with a Xrdp client machine, and MSRDWC with
>     a MSRD client machine. I suggest you should first test with
>     Guacamole to the MSRD client, and then MSRDWC to the *same* client
>     with the *same* parameters and the *same* series of tests. IOW the
>     *only* change in the lineup is MSRDWC vs Guacamole - NOT the
>     client machine as well.
>
>     Moving on from this, I don't have access to MSRDWC and have never
>     used it but if possible the next test might be to utilise it with
>     an Xrdp client machine and compare that with Guacamole to the
>     *same* client. Such logical steps would lend much more credence to
>     your results, and may provide a clearer pointer to you as to where
>     the issue, if there is one, lays.
>
>
>
>     On 9/03/2020 8:58 p.m., Manoj Patil wrote:
>>     Dear,
>>
>>     Any Resolution on my Issues.
>>
>>     Please suggest any changes at guacamole server and Xrdp host server.
>>
>>
>>     On Tue, 3 Mar 2020 at 13:22, Manoj Patil <manoj2patil@gmail.com
>>     <ma...@gmail.com>> wrote:
>>
>>         Dear
>>
>>
>>               ivanmarcus/mike,
>>
>>
>>         The MSRDP setup is done at my end for testing purpose with
>>         same user ,same screen,same depth etc. we measure the bandith
>>         for singile session and it is too low. i am already sharing a
>>         snapshot in preious mail.
>>
>>         *My point is if i used MSRDP web client to acees the server
>>         it take low bandwidth utilization . when i am using guacd
>>         with xrdp it uses high bandwidth.*
>>         *
>>         *
>>         *
>>         *
>>
>


Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
Dear ivanmarcus,

To be specific. You say MSRDWC uses a lot less bandwidth than Guacamole,
however (if I understand correctly) from what you say you're using
Guacamole with a Xrdp client machine, and MSRDWC with a MSRD client
machine. I suggest you should first test with Guacamole to the MSRD client,
and then MSRDWC to the *same* client with the *same* parameters and the
*same* series of tests. IOW the *only* change in the lineup is MSRDWC vs
Guacamole - NOT the client machine as

I am done the setup of MSRDC at my place and measuring the sam scenario
Guacamole to xrdp client ----

When connecting through browser to guacamole it's low bandwidth . when
connect guacad to xrdp host its huge bandwidth.

Guacamole to MSRDC client--

We test this setup with guacamole to MSRDC host through client there is
also a bandwidth utilization . we measure theough wireshark

MSRDC to same client --

When i am connected to  MSRDC with same parameter of bpp, width , height
etc and measure through wireshark there is tremendous different , its take
very low bandwidth .

When I am in idle mode in guacamole to xrdp its continuously check
keepalive and bandwidth utilizated that time.

When i am in idle in MSRDC there is no keepalive checking see in wireshark
hence bandits is very low .


On Tue, 10 Mar 2020, 02:00 ivanmarcus, <iv...@yahoo.com.invalid> wrote:

> Manoj,
>
> We may have exhausted our ability to help. As Stefan has pointed out there
> have been a number of suggestions and explanations around the issue you
> raise; it could be useful if you were to pursue those in the first instance.
>
> One thing that strikes me from your latest post is that you're introducing
> too many variables when attempting to compare systems. If you want to make
> comparisons then you should start with as identical a system as possible
> and  change just *one* parameter first. In this way you will generally be a
> lot clearer around what changes have an affect on something.
>
> To be specific. You say MSRDWC uses a lot less bandwidth than Guacamole,
> however (if I understand correctly) from what you say you're using
> Guacamole with a Xrdp client machine, and MSRDWC with a MSRD client
> machine. I suggest you should first test with Guacamole to the MSRD client,
> and then MSRDWC to the *same* client with the *same* parameters and the
> *same* series of tests. IOW the *only* change in the lineup is MSRDWC vs
> Guacamole - NOT the client machine as well.
>
> Moving on from this, I don't have access to MSRDWC and have never used it
> but if possible the next test might be to utilise it with an Xrdp client
> machine and compare that with Guacamole to the *same* client. Such logical
> steps would lend much more credence to your results, and may provide a
> clearer pointer to you as to where the issue, if there is one, lays.
>
>
>
> On 9/03/2020 8:58 p.m., Manoj Patil wrote:
>
> Dear,
>
> Any Resolution on my Issues.
>
> Please suggest any changes at guacamole server and Xrdp host server.
>
>
> On Tue, 3 Mar 2020 at 13:22, Manoj Patil <ma...@gmail.com> wrote:
>
>> Dear  ivanmarcus/mike,
>>
>> The MSRDP setup is done at my end for testing purpose with same user
>> ,same screen,same depth etc. we measure the bandith for singile session and
>> it is too low. i am already sharing a snapshot in preious mail.
>>
>> *My point is if i used MSRDP web client to acees the server it take low
>> bandwidth utilization . when i am using guacd with xrdp it uses high
>> bandwidth.*
>>
>>
>>
>>
>

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by ivanmarcus <iv...@yahoo.com.INVALID>.
Manoj,

We may have exhausted our ability to help. As Stefan has pointed out 
there have been a number of suggestions and explanations around the 
issue you raise; it could be useful if you were to pursue those in the 
first instance.

One thing that strikes me from your latest post is that you're 
introducing too many variables when attempting to compare systems. If 
you want to make comparisons then you should start with as identical a 
system as possible and  change just *one* parameter first. In this way 
you will generally be a lot clearer around what changes have an affect 
on something.

To be specific. You say MSRDWC uses a lot less bandwidth than Guacamole, 
however (if I understand correctly) from what you say you're using 
Guacamole with a Xrdp client machine, and MSRDWC with a MSRD client 
machine. I suggest you should first test with Guacamole to the MSRD 
client, and then MSRDWC to the *same* client with the *same* parameters 
and the *same* series of tests. IOW the *only* change in the lineup is 
MSRDWC vs Guacamole - NOT the client machine as well.

Moving on from this, I don't have access to MSRDWC and have never used 
it but if possible the next test might be to utilise it with an Xrdp 
client machine and compare that with Guacamole to the *same* client. 
Such logical steps would lend much more credence to your results, and 
may provide a clearer pointer to you as to where the issue, if there is 
one, lays.



On 9/03/2020 8:58 p.m., Manoj Patil wrote:
> Dear,
>
> Any Resolution on my Issues.
>
> Please suggest any changes at guacamole server and Xrdp host server.
>
>
> On Tue, 3 Mar 2020 at 13:22, Manoj Patil <manoj2patil@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     Dear
>
>
>           ivanmarcus/mike,
>
>
>     The MSRDP setup is done at my end for testing purpose with same
>     user ,same screen,same depth etc. we measure the bandith for
>     singile session and it is too low. i am already sharing a snapshot
>     in preious mail.
>
>     *My point is if i used MSRDP web client to acees the server it
>     take low bandwidth utilization . when i am using guacd with xrdp
>     it uses high bandwidth.*
>     *
>     *
>     *
>     *
>


Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
Dear

I know the discussion is going on .., but still we try to minimised the
bandwidth utilization. I see in xrdp code there is a bitmap and jpeg cache
and compression with respectively bpp(bit per pixel), width and height .
but guacamole can done the compression and cache the bitmap and jpeg.

We see in guacamole they used ping and webp so I think the cache and
compression is mismatch.

Please if it correct?

On Mon, 9 Mar 2020, 13:39 Stefan M. Radman, <sm...@kmi.com.invalid> wrote:

> Hi Manoj
>
> Several Guacamole users have made useful suggestions over the course of
> the discussion.
>
> Ultimately, the resolution of your issues is in your own hands.
>
> Stefan
>
>
> > On Mar 9, 2020, at 08:58, Manoj Patil <ma...@gmail.com> wrote:
> >
> > Dear,
> >
> > Any Resolution on my Issues.
> >
> > Please suggest any changes at guacamole server and Xrdp host server.
> >
>
>
> CONFIDENTIALITY NOTICE: This communication may contain privileged and
> confidential information, or may otherwise be protected from disclosure,
> and is intended solely for use of the intended recipient(s). If you are not
> the intended recipient of this communication, please notify the sender that
> you have received this communication in error and delete and destroy all
> copies in your possession.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by "Stefan M. Radman" <sm...@kmi.com.INVALID>.
Hi Manoj

Several Guacamole users have made useful suggestions over the course of the discussion.

Ultimately, the resolution of your issues is in your own hands.

Stefan


> On Mar 9, 2020, at 08:58, Manoj Patil <ma...@gmail.com> wrote:
>
> Dear,
>
> Any Resolution on my Issues.
>
> Please suggest any changes at guacamole server and Xrdp host server.
>


CONFIDENTIALITY NOTICE: This communication may contain privileged and confidential information, or may otherwise be protected from disclosure, and is intended solely for use of the intended recipient(s). If you are not the intended recipient of this communication, please notify the sender that you have received this communication in error and delete and destroy all copies in your possession.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
Dear,

Any Resolution on my Issues.

Please suggest any changes at guacamole server and Xrdp host server.


On Tue, 3 Mar 2020 at 13:22, Manoj Patil <ma...@gmail.com> wrote:

> Dear ivanmarcus/mike,
>
> The MSRDP setup is done at my end for testing purpose with same user ,same
> screen,same depth etc. we measure the bandith for singile session and it is
> too low. i am already sharing a snapshot in preious mail.
>
> *My point is if i used MSRDP web client to acees the server it take low
> bandwidth utilization . when i am using guacd with xrdp it uses high
> bandwidth.*
>
>
>
> On Tue, 3 Mar 2020 at 11:25, ivanmarcus <iv...@yahoo.com.invalid>
> wrote:
>
>> Manoj,
>>
>> I've followed this thread with some interest, and have learnt something
>> from what Mike's been saying about how Guacamole handles image compression
>> etc.
>>
>> I'm not able to contribute much from a softwarec perspective but there
>> are a couple of things that I wonder about.
>>
>> In your tests it appears to me that, generally, the Guacamole <-> xrdp
>> traffic is much higher than Tomcat <-> browser, as one would anticipate.
>> Assuming your Guacamole <-> xrdp connections to be on an internal 1GbE
>> network then one would expect Tomcat <-> [external] browser experience to
>> be much quicker than say xrdp <-> [external] MSRD client.
>>
>> In an earlier post you said:
>>
>> My Observation is---
>>
>> we observe that in my colleague company those people used  Microsoft
>> remote desktop Web client (using activex) for 1200 connection in 10 Mbps
>> for huge transaction. and
>>
>> we used Xrdp+wine+Guacamole with 600 connection with 50 Mbps bandwidth .
>>
>> what protocol they are used  ( Microsoft remote desktop Web client ) is
>> taking less bandwidth compare  with  Guacamole.
>>
>> From this I was interested to see what information there was regarding
>> the bandwidth requirements for MS RD Web Client vs MS Terminal Services
>> Client.
>>
>> I found this website article:
>>
>>
>> https://www.rdsgurus.com/microsoft-rd-web-client-html5-performance-testing-part-1/
>>
>> Although not completely clear my take on their results is that MSRDWC
>> could use similar, or possibly more, bandwith than MSTSC (or it could use
>> ~1/2 in some cases). They explicitly state further research is needed so
>> the results should be considered provisional at this time.
>>
>> *If* these results are in the typical ballpark then it would seem to me
>> somewhat at odds with what you said earlier, and with the results you've
>> charted.
>>
>> To clarifiy.
>>
>> (1) From the article let's say MSRDWC bandwith typically = MSTSC
>> bandwith.
>>
>> (2)You measure Guacamole <-> xrdp bandwidth significantly higher than
>> Tomcat <-> browser (let's say this equates to what we'd expect typical
>> MSTSC bandwidth to be).
>>
>> (3) Extapolating; your colleague company is using MSRDWC, therefore with
>> no other changes or tuning we might ordinarily expect their bandwith
>> requirements to be higher than yours since, from your's and Mike's data,
>> the Tomcat <-> browser bandwidth should effectively be less than MSRDWC.
>>
>> (4) Yet you've said they have twice the connection numbers with 1/5
>> available bandwith, and although not stated the intimation is that their
>> user's experience could be better than yours?
>>
>> Now I realise I'm drawing a fairly long bow, and making some pretty wild
>> assumptions based on possibly erroneous data, but at this point the
>> comparision just doesn't add up.
>>
>> There are many possibly variables that might explain this but I wonder,
>> initially, if there are some other differences in what service your
>> colleague company is delivering compared with yours? For example is theirs
>> a much reduced colour depth, is it limited to a specific app with little
>> screen updates, do they have burst mode data capacity, do they have fewer
>> _concurrent_ users etc?
>>
>> Ultimately Mike has said several times that you simply need to allocate
>> more resource for what you're doing, but it may assist yourself and the
>> community if you could obtain a similar bandwith log from your colleague
>> company as you have for yours. It would be good if the data were
>> standardised as much as possible (ie. perform exactly the same desktop
>> tasks) and the same colour depth settings etc were utilised.
>>
>> If this were effected I think we'd have a much better idea as to the
>> bandwith requirements of Guacamole vs MSRDWC. From this one might then know
>> if there's any real (comparative) issue between your service and that of
>> your colleague company, or not. It could also give some potentially useful
>> info around Guacamole/MSRDWC performance...
>>
>>
>> On 3/03/2020 4:06 p.m., Manoj Patil wrote:
>>
>> What tool u used for measuring bandwidth.
>>
>> Is there any resolution?
>>
>> As per your snanshot RDP take to much bandwidth utilization . if u also
>> 600 active connwction then the bandwidth utilization is around 40- 45 mbps.
>>
>> On Mon, 2 Mar 2020, 00:45 Mike Jumper, <mj...@apache.org> wrote:
>>
>>> On Sun, Mar 1, 2020 at 1:59 AM Manoj Patil <ma...@gmail.com>
>>> wrote:
>>>
>>>> Dear,
>>>>
>>>> I am deployed the Microsoft environment at my end and measure the
>>>> bandwidth data send and received.
>>>>  using wireshark.
>>>>
>>>> please find the attached file one is microsoft web rdp bandwidth
>>>> calculation using wireshark and second snapshot is guacamol server
>>>> calculation using wireshark .
>>>>
>>>
>>> If you want to compare bandwidth usage reliably, you will need to
>>> measure and compare the two sides of the same session: one measurement
>>> being the browser <--> Guacamole traffic and the other being the guacd <-->
>>> RDP traffic. For example, here's my statistics for the first week of
>>> December last year:
>>>
>>> [image: glen-demo-stats-2019-12-01-through-2019-12-07.png]
>>>
>>> The graph shows total Guacamole bandwidth usage (green line) against RDP
>>> usage (orange line) for the same servers across all sessions. The purple
>>> line is the total number of active sessions. In general, the two bandwidth
>>> lines follow each other, however I've always observed the RDP line to be
>>> significantly higher, presumably due to using poorer image compression. The
>>> only times I've seen the Guacamole line peek (slightly) above the RDP line
>>> are when there is extremely low activity.
>>>
>>> If you are absolutely sure that you are measuring effectively the same
>>> sessions, connecting to the same RDP server, and that you are using the
>>> same display size, performing the same actions, seeing the same graphics,
>>> etc. between them, I'm not sure what would account for your measurements
>>> showing the opposite behavior.
>>>
>>> - Mike
>>>
>>>
>>
>
> --
> Thanks & Regards,
>
> Manoj Patil.(Asst. Manager DBA)
> Netwin Systems & Softwares(I) Pvt.Ltd
> Nasik.
> Mobile No -+91-9922507588
> Email- manoj2patil@gmail.com
>


-- 
Thanks & Regards,

Manoj Patil.(Asst. Manager DBA)
Netwin Systems & Softwares(I) Pvt.Ltd
Nasik.
Mobile No -+91-9922507588
Email- manoj2patil@gmail.com

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
Dear ivanmarcus/mike,

The MSRDP setup is done at my end for testing purpose with same user ,same
screen,same depth etc. we measure the bandith for singile session and it is
too low. i am already sharing a snapshot in preious mail.

*My point is if i used MSRDP web client to acees the server it take low
bandwidth utilization . when i am using guacd with xrdp it uses high
bandwidth.*



On Tue, 3 Mar 2020 at 11:25, ivanmarcus <iv...@yahoo.com.invalid>
wrote:

> Manoj,
>
> I've followed this thread with some interest, and have learnt something
> from what Mike's been saying about how Guacamole handles image compression
> etc.
>
> I'm not able to contribute much from a softwarec perspective but there are
> a couple of things that I wonder about.
>
> In your tests it appears to me that, generally, the Guacamole <-> xrdp
> traffic is much higher than Tomcat <-> browser, as one would anticipate.
> Assuming your Guacamole <-> xrdp connections to be on an internal 1GbE
> network then one would expect Tomcat <-> [external] browser experience to
> be much quicker than say xrdp <-> [external] MSRD client.
>
> In an earlier post you said:
>
> My Observation is---
>
> we observe that in my colleague company those people used  Microsoft
> remote desktop Web client (using activex) for 1200 connection in 10 Mbps
> for huge transaction. and
>
> we used Xrdp+wine+Guacamole with 600 connection with 50 Mbps bandwidth .
>
> what protocol they are used  ( Microsoft remote desktop Web client ) is
> taking less bandwidth compare  with  Guacamole.
>
> From this I was interested to see what information there was regarding the
> bandwidth requirements for MS RD Web Client vs MS Terminal Services Client.
>
> I found this website article:
>
>
> https://www.rdsgurus.com/microsoft-rd-web-client-html5-performance-testing-part-1/
>
> Although not completely clear my take on their results is that MSRDWC
> could use similar, or possibly more, bandwith than MSTSC (or it could use
> ~1/2 in some cases). They explicitly state further research is needed so
> the results should be considered provisional at this time.
>
> *If* these results are in the typical ballpark then it would seem to me
> somewhat at odds with what you said earlier, and with the results you've
> charted.
>
> To clarifiy.
>
> (1) From the article let's say MSRDWC bandwith typically = MSTSC bandwith.
>
> (2)You measure Guacamole <-> xrdp bandwidth significantly higher than
> Tomcat <-> browser (let's say this equates to what we'd expect typical
> MSTSC bandwidth to be).
>
> (3) Extapolating; your colleague company is using MSRDWC, therefore with
> no other changes or tuning we might ordinarily expect their bandwith
> requirements to be higher than yours since, from your's and Mike's data,
> the Tomcat <-> browser bandwidth should effectively be less than MSRDWC.
>
> (4) Yet you've said they have twice the connection numbers with 1/5
> available bandwith, and although not stated the intimation is that their
> user's experience could be better than yours?
>
> Now I realise I'm drawing a fairly long bow, and making some pretty wild
> assumptions based on possibly erroneous data, but at this point the
> comparision just doesn't add up.
>
> There are many possibly variables that might explain this but I wonder,
> initially, if there are some other differences in what service your
> colleague company is delivering compared with yours? For example is theirs
> a much reduced colour depth, is it limited to a specific app with little
> screen updates, do they have burst mode data capacity, do they have fewer
> _concurrent_ users etc?
>
> Ultimately Mike has said several times that you simply need to allocate
> more resource for what you're doing, but it may assist yourself and the
> community if you could obtain a similar bandwith log from your colleague
> company as you have for yours. It would be good if the data were
> standardised as much as possible (ie. perform exactly the same desktop
> tasks) and the same colour depth settings etc were utilised.
>
> If this were effected I think we'd have a much better idea as to the
> bandwith requirements of Guacamole vs MSRDWC. From this one might then know
> if there's any real (comparative) issue between your service and that of
> your colleague company, or not. It could also give some potentially useful
> info around Guacamole/MSRDWC performance...
>
>
> On 3/03/2020 4:06 p.m., Manoj Patil wrote:
>
> What tool u used for measuring bandwidth.
>
> Is there any resolution?
>
> As per your snanshot RDP take to much bandwidth utilization . if u also
> 600 active connwction then the bandwidth utilization is around 40- 45 mbps.
>
> On Mon, 2 Mar 2020, 00:45 Mike Jumper, <mj...@apache.org> wrote:
>
>> On Sun, Mar 1, 2020 at 1:59 AM Manoj Patil <ma...@gmail.com> wrote:
>>
>>> Dear,
>>>
>>> I am deployed the Microsoft environment at my end and measure the
>>> bandwidth data send and received.
>>>  using wireshark.
>>>
>>> please find the attached file one is microsoft web rdp bandwidth
>>> calculation using wireshark and second snapshot is guacamol server
>>> calculation using wireshark .
>>>
>>
>> If you want to compare bandwidth usage reliably, you will need to measure
>> and compare the two sides of the same session: one measurement being the
>> browser <--> Guacamole traffic and the other being the guacd <--> RDP
>> traffic. For example, here's my statistics for the first week of December
>> last year:
>>
>> [image: glen-demo-stats-2019-12-01-through-2019-12-07.png]
>>
>> The graph shows total Guacamole bandwidth usage (green line) against RDP
>> usage (orange line) for the same servers across all sessions. The purple
>> line is the total number of active sessions. In general, the two bandwidth
>> lines follow each other, however I've always observed the RDP line to be
>> significantly higher, presumably due to using poorer image compression. The
>> only times I've seen the Guacamole line peek (slightly) above the RDP line
>> are when there is extremely low activity.
>>
>> If you are absolutely sure that you are measuring effectively the same
>> sessions, connecting to the same RDP server, and that you are using the
>> same display size, performing the same actions, seeing the same graphics,
>> etc. between them, I'm not sure what would account for your measurements
>> showing the opposite behavior.
>>
>> - Mike
>>
>>
>

-- 
Thanks & Regards,

Manoj Patil.(Asst. Manager DBA)
Netwin Systems & Softwares(I) Pvt.Ltd
Nasik.
Mobile No -+91-9922507588
Email- manoj2patil@gmail.com

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by ivanmarcus <iv...@yahoo.com.INVALID>.
Manoj,

I've followed this thread with some interest, and have learnt something 
from what Mike's been saying about how Guacamole handles image 
compression etc.

I'm not able to contribute much from a softwarec perspective but there 
are a couple of things that I wonder about.

In your tests it appears to me that, generally, the Guacamole <-> xrdp 
traffic is much higher than Tomcat <-> browser, as one would anticipate. 
Assuming your Guacamole <-> xrdp connections to be on an internal 1GbE 
network then one would expect Tomcat <-> [external] browser experience 
to be much quicker than say xrdp <-> [external] MSRD client.

In an earlier post you said:

> My Observation is---
>
> we observe that in my colleague company those people used Microsoft 
> remote desktop Web client (using activex) for 1200 connection in 10 
> Mbps for huge transaction. and
>
> we used Xrdp+wine+Guacamole with 600 connection with 50 Mbps bandwidth .
>
> what protocol they are used  ( Microsoft remote desktop Web client ) 
> is taking less bandwidth compare  with  Guacamole.

 From this I was interested to see what information there was regarding 
the bandwidth requirements for MS RD Web Client vs MS Terminal Services 
Client.

I found this website article:

https://www.rdsgurus.com/microsoft-rd-web-client-html5-performance-testing-part-1/

Although not completely clear my take on their results is that MSRDWC 
could use similar, or possibly more, bandwith than MSTSC (or it could 
use ~1/2 in some cases). They explicitly state further research is 
needed so the results should be considered provisional at this time.

*If* these results are in the typical ballpark then it would seem to me 
somewhat at odds with what you said earlier, and with the results you've 
charted.

To clarifiy.

(1) From the article let's say MSRDWC bandwith typically = MSTSC bandwith.

(2)You measure Guacamole <-> xrdp bandwidth significantly higher than 
Tomcat <-> browser (let's say this equates to what we'd expect typical 
MSTSC bandwidth to be).

(3) Extapolating; your colleague company is using MSRDWC, therefore with 
no other changes or tuning we might ordinarily expect their bandwith 
requirements to be higher than yours since, from your's and Mike's data, 
the Tomcat <-> browser bandwidth should effectively be less than MSRDWC.

(4) Yet you've said they have twice the connection numbers with 1/5 
available bandwith, and although not stated the intimation is that their 
user's experience could be better than yours?

Now I realise I'm drawing a fairly long bow, and making some pretty wild 
assumptions based on possibly erroneous data, but at this point the 
comparision just doesn't add up.

There are many possibly variables that might explain this but I wonder, 
initially, if there are some other differences in what service your 
colleague company is delivering compared with yours? For example is 
theirs a much reduced colour depth, is it limited to a specific app with 
little screen updates, do they have burst mode data capacity, do they 
have fewer _concurrent_ users etc?

Ultimately Mike has said several times that you simply need to allocate 
more resource for what you're doing, but it may assist yourself and the 
community if you could obtain a similar bandwith log from your colleague 
company as you have for yours. It would be good if the data were 
standardised as much as possible (ie. perform exactly the same desktop 
tasks) and the same colour depth settings etc were utilised.

If this were effected I think we'd have a much better idea as to the 
bandwith requirements of Guacamole vs MSRDWC. From this one might then 
know if there's any real (comparative) issue between your service and 
that of your colleague company, or not. It could also give some 
potentially useful info around Guacamole/MSRDWC performance...


On 3/03/2020 4:06 p.m., Manoj Patil wrote:
> What tool u used for measuring bandwidth.
>
> Is there any resolution?
>
> As per your snanshot RDP take to much bandwidth utilization . if u 
> also 600 active connwction then the bandwidth utilization is around 
> 40- 45 mbps.
>
> On Mon, 2 Mar 2020, 00:45 Mike Jumper, <mjumper@apache.org 
> <ma...@apache.org>> wrote:
>
>     On Sun, Mar 1, 2020 at 1:59 AM Manoj Patil <manoj2patil@gmail.com
>     <ma...@gmail.com>> wrote:
>
>         Dear,
>
>         I am deployed the Microsoft environment at my end and measure
>         the bandwidth data send and received.
>          using wireshark.
>
>         please find the attached file one is microsoft web rdp
>         bandwidth calculation using wireshark and second snapshot is
>         guacamol server calculation using wireshark .
>
>
>     If you want to compare bandwidth usage reliably, you will need to
>     measure and compare the two sides of the same session: one
>     measurement being the browser <--> Guacamole traffic and the other
>     being the guacd <--> RDP traffic. For example, here's my
>     statistics for the first week of December last year:
>
>     glen-demo-stats-2019-12-01-through-2019-12-07.png
>
>     The graph shows total Guacamole bandwidth usage (green line)
>     against RDP usage (orange line) for the same servers across all
>     sessions. The purple line is the total number of active sessions.
>     In general, the two bandwidth lines follow each other, however
>     I've always observed the RDP line to be significantly higher,
>     presumably due to using poorer image compression. The only times
>     I've seen the Guacamole line peek (slightly) above the RDP line
>     are when there is extremely low activity.
>
>     If you are absolutely sure that you are measuring effectively the
>     same sessions, connecting to the same RDP server, and that you are
>     using the same display size, performing the same actions, seeing
>     the same graphics, etc. between them, I'm not sure what would
>     account for your measurements showing the opposite behavior.
>
>     - Mike
>


Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
Dear Mike,

  i am sure  that  measuring  the same sessions, connecting to the same RDP
server, and that you are using the same display size, performing the same
actions, seeing the same graphics.

I am go through as per your suggestion and calculate the bandwidth for
below action.
 browser <--> Guacamole traffic and the  guacd <--> RDP traffic.

As per observation  browser <--> Guacamole traffic is very low around 27K .

  guacd <--> RDP traffic  is very high in working condition is around
2876K.

From the below observation  guacd <--> RDP traffic and
bandwidth utilization is very high.

plz find attached snapshot of measuring bandwidth.









On Mon, 2 Mar 2020 at 00:45, Mike Jumper <mj...@apache.org> wrote:

> On Sun, Mar 1, 2020 at 1:59 AM Manoj Patil <ma...@gmail.com> wrote:
>
>> Dear,
>>
>> I am deployed the Microsoft environment at my end and measure the
>> bandwidth data send and received.
>>  using wireshark.
>>
>> please find the attached file one is microsoft web rdp bandwidth
>> calculation using wireshark and second snapshot is guacamol server
>> calculation using wireshark .
>>
>
> If you want to compare bandwidth usage reliably, you will need to measure
> and compare the two sides of the same session: one measurement being the
> browser <--> Guacamole traffic and the other being the guacd <--> RDP
> traffic. For example, here's my statistics for the first week of December
> last year:
>
> [image: glen-demo-stats-2019-12-01-through-2019-12-07.png]
>
> The graph shows total Guacamole bandwidth usage (green line) against RDP
> usage (orange line) for the same servers across all sessions. The purple
> line is the total number of active sessions. In general, the two bandwidth
> lines follow each other, however I've always observed the RDP line to be
> significantly higher, presumably due to using poorer image compression. The
> only times I've seen the Guacamole line peek (slightly) above the RDP line
> are when there is extremely low activity.
>
> If you are absolutely sure that you are measuring effectively the same
> sessions, connecting to the same RDP server, and that you are using the
> same display size, performing the same actions, seeing the same graphics,
> etc. between them, I'm not sure what would account for your measurements
> showing the opposite behavior.
>
> - Mike
>
>

-- 
Thanks & Regards,

Manoj Patil.(Asst. Manager DBA)
Netwin Systems & Softwares(I) Pvt.Ltd
Nasik.
Mobile No -+91-9922507588
Email- manoj2patil@gmail.com

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Mike Jumper <mj...@apache.org>.
On Mon, Mar 2, 2020 at 7:07 PM Manoj Patil <ma...@gmail.com> wrote:

> What tool u used for measuring bandwidth.
>

AWS CloudWatch.

Is there any resolution?
>

There isn't really anything to resolve.

As already noted in this thread, the bandwidth you've measured for
Guacamole looks fine and the bandwidth we've measured for Guacamole looks
fine. It's interesting that you're seeing lower RDP utilization in one of
your tests, and worth looking into seeing why that might be the case, but
other than an interesting research problem that might eventually yield
further performance improvements to Guacamole, there's nothing to resolve.

Assuming that what you're comparing is an indeed apples-to-apples
comparison, then there is probably something to be discovered which would
further improve things, but I'm not going to be able to tell you what that
is because I don't know it yet. All I can tell you right now is that if
you're finding you haven't allocated sufficient resources, then you need to
allocate sufficient resources.

As per your snanshot RDP take to much bandwidth utilization .
>

Thankfully, the RDP side of things in a Guacamole deployment is purely
internal, with everything between Tomcat and the client being Guacamole
protocol.

- Mike

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
What tool u used for measuring bandwidth.

Is there any resolution?

As per your snanshot RDP take to much bandwidth utilization . if u also 600
active connwction then the bandwidth utilization is around 40- 45 mbps.

On Mon, 2 Mar 2020, 00:45 Mike Jumper, <mj...@apache.org> wrote:

> On Sun, Mar 1, 2020 at 1:59 AM Manoj Patil <ma...@gmail.com> wrote:
>
>> Dear,
>>
>> I am deployed the Microsoft environment at my end and measure the
>> bandwidth data send and received.
>>  using wireshark.
>>
>> please find the attached file one is microsoft web rdp bandwidth
>> calculation using wireshark and second snapshot is guacamol server
>> calculation using wireshark .
>>
>
> If you want to compare bandwidth usage reliably, you will need to measure
> and compare the two sides of the same session: one measurement being the
> browser <--> Guacamole traffic and the other being the guacd <--> RDP
> traffic. For example, here's my statistics for the first week of December
> last year:
>
> [image: glen-demo-stats-2019-12-01-through-2019-12-07.png]
>
> The graph shows total Guacamole bandwidth usage (green line) against RDP
> usage (orange line) for the same servers across all sessions. The purple
> line is the total number of active sessions. In general, the two bandwidth
> lines follow each other, however I've always observed the RDP line to be
> significantly higher, presumably due to using poorer image compression. The
> only times I've seen the Guacamole line peek (slightly) above the RDP line
> are when there is extremely low activity.
>
> If you are absolutely sure that you are measuring effectively the same
> sessions, connecting to the same RDP server, and that you are using the
> same display size, performing the same actions, seeing the same graphics,
> etc. between them, I'm not sure what would account for your measurements
> showing the opposite behavior.
>
> - Mike
>
>

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Mike Jumper <mj...@apache.org>.
On Sun, Mar 1, 2020 at 1:59 AM Manoj Patil <ma...@gmail.com> wrote:

> Dear,
>
> I am deployed the Microsoft environment at my end and measure the
> bandwidth data send and received.
>  using wireshark.
>
> please find the attached file one is microsoft web rdp bandwidth
> calculation using wireshark and second snapshot is guacamol server
> calculation using wireshark .
>

If you want to compare bandwidth usage reliably, you will need to measure
and compare the two sides of the same session: one measurement being the
browser <--> Guacamole traffic and the other being the guacd <--> RDP
traffic. For example, here's my statistics for the first week of December
last year:

[image: glen-demo-stats-2019-12-01-through-2019-12-07.png]

The graph shows total Guacamole bandwidth usage (green line) against RDP
usage (orange line) for the same servers across all sessions. The purple
line is the total number of active sessions. In general, the two bandwidth
lines follow each other, however I've always observed the RDP line to be
significantly higher, presumably due to using poorer image compression. The
only times I've seen the Guacamole line peek (slightly) above the RDP line
are when there is extremely low activity.

If you are absolutely sure that you are measuring effectively the same
sessions, connecting to the same RDP server, and that you are using the
same display size, performing the same actions, seeing the same graphics,
etc. between them, I'm not sure what would account for your measurements
showing the opposite behavior.

- Mike

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
Dear,

I am deployed the Microsoft environment at my end and measure the bandwidth
data send and received.
 using wireshark.

please find the attached file one is microsoft web rdp bandwidth
calculation using wireshark and second snapshot is guacamol server
calculation using wireshark .

as per observation  microsoft web rdp take low bandwidth for single session
.

thankful your valuable time and waiting valuable reply



On Sun, 1 Mar 2020 at 14:11, Mike Jumper <mj...@apache.org> wrote:

> On Sat, Feb 29, 2020, 23:07 Manoj Patil <ma...@gmail.com> wrote:
>
>> Dear,
>>
>> Thank For your appreciation .
>>
>> The only thing that I noticed is that there is no compression between the
>> server and the client.
>> Meaning that full sized base64 encoded PNG images are send to the client,
>> which causes a high network load.
>>
>
> No. PNG is compression, and an average of ~86 Kbps is not high network
> load. There is some overhead from base64, but that overhead is all but
> nullified by (1) the gzip compression that is generally automatically
> applied to WebSocket and (2) the speed that browsers can process that
> base64 data compared with alternative mechanisms that lack the overhead.
>
>
>> i am try to find out why more bandwidth is required for 600 connection
>> and how to reduced it.
>>
>> My Observation is---
>>
>> we observe that in my colleague company those people used  Microsoft
>> remote desktop Web client (using activex) for 1200 connection in 10 Mbps
>> for huge transaction. and
>>
>
> An average of 8 Kbps per connection sounds unlikely for any form of
> steamed graphical data.
>
>
>> we used Xrdp+wine+Guacamole with 600 connection with 50 Mbps bandwidth .
>>
>> what protocol they are used  ( Microsoft remote desktop Web client ) is
>> taking less bandwidth compare  with  Guacamole.
>>
>
> From measurements of real-world use of the live demo environment deployed
> by my day job, I see the opposite of this. The overall bandwidth used
> between the users' browsers and the Guacamole servers is significantly less
> than the bandwidth used by RDP between guacd and the Windows servers.
>
> - Mike
>
>

-- 
Thanks & Regards,

Manoj Patil.(Asst. Manager DBA)
Netwin Systems & Softwares(I) Pvt.Ltd
Nasik.
Mobile No -+91-9922507588
Email- manoj2patil@gmail.com

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Mike Jumper <mj...@apache.org>.
On Sat, Feb 29, 2020, 23:07 Manoj Patil <ma...@gmail.com> wrote:

> Dear,
>
> Thank For your appreciation .
>
> The only thing that I noticed is that there is no compression between the
> server and the client.
> Meaning that full sized base64 encoded PNG images are send to the client,
> which causes a high network load.
>

No. PNG is compression, and an average of ~86 Kbps is not high network
load. There is some overhead from base64, but that overhead is all but
nullified by (1) the gzip compression that is generally automatically
applied to WebSocket and (2) the speed that browsers can process that
base64 data compared with alternative mechanisms that lack the overhead.


> i am try to find out why more bandwidth is required for 600 connection and
> how to reduced it.
>
> My Observation is---
>
> we observe that in my colleague company those people used  Microsoft
> remote desktop Web client (using activex) for 1200 connection in 10 Mbps
> for huge transaction. and
>

An average of 8 Kbps per connection sounds unlikely for any form of steamed
graphical data.


> we used Xrdp+wine+Guacamole with 600 connection with 50 Mbps bandwidth .
>
> what protocol they are used  ( Microsoft remote desktop Web client ) is
> taking less bandwidth compare  with  Guacamole.
>

From measurements of real-world use of the live demo environment deployed
by my day job, I see the opposite of this. The overall bandwidth used
between the users' browsers and the Guacamole servers is significantly less
than the bandwidth used by RDP between guacd and the Windows servers.

- Mike

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Manoj Patil <ma...@gmail.com>.
Dear,

Thank For your appreciation .

The only thing that I noticed is that there is no compression between the
server and the client.
Meaning that full sized base64 encoded PNG images are send to the client,
which causes a high network load.

i am try to find out why more bandwidth is required for 600 connection and
how to reduced it.

My Observation is---

we observe that in my colleague company those people used  Microsoft remote
desktop Web client (using activex) for 1200 connection in 10 Mbps for huge
transaction. and

we used Xrdp+wine+Guacamole with 600 connection with 50 Mbps bandwidth .

what protocol they are used  ( Microsoft remote desktop Web client ) is
taking less bandwidth compare  with  Guacamole.

if we tune guacamole like that  Microsoft remote desktop Web client it is
valuable for all in low bandwidth.

without your help we can not do any changes in guacamole server.

Please guide.




On Sun, 1 Mar 2020 at 11:36, Mike Jumper <mj...@apache.org> wrote:

> On Sat, Feb 29, 2020, 20:57 Manoj Patil <ma...@gmail.com> wrote:
>
>> Dear,
>>
>> Thanks your valuable replay .
>>
>> I observe that when data send from server to client in image/PNG and PNG
>> take to much bandwidth rather than *Webp.*
>>
>
> No, whether WebP performs better than PNG depends on the content of the
> image, and there is more to performance than simply bandwidth. Guacamole
> attempts to detect this automatically and use whichever will produce the
> best user experience. Forcing WebP across the board will likely perform
> noticably poorly.
>
>
>> *Please guide us how i am enable or decode image data/PNG to image
>> data/Webp in guacamole server with tomcat with compression?*
>>
>
> Guacamole already does this automatically, and it has nothing to do with
> Tomcat.
>
> Really, I think you are chasing red herrings, trying to solve a problem
> that isn't actually in the software. Your recording and bandwidth
> measurements both show things working nominally and that the bandwidth
> usage is not high.
>
> I believe the ultimate issue is that you're trying to cram 600 connections
> down the same 50 Mbps pipe, and that you are not going to achieve
> reasonable performance for those 600 connections simply because that is not
> a reasonable resource allocation. Guacamole will still work, but it will be
> strongly limited by what you've given it to work with.
>
> It doesn't hurt to experiment (it's the only way progress happens) and
> you're more than welcome to dig through the source on your own and see
> whether tweaking things with respect to WebP vs. PNG vs. JPEG helps. If you
> do discover an improvement, it would be a very welcome contribution.
>
> That said, keep in mind:
>
> * This and many other things have been tried before. Guacamole is as it
> currently is because of this extensive testing and design. Using WebP
> across the board has been tested, and it performed badly.
> * There are bandwidth, encode time, and decode time tradeoffs in using
> these various compression schemes. The idea of using WebP across the board
> (for browsers that support it) was rejected during initial testing for this
> reason - PNG often compresses faster and nearly as well, with the slower
> encode time of lossless WebP outweighing any benefit and ultimately making
> things slower.
> * While there are likely cleverer ways to determine whether PNG, WebP, or
> JPEG should be used, and cleverer algorithms to be applied to Guacamole's
> cost optimizer, it's unlikely to be as simple as "just use WebP" and
> unlikely to produce the order-of-magnitude improvement you would need to
> fit all those connections in 50 Mbps.
>
> - Mike
>
>

-- 
Thanks & Regards,

Manoj Patil.(Asst. Manager DBA)
Netwin Systems & Softwares(I) Pvt.Ltd
Nasik.
Mobile No -+91-9922507588
Email- manoj2patil@gmail.com

Re: Required help for reducing High Bandwidth Utilization of Guacamole

Posted by Mike Jumper <mj...@apache.org>.
On Sat, Feb 29, 2020, 20:57 Manoj Patil <ma...@gmail.com> wrote:

> Dear,
>
> Thanks your valuable replay .
>
> I observe that when data send from server to client in image/PNG and PNG
> take to much bandwidth rather than *Webp.*
>

No, whether WebP performs better than PNG depends on the content of the
image, and there is more to performance than simply bandwidth. Guacamole
attempts to detect this automatically and use whichever will produce the
best user experience. Forcing WebP across the board will likely perform
noticably poorly.


> *Please guide us how i am enable or decode image data/PNG to image
> data/Webp in guacamole server with tomcat with compression?*
>

Guacamole already does this automatically, and it has nothing to do with
Tomcat.

Really, I think you are chasing red herrings, trying to solve a problem
that isn't actually in the software. Your recording and bandwidth
measurements both show things working nominally and that the bandwidth
usage is not high.

I believe the ultimate issue is that you're trying to cram 600 connections
down the same 50 Mbps pipe, and that you are not going to achieve
reasonable performance for those 600 connections simply because that is not
a reasonable resource allocation. Guacamole will still work, but it will be
strongly limited by what you've given it to work with.

It doesn't hurt to experiment (it's the only way progress happens) and
you're more than welcome to dig through the source on your own and see
whether tweaking things with respect to WebP vs. PNG vs. JPEG helps. If you
do discover an improvement, it would be a very welcome contribution.

That said, keep in mind:

* This and many other things have been tried before. Guacamole is as it
currently is because of this extensive testing and design. Using WebP
across the board has been tested, and it performed badly.
* There are bandwidth, encode time, and decode time tradeoffs in using
these various compression schemes. The idea of using WebP across the board
(for browsers that support it) was rejected during initial testing for this
reason - PNG often compresses faster and nearly as well, with the slower
encode time of lossless WebP outweighing any benefit and ultimately making
things slower.
* While there are likely cleverer ways to determine whether PNG, WebP, or
JPEG should be used, and cleverer algorithms to be applied to Guacamole's
cost optimizer, it's unlikely to be as simple as "just use WebP" and
unlikely to produce the order-of-magnitude improvement you would need to
fit all those connections in 50 Mbps.

- Mike