Measuring the Impact of Folder Redirection - User Logon

Measuring the Impact of Folder Redirection - User Logon

This is the forth in a series of articles on folder redirection by Aaron Parker, Helge Klein and Shawn Bass.

Previously in this Series

So far in this series on folder redirection, we’ve covered the basics of how folder redirection works, what the impact of folder redirection is on logon and application launch and in the previous article, Helge covered the impact on search in the Start menu. In this article, we’ll focus on actual measurements of that impact.

Measuring the Impact on Logon Performance

To measure the impact on performance of different configurations, including different profile sizes, folder redirection enabled or disabled and the file server under different stress conditions, we’ve used Helge’s own uberAgent in each of our environments. So while each environment was different, we’ve used the same methodology to measure the impact.

When we discuss profile sizes we referring to both the total size of the profile as well as the number of files in the profile. For these tests, we have 3 profile sizes:

Small**: 114 files, 4.69 MB **Medium: 1,461 files, 19.9 MB *Large: 2,334 files, 33.7 MB

Before capturing metrics, each user account/profile has completed the first logon. The environment used consisted of Citrix XenApp 6.5 (Windows Server 2008 R2) with locally cached profiles deleted at logoff. The file server was running Windows Server 2008 R2.

Logon Times of Different Profile Sizes and No Folder Redirection

The following graph shows the logon time of user account configured for a roaming profile and with no folder redirection configured. We’ve averaged the logon times over a number of tests for small, medium and large roaming user profiles.

Logon impact of profile sizes with no folder redirection

This shows a predictable increase in logon time as the profile grows - the larger the profile, the longer the logon time takes. In this case, because we’re using roaming profiles with no folder redirection, the entire profile is copied locally at user logon.

Logon Times of Different Profile Sizes with Folder Redirection Enabled

Let’s use the same tests (same user account with the same small, medium and large profiles) and enable folder redirection for each of the user profile folders.

Logon impact of profile sizes with folder redirection

In this test, there is no statistically significant difference between logon times. The reason for a more consistent logon time is that with folder redirection, we aren’t copying data locally at logon, other than the user’s registry (NTUSER.DAT). In these tests, there won’t be much difference in the size of the registry, therefore the logon times are similar.

Logon Times of Different Profile Sizes with Citrix Profile Management

If we again use the same user profiles, but instead of folder redirection, we utilise Citrix Profile Management (CPM), then the results of the logon tests look like this:

Logon impact of profile sizes with Citrix Profile Management

The logon times are much better than roaming profiles and more consistent like with folder redirection enabled, but the differences in variation are a little more expressed.

The improvement in logon times over roaming profiles are significant for the medium and large profiles with the similarity in logon times across all three profiles types being down to the similar amount of data required to get the profile down and the desktop loaded (user registry and files immediately accessed). CPM will continue to stream the remainder of the profile down in the background, so perhaps initial application launch may be affected.

Measuring the Impact on File Server Load on Logon Performance

We’ve looked at different types of profile and folder redirection configurations which have produced reasonable results for logon performance, but each test was done with the file server hosting the user profile or the redirected folders in an idle state.

Let’s look at what happens if the file server is under 0% (idle), 80% and 99% CPU load. I’ve covered some common reasons for file server CPU load in my previous article, but as a refresher these could include AV scans, run away processes, servicing a large number of SMB requests, or CPU resource contention.

Logon Times of Different Profile Sizes and No Folder Redirection

With the first test, we’ll again use standard roaming user profiles and no folder redirection configured, so the entire profile is copied to the Windows desktop at logon.

Logon impact of profile sizes with roaming profiles and file server under load

This produces some interesting results - with a small roaming profile, there’s little impact on logon times when the file server CPU is at 80%, but for each of the remaining tests, we can see that file server CPU load, even at 80%, more than doubles the logon time.

When the file server effectively runs out of CPU resources (at 99%) the direct effect on the user experience is clearly visible. For the medium profile, there’s a 1200% increase in logon time and for the large profile, a 2071% increase! Don’t let your file server/s run out of CPU resources.

Logon Times of Different Profile Sizes with Folder Redirection Enabled

The same CPU load tests run again with folder redirection now enabled on the same user profiles. Folder redirection helps to even out the results when compared to the previous test.

Logon impact of profile sizes with folder redirection enabled and file server under load

At 80% load on the file server, there’s an impact on the logon. Users sensitive to changes in logon times will probably notice, but I suspect that the majority of users would not be affected.

However, looking at scenarios when the file server runs out of CPU resources (around 99%), it is just unable to service SMB requests in a reasonable time and the user logon times more than triple or quadruple.

Even though we’ve implemented folder redirection, by itself it’s not a silver bullet. It helps considerably for large profiles, but once the file serve is busy, users will see the impact on performance.

Logon Times of Different Profile Sizes with Citrix Profile Management

Let’s look again at the effectiveness of a streaming approach to profile and data access instead of folder redirection, while the file server is under load.

Logon impact of profile sizes with Citrix Profile Management and file server under load

Logon impact of profile sizes with Citrix Profile Management and file server under load

What’s interesting here, is that where folder redirection reduced the differences between the logon times of the different profiles sizes, Citrix Profile Management does not. This can be explained by the need to transfer additional file data locally. Files are streamed to the client as they are accessed, so it’s likely that more data is transferred than when using folder redirection.

This approach is still a significant improvement over roaming user profiles. So, if you combine folder redirection and profile management, you should get the best of both worlds to improve the logon experience.

But… don’t let your file server run out of CPU resources.

Conclusion

Based on these results, we can see the benefits of enabling folder redirection, especially if you’re using roaming user profiles. Combining folder redirection with 3rd party profile management solutions should further improve the logon experience.

For hosted desktop customers (Citrix XenApp, XenDesktop, VMware Horizon etc.) there are usually inbox solutions to profile management; however for physical desktops 3rd party licensing is often required (or UE-V is available as a part of MDOP).

Whatever the approach, these are only parts of the equation, as we’ve seen, file server performance is crucial to providing good user experience. More importantly, consistent file server performance is important.

Logon storms, transient environment issues and undersized file servers can have a direct impact on logon times.