How Do I Calculate the Number of Concurrent Sessions of a Cloud Application?
Scenarios
In multi-session mode, before creating a server group, the administrator calculates the maximum number of sessions of the corresponding specifications.
Prerequisites
- You have created an image by referring to Image Creation.
- You have obtained the minimum system requirements for the software.
Procedure
- Log in to the Workspace Application Streaming console as an administrator.
- Create a server group by referring to Creating a Server Group.
When creating a server group, set the total number of sessions to 2 to 5. Select the package type and specifications ID based on the actual specifications to be calculated.
- Create an application group by referring to Creating an Application Group and associate it with the server group created in 2.
- Click the name of the application group created in 3. On the displayed application group details page, add the desired application (such as Google Chrome) and the task manager application by referring to Adding Applications.
- Click the User Authorization tab and select the users to be authorized (recommended: two to five users) by referring to Authorizing Users or User Groups.
- On the Server Groups page, click the name of a server group. The Basic Information page of the server group is displayed.
- In the server list in the lower part of the displayed page, click in the Monitoring column. The server monitoring information is displayed. Record the CPU, memory, and GPU usage when the server is unloaded.
- Log in to the Huawei Cloud client using the user account (user A) added in 5 and click the desired application (such as Google Chrome) and the task manager application. Perform operations on this application and observe and record the resource usage (such as CPU, memory, and GPU) on the user panel of the task manager.
- Repeat 8 to log in using two to five accounts. Perform operations on the desired application without opening the task manager application. User A observes and records the resource usage of each session.
- The bottleneck metric is the metric with the highest usage of each session recorded in 9. For example, if the CPU usage, memory usage, and GPU usage of each session are 10%, 5%, and 4%, respectively, the bottleneck metric is CPU usage.
- Recommended maximum number of sessions = (85% – Bottleneck metric usage when the server is unloaded)/Bottleneck metric usage of each session
- After the calculation is complete, if the resources are no longer used, delete or unsubscribe from the servers, server groups, and application groups purchased in 2 in a timely manner. Otherwise, unexpected fees will be incurred.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.