Book Image

Optimizing Citrix?? XenDesktop?? for High Performance

By : Craig Thomas Ellrod
Book Image

Optimizing Citrix?? XenDesktop?? for High Performance

By: Craig Thomas Ellrod

Overview of this book

Citrix XenDesktop is a suite of desktop virtualization tools designed to provide users with fast and convenient access to their Windows desktops and applications through any device. Virtual desktops mean that rather than setting up hundreds or thousands of individual computers in an enterprise, companies can instead opt to create servers with large amounts of memory, disk, and processing resources, and use virtualization to offer these resources to end users. The result of this is that users are provided with an experience that appears to be identical to having an individual desktop PC. Each user has some disk space, processor time, and memory allocated to them, as though it is present on their own physical machine, when in reality, the resources are physically present on a centralized server. This book starts by answering the basic questions you need to ask when considering XenDesktop, followed by methods of how you can properly size your server infrastructure for XenDesktop. You’ll discover how to optimize the virtual machines used in XenDesktop, how to optimize your network for XenDesktop, and how to optimize the hypervisor and the cloud. You’ll also learn how to monitor XenDesktop to maximize performance. By the end of the book, you will be able to plan, design, build, and deploy high performance XenDesktop Virtualization systems in enterprises. You will also know how to monitor and maintain your systems to ensure smooth operation.
Table of Contents (18 chapters)
Optimizing Citrix XenDesktop for High Performance
Notice
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Terminology and concepts


In this section, we will cover some commonly used terminology and concepts used with XenDesktop.

Hyperthreading

Most physical servers designed to be used with a hypervisor include physical CPUs that are capable of hyperthreading. Hyperthreading allows a CPU to be used by more than one process or task at a time. Hyperthreading allows multiple threads to run on each processor core. Simple math would indicate that hyperthreading effectively doubles the CPU count. However, Tribal Knowledge says the extra amount of performance varies, and it is more like a 1.5:1 ratio providing a 20 to 30 percent performance improvement, and not 2:1 with 100 percent performance improvement. A virtual CPU (vCPU) or multiple vCPUs are assigned to VMs. Hyperthreading doubles the number of available vCPUs that can be assigned with the caveat mentioned in the preceding section.

The server side

It is important to understand terminology and concepts as they apply to the server side of the XenDesktop architecture. The server side refers to any term, concept, or component to the right of the network cloud.

The client side

The client side refers to any term, concept, or component to the left of the network cloud. To have a complete end-to-end solution, you need to consider an important part of the architecture—the end user device or client. There isn't much to consider here; however, the client devices can range from high-powered Windows desktops to low-end thin clients or mobile devices. There is a software component called Citrix Receiver that is necessary to complete the connection to XenDesktop that runs on the client hardware.

Virtual machine

A virtual machine is a software-implemented version of the hardware. For example, Windows Server 2012 R2 can be installed as a virtual machine running in XenServer, VMware ESX, and Hyper-V. In fact, every server and desktop in this book's examples can be installed as a VM with the exception of the hypervisor itself, which obviously needs to be installed on the server hardware before we can install any VMs.

Note

Technically, you could run a hypervisor inside another hypervisor, known as a nested hypervisor, but there is no reason to do this as the performance would not be good.

Server virtual machines

Server VMs are based on a Windows Server operating system used for delivering applications or hosted desktops to users.

Desktop virtual machines

Desktops VMs are based on the Windows desktop operating system used for delivering personalized desktops to users or for delivering applications from desktop operating systems.

XenApp®

Citrix XenApp is an on-demand application delivery solution that enables any Windows application to be virtualized, centralized, and managed in the datacenter and instantly delivered as a service. Prior to XenDesktop 7.x, XenApp delivered applications, server-based and hosted shared desktops (server desktops), and XenDesktop delivered only Windows desktops. Now, with the release of XenDesktop 7.x, it delivers both desktops and applications. XenApp as a standalone product is still available.

EdgeSight®

Citrix EdgeSight is a performance and availability management solution for XenDesktop, XenApp, and endpoint systems. EdgeSight monitors applications, devices, sessions, license usage, and the network in real time. EdgeSight will be phased out as a product, and its functionality will be incorporated into Citrix Director and the HDX Insight Appliance.

FlexCast®

Don't let the term "FlexCast" confuse you. FlexCast is a term designed to encompass all of the different architectures in which XenDesktop can be deployed. FlexCast allows you to deliver virtual desktops and applications according to the needs of diverse performance, security, and flexibility requirements of every type of user in your organization. FlexCast is a way of describing the different ways to deploy XenDesktop. For example, task workers using low-end thin clients at remote offices will use a different FlexCast model than, say, a group of HDX 3D high-end graphics users. The following are the FlexCast models you may want to consider:

FlexCast model

Use case

Citrix products used

Local VM

Local VM desktops extend the benefit of centralized, single-instance management to mobile workers that need to use their laptops offline. Changes to the OS, apps, and data are synchronized when they connect to the network.

XenClient

Streamed VHD

Streamed VHDs leverage the local processing power of rich clients, which provides centralized single-image management of the desktop. This is an easy, low-cost way to get started with desktop virtualization. This is rarely used.

Citrix Receiver

XenApp

Hosted VDI

Hosted VDI desktops offer a personalized Windows desktop experience, typically required by office workers, which can be delivered to any device. This combines central management of the desktop with full user personalization. The user's desktop runs in a virtual machine. Users get the same high-definition experience that they had with a local PC, but with centralized management. The VDI approach provides the best combination of security and customization. Personalization is stored in the Personal vDisk. VDI desktops can be accessed from any device such as thin clients, laptops, PCs, and mobile devices. This is the most common model.

Citrix Receiver

XenDesktop

Personal vDisk

Hosted Shared

Hosted Shared desktops provide a locked down, streamlined, and standardized environment with a core set of applications. This is ideal for task workers where personalization is not required. All the users share a single desktop image. These desktops cannot be modified, except by IT. Hosted Shared desktops are not appropriate for mobile workers or workers that need personalization. They are, however, appropriate for task workers using thin clients.

Citrix Receiver

XenDesktop

On-demand applications

On-demand applications allow any Windows application to be centralized and managed in the datacenter, hosted on either multi-user terminal servers or virtual machines and delivered as a service to physical and virtual desktops.

Citrix Receiver

XenApp and XenDesktop App Edition