XenApp / XenDesktop Stress Testing

Posted on 2012-08-24
Last Modified: 2012-09-10
Can I ask (please keep answers low tech) management freindly when you are migrating to a new thin client environment (3000 users!) what types of testing should be done to ensure the thin client infrastructure can perform adequately when all users are logged in and using the system,

I just see it must be difficult to simulate the same amount of usage unless you ask all 3000 of your users to access the test system, which isnt really practical.

What sort of stress testing do you perform and how on test environments to see if they are going to be able to do the job? Or what sort of watermarks/thresholds are you looking for that this is not going to take the strain?
Question by:pma111
    LVL 3

    Author Comment

    Not sure if stress testing is the correct terminology so would be interested to know what its called...
    LVL 116

    Accepted Solution

    We start off slow, and build up the numbers, 5,10,20,50,100

    but we also use scripts to load the servers, for proof of concept.

    Citrix do have load testers, but we use Tevron's Apps
    LVL 3

    Author Comment

    What exact tests are they (tevron/citrix load testers) running, and on the flip side, what watermarks are you looking for for potential "oh dear this is really struggling"?

    What kind of things are the scripts actually "doing".

    Is load testing the correct terminology then?
    LVL 3

    Author Comment

    And if say when you do your load testing the infrastructure is struggling, does that mean more investment, or how did you "tweak" things so it could handle the strain?
    LVL 3

    Author Comment

    Or you may wish to answer in line with, if you were an auditor/risk professional, what evidence from the load/stress testing would you want for assurance that when users start utilising this infrastructure its going to perform and be fit for purpose. Based on both testing scope, findings/results, remidial action....
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    More Investment usually, or reduce loads, sometimes it could be re-tweaking or configuration, hence why it's important to stage, phase deployments to large numbers.

    Because it's very difficult to model users concurrent behavior.

    So testing/load testing simulation, is for worst case scenarios

    e.g Monday Morning 9.00am, 3,000 users logons, can the infrastructure cope and deliver, and is logon time acceptable , with 60 seconds loading a desktop.

    it would fail if it took 20 minutes to load a desktop!

    So there needs to be a benchmark, users perceptions, expectations, etc
    LVL 14

    Assisted Solution

    Automated testing has some advantages, but there is no substitution for real users.  If you can get a small group (maybe 10%?) of pilot users to really test either XenApp or XenDesktop and then extrapolate the results, that will give you some fairly good numbers.

    So far as the test results, look for not only CPU and memory, but take a good look at disk IO and storage.  Disk IO is the real sleeper that can bite you later, and many people underestimate the impact of disk IO.

    In particular, if you have several monitoring agents, your disk IO will creep up and make the system appear sluggish.  

    Login VSI is pretty much the standard for automated testing, and a free version is available from
    LVL 19

    Assisted Solution

    LVL 23

    Assisted Solution

    by:Ayman Bakr
    Performance or load testing would rather be more appropriate.

    I would agree that there is no substitute for real users, however automation will give you a good indication what to have and from where to start. That is to say, with automation like EdgeSight for load testing you can determine how many sessions a server can tolerate before breaking down, how much resources are being used; then you can have a pilot environment with pilot users (representatives of your overall users in terms of application usage) as explained by Joharder at least 10% of your overall users.

    If you want to do it manually, you can monitor the load on your servers using these, non-exhaustive yet most important, performance counters (besides the Processor and Memory counters):

    Paging File % usage: High numbers for a long time indicate that you have too little RAM

    Physical Disk - Avg Disk Queue Length: I believe usually should be less than 2 (a higher number is a clear indication of disk congestion)

    Physical Disk - Avg Disk Sec/Read: Avg should be around 20 ms with spikes no higher than 50 ms. A problem in this is an indication of congestion in reading data from SAN

    Physical Disk - Avg Dsik Sec/Write: same as above

    System - Processor Queue Length: a number higher than 3 usually mean that processor is not sufficient or processors are very overloaded

    Network Interface - Bytes Total/Sec: should not exceed 70% to the total bandwidth of the interface

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    After several days of searching and hunting for limited documentation, I wanted to share this guide to hopefully save someone the hassle of trying to figure this out on their own. I have tested this on Xendesktop 7.1 and PS 4.5 running simultaneous…
    At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
    How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
    In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now