Performance tip: disable the mouse shadow for XenDesktop and XenApp

2:34 PM
Performance tip: disable the mouse shadow for XenDesktop and XenApp -

Gosh, cursors are pesky little things

Until I joined HDX and research ! it, I had no idea how complicated and troublesome might be a small arrow! Citrix XenDesktop and XenApp both a desktop on a server be needed and then the pixels of the desktop remoting to an end-client device; that end-client device could be a Windows workstation, a Linux thin client, an iPad or a smartphone. That is, there are two possible places a cursor on the desktop can be added, 1) on the server or 2) on the client device.

Server-Rendered cursor

server-rendered cursors are expensive for virtualized desktops. Each time the user moves the mouse, this message is sent to the server, so that the desktop can be redrawn, and then the new desktop will be sent back to the user. This can generate high-bandwidth, if the desktop is very complex (for example, a complex CAD model, in which the application recalculates the part) this may be a bottleneck. It may also result in many redefinition of temporary intermediate frame that unnecessary, intermittent information is that a user does not need, for example, when they move scrolling or window quickly.

Customer-Rendered cursor

client rendered cursors include the statement, done to draw the mouse being new to the client and easy to "background" desktop superimposed. recognize

A server Rendered Cursor

In XenApp, it is very simple rendered to recognize a server cursor by the mouse to the edge drag an application window. If the tail is cut off, then the mouse server is rendered, a client-rendered mouse would be superimposed keep his cock.

mouse shadow

One of the newer expensive graphical features that appeared in desktop mouse Shadow. Enable mouse shadow in many cases forcing XenDesktop rendered efficient client-cursor to latency vulnerable server to switch cursor rendering. For optimal bandwidth commensurate with Windows 7 behavior, we would recommend:

  • Considering the use of legacy graphics mode
  • a simple desktop without threads
  • ensuring mouse shadow disabled

Known issue

server-rendered cursors are most graphics seen in legacy mode on XenDesktop 7.x and XenDesktop 5 .x standard VDA.

on XenDesktop 5.x there was logic that by the mouse automatically disable shadows to avoid that cursors are not rendered on the client and the server. However, this logic regresses to XenDesktop 7.x and Citrix is ​​working to produce this logic again. Meanwhile manually switch to client-rendered cursor when running in legacy graphics mode, run on the VDA "control mouse" and the tab click pointer. Change the scheme to (None) and delete the "Enable pointer shadow" check box and click OK

Note: It is also to force adjustment eg by a PowerShell script that is executed at the application, which was based all Aero cursor

 $ excludedCursors = "Windows Aero (extra large) "` "Windows Aero (large)" includes, `" Windows Aero "



Keeping desktops Simple reduces bandwidth

Back in the good old days when the resources were limited, each byte has been carefully thought about, but as PCs got more powerful every year developers needed less cautious and visual prettiness was more of a priority. With the increasing demand for thin clients and low-cost endpoints and devices, we are less powerful in a new world in which the equipment is often used. Operating systems have more graphic are about to move with Microsoft protocols such as GDI in Windows 7 technologies such as DirectX and Aero in Windows 8 and beyond.

Many customers, however, are limited by their legacy infrastructure and hardware, poor bandwidth links to remote offices, etc. If less bandwidth is a priority corporate brands desktop with optimal bandwidth requirements of the introduction can provide some performance enhancements ( as the behavior of Windows 7 imitated by visually intensive Aero off topics and the use level desktops) . It's a lot less work for the operating system a viewing window on top of a simple desktop as a picture cat / baby / popular resort.

Server Rendered cursor redraw in CAD applications

Some CAD applications are written with customized controls and cursor so that the application the cursor remote control can not and enable client-rendered cursor. Although less frequently are in newer versions, have many CAD / 3D applications were submitted for physical workstations, and these complex cursor still Server are rendered. I am certainly aware that many products Autodesk force Server rendered cursor.

If this is the case, you limp or sluggish cursor appear, you should check for high latency or a very busy server does not keep up with the step end client. A very successful technique for improving the user experience and reduce bandwidth is to set a parameter called MouseTimer to the receiver, which is set by default to 10ms by increasing it you will increase the interval between the mouse messages to the server Send and actually make the user experience smoother. The reduced server load should increase also supplied the frame rate. Typically, our consultants have found that typically between 50-0ms to the setting of this parameter has good results. Some trial and error is recommended because the user varies subjective view of the delay and the specific load on the application. You can find details of how to set MouseTimer in the Citrix Receiver documentation, here

. Further information:

  • Fedi and Gabriel Post contains case studies of user scenarios upgrade versions of XenDesktop and XenApp 7.x, where to get the target to legacy constraints of equivalent bandwidth and contains additional information about MouseTimer and the usage of legacy graphics mode: / blogs / 2014/10/22 / what-new-with-HDX display in-XenDesktop xenapp-7-x /
  • Lagging or sluggish cursor may be a result of high latency or a very busy server not keep up with the end of his client. There are many metrics in Citrix XenCenter, XenServer and XenDesktop Director you high CPU or GPU load, storage IOPs and Latency identify (is a list of many here suitable for HDX use) and abundance of tools can help frame to monitor prices and latency like FRAPS, GPUPerf Magnar Johnsen and HDX monitor. Users can search for use also on the DirectX and OpenGL library, as described in detail in one of my previous blogs here.
  • There are a lot of good advice, as we are usually recommended HDX regarding network configured conditions, such as Citrix Consultant Amit Ben-Chanoch blog series. There are a few tweaks you make the balance, although adapt, they are not generally necessary, but worth a try for the pickiest user.
Previous
Next Post »
0 Komentar