Optimizing desktop images with Citrix Optimizer - Login VSI
  • Variant A
  • Variant A
  • login vsi company logo 250x40

    Optimizing desktop images with Citrix Optimizer

    My last article was about the impact of different Windows 10 builds on the performance and scalability of your VDI environment. If you’d like to get more bang for your buck there is a new kid on the block: The Citrix Optimizer.

    Today we, at Login VSI, are going to look at what it does and how well it does that.

    How to optimize desktop images in your VDI environment

    It is a fact that by default Microsoft Windows desktop images contain a lot of features that you wouldn’t necessarily need in a VDI environment but finding these services, background tasks and other nifty performance optimization tricks can be quite a challenge, however the performance gains can be huge. Being experts in improving user-experience, aswell as the industry-standard in VDI performance testing, we here at Login VSI have been testing the effects of optimizing your desktop images and how to perform these steps in your VDI environment.

    These are the five typical ways used to optimize the performance of a VDI desktop as I see them:

    1. No optimizations at all
    2. The sysadmins know ‘a trick’ that worked very well in the past
    3. VMware’s operating system optimization toolkit is used
    4. Microsoft’s recommended settings for VDI desktops are applied
    5. The Citrix Optimizer is used

    In this post, I will focus on Citrix Optimizer, as I’m very curious to see how this new tool created by long term Citrix users, or “Citrites”, will perform in our labs. Since the last article I have not been able to find the time to test Microsoft’s recommendations for VDI Performance (reading it takes 24 minutes). But perhaps in the future.

    How to install Citrix Optimizer:

    The installation is as simple as can be, so we’ve made this handy little video, showing exactly how to install Citrix Optimizer:

    How to Use Citrix Optimizer

    When you open the Citrix Optimizer (CTXO) it asks you to select the template that’s most appropriate for your system. In my case running Windows 10 build 1709 I chose the closest one Citrix_Windows_10_1703.xml. The simple (this is a good thing!) wizard takes me to the next step where I can analyze my system.

    Citrix Optimizer performs a full scan of your desktop image and advises you on optimizations that you can apply. The list is very extensive. Please note that performance tuning templates are made for absolute performance. Your desktop will be fast but make sure it also delivers what your users need. (e.g. a Formula 1 car is really fast, but taking it for grocery shopping is not that great).

    While disabling search and indexing increases your VDI scalability you will probably be searching for emails for a long time, and would you still use a system without smooth screen fonts? – Blair Parkhill, Login VSI – VDI Expert

    How to Automate Citrix Optimizer

    I’m a fierce believer in automation, and you should automate as much as you can. I’ve observed so many times that manual steps, especially when repeated many times, leave small errors in your desktop images that can cause mayhem. So, does Citrix Optimizer allow automation? Yes, it does and looking at the file structure seeing a lot of PowerShell and XML files it will do so well (not surprisingly knowing Martin). I’ve integrated it nicely into our Microsoft Deployment Toolkit (MDT) environment but the same thing should work for other systems like SCCM.

    How did I automate Citrix Optimizer? Well I’ve gone for basic automation which does not yet detect the operating system and decide on the best template for that operating system by itself like VMware’s Operating System Optimization Toolkit (VMware OSOT) but I’ve added it to the right task sequence in MDT so all is good. Here is the example:

    mkdir c:Audit

    powershell.exe -executionpolicy Bypass -FILE "%~DP0CtxOptimizerEngine.ps1"
    Citrix_Windows10_x64_1703.xml" -Mode Execute

    xcopy "%~dp0Logs*.log" c:audit /e /y

    xcopy "%~dp0Logs*.xml" c:audit /e /y

    rmdir "%~dp0Logs" /s /q

    As you can see I’ve gone for the following parameters:



    Execute, to execute the optimization of my desktop template

    The optimization template of choice

    The results of using Citrix Optimizer

    The moment we’ve all been waiting for: how good does Citrix Optimizer tune my system? To keep it fair, I will do all the comparisons on default settings and then perform 10 runs with Login VSI to determine the VSImax and the Baseline. I’ve chosen to do these tests on three Windows 10 builds of which I’ve updated one (1703u) with all the available Windows Updates to see how they impact performance.

    Login VSI - the results of using Citrix Optimizer - VSImax Windows Citrix Optimizer
    Graph 1: VSImax, higher is better

    Login VSI’s Verdict:

    Although the Citrix Optimizer is new I like the fact that they are conservatively disabling services that users need running. The game is not to get the highest VSImax but to get the best user experience. I’m confident that the Citrix Optimizer team will continue to deliver updates and it’s therefore interesting to keep a close look on these guys.

    Login VSI - the verdict of using Citrix Optimizer - Baseline Windows Citrix Optimizer
    Graph 2: Baseline, lower is better

    To read our review of optimizing desktop images with VMware OSOT, click HERE.



    Start using Login VSI today

    Our industry-standard software is built to help you avoid problems, lower costs and improve performance. Request a Quote or get your (free!) Trial below, and benefit from our award-winning services.

    Request a Quote  Request a Trial



    About the company Login VSI

    The company Login VSI provides end-user performance insights for virtualized desktop and server based computing environments. Enterprise IT departments use flagship product Login VSI (for scalability testing) and new addition Login PI (for availability testing) in all phases of their virtual desktop deployment—from planning to deployment to change management—to build and safeguard a good performance, a high availability, and (as a result) a good and consistent end-user experience. For more information about Login VSI or for a free test license contact us.

    About the author
    Mark Plettenberg

    Mark Plettenberg (@markplettenberg) is a product manager of Login VSI and has played a critical role in the development and growth of Login VSI. Ask Mark about motorcycle mechanics and breaking/repairing anything and everything that has a power plug.