Re: Improvments in the load testing environment

2022-02-16 Thread Ivanmarcus

Takuya,

Mike's rule of thumb has been 1 core and 2GB memory for ~25 users.

You seem to have followed that well, although I don't recall if Mike 
differentiated with regard to where the memory was allocated (I see you 
have specific settings for Tomcat).


I've never had need, nor tried, the number of users you're looking at, 
thus I won't be able to assist directly, however it might be helpful to 
others if you could describe how you've determined you max out at 340? 
By this I mean what actually happens - does Guacamole simply refuse to 
accept any more connections, or do existing connections become 
effectively unusable? If the latter, what criteria are you using, and 
what tasks are you performing at the time?


Also, what do you mean by 'The resource of the server does not seem to 
be so tight'? What is the CPU load, what is the memory use at this time?


Finally, FYI, here is a comment I made around 2 years ago when a 
question around hardware requirements came up: 'With approx 80-85 users, 
of which circa 35 or a little more are doing intensive CAD type work and 
the rest a mix of documents incl PDF images, the average bandwidth when 
busy has been less than 20Mb/s, server load is typically in the range 
1.5-2 (6 cores allocated) and memory use up to 8GB (incl OS) out of 12GB 
allocated. Very rarely server load will get a little beyond 3, and 
bandwidth will burst to 100Mb/s.'


As you will see, in the real world the load was not static and there 
were times when it was relatively high, but because no user is likely to 
do exactly the same thing at the same time as any other user it will 
tend to 'average out' to a certain acceptable level. However if you were 
to replicate something across 340 connections that was quite resource 
intensive it could well increase load beyond acceptable limits - however 
you'd be extremely unlikely to see this in normal operation.




On 16/02/22 12:25 am, takuya morita wrote:

Hi, I'm Takuya in Japan.

I have tried to load test guacamole using the following method. Is there 
anything I can do to make it better?

I thought I could connect up to 600.


Conditions
- Create a balancing group.
- Prepare 500 connections.
- Login to Guacamolemo with one user.
- Create a script to duplicate the tab and paste the url to create 500 
connections.
- The specs are 24 cores CPU, 48GB memory, 24G max memory for tomcat, 
12G min memory for tomcat.

- Maximum memory of tomcat 24G, Minimum memory of tomcat 12G


Result
- The maximum number of connections is 340.
- The session is alive all the time when I checked it using netstat.
- The resource of the server does not seem to be so tight.

I really want to achieve 600 connections!


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



Improvments in the load testing environment

2022-02-15 Thread takuya morita
Hi, I'm Takuya in Japan.

I have tried to load test guacamole using the following method. Is there
anything I can do to make it better?
I thought I could connect up to 600.


Conditions
- Create a balancing group.
- Prepare 500 connections.
- Login to Guacamolemo with one user.
- Create a script to duplicate the tab and paste the url to create 500
connections.
- The specs are 24 cores CPU, 48GB memory, 24G max memory for tomcat, 12G
min memory for tomcat.
- Maximum memory of tomcat 24G, Minimum memory of tomcat 12G


Result
- The maximum number of connections is 340.
- The session is alive all the time when I checked it using netstat.
- The resource of the server does not seem to be so tight.

I really want to achieve 600 connections!