Login VSI Test Duration

From Login VSI Documentation
Jump to: navigation, search

Timeframe

Timeframe is the time in which sessions are launched. The default timeframe is set to 2880 which means that the configured sessions will be launched over a timeframe of 48 minutes (2880 seconds) equally spreading the configured sessions over that time.

Launch window.png

Auto logoff timeout

The VSI launcher, the component that initiates sessions, is fire and forget. This is by design as VSI needs to be platform independent. We work with a variety of VDI environments and not every platform has a way to indicate if a session was launched successfully. From a VSI perspective a test is therefore completed once the last session has been launched. The problem with this concept is that the last (or the last few) session will not have become active. It takes time for sessions to become active. This is where the auto logoff timeout comes in. This is a timeout that starts ticking after the last session has been launched, after the timeframe has expired. This timeout allows the last or the last few sessions to log on to the environment and start a test. After the auto logoff timeout expires sessions are allowed to log off.

You configure this timeout on the second screen of the Start Test Wizard.

Auto logoff timer.png

This timeout starts counting after the last session has been launched. When the timer expires it will mark the test as complete and allow sessions to log off. Now at this point sessions are allowed to log off, but this doesn’t mean that sessions will actually log off. There is one last setting in the MMC that actually logs off the users, called Logoff session at, which has 3 trigger options: loop, segment and timer. By default, it is set to segment.

Logoff session at (trigger)

Basically the duration of a test = timeframe + auto logoff timer. By default these are 2880 and 120 = 48 + 2 = 50 minutes. This means that sessions can log off after 50 minutes. This is the time that the MMC shows under the "estimated time remaining until logoff command". However, sessions do not log off instantly when the logoff command is given, they only logoff when a trigger point is reached. There are 3 triiger points that can be configured: loop, segment, timer. A built-in workload loop lasts 48 minutes, has 4 segments all lasting about 12 minutes, and every segment has 3 timers roughly 4 minutes apart. Since a session may have just passed a trigger point the second before logoff was enabled, it can take up to 48/12/4 minutes until the last session has logged off.

Logoff options.png

When changing the Logoff session at, this will change where in the workloads the sessions can sign off. The loop option forces all sessions to sign off when they reach the end of a workload, the segment option forces them to sign off at 12 minute intervals, while the timer option forces all sessions to sign off at 4 minute intervals. Setting the sign off at timer will have the shortest sign off rate, whereas loop will have the longest as this setting will keep each session running continuously, i.e. loop 2, loop 3, etc., until it has reached the end of segment 4 of the workload after the logoff command is received.

Full duration of a test = timeframe + auto logoff timeout + logoff session at.

Logoff at Timer

Time to launch = 2880 seconds = 48 minutes. Auto logoff timeout = 120 seconds = 2 minutes. Logoff session at timer = 4 minutes. Result: 48 + 2 + 4 = 54 minutes (default settings). Give or take a few minutes for sessions being late due to the workload slowing down (application starting slower, etc.).

Login VSI will gradually increase the number of sessions running in your environment. This means that the first session might run for the full 54 minutes while the last session might only run for 4 minutes. We recommend a 48 minute (2880) timeframe for all tests.

Logoff at Segment

Time to launch = 2880 seconds = 48 minutes. Auto logoff timeout = 120 seconds = 2 minutes. Logoff session at segment = 12 minutes. Result: 48 + 2 + 12 = 62 minutes (default settings). Give or take a few minutes for sessions being late due to the workload slowing down (application starting slower, etc.).

Login VSI will gradually increase the number of sessions running in your environment. This means that the first session might run for the full 62 minutes while the last session might only run for 12 minutes. We recommend a 48 minute (2880) timeframe for all tests.

Logoff at Loop

Time to launch = 2880 seconds = 48 minutes. Auto logoff timeout = 120 seconds = 2 minutes. Logoff session at loop = 48 minutes. Result: 48 + 2 + 48 = 98 minutes (default settings). Give or take a few minutes for sessions being late due to the workload slowing down (application starting slower, etc.).

Login VSI will gradually increase the number of sessions running in your environment. This means that the first session might run for the full 98 minutes while the last session might run for 48 minutes. We recommend a 48 minute (2880) timeframe for all tests.