Client/server latency optimizations

Citrix states in their article: CTX103444

CTX103444 - Client/server latency optimizations

This document was published at: http://support.citrix.com/kb/entry.jspa?externalID=CTX103444

Document ID: CTX103444, Created on: Feb 12, 2004, Updated: Feb 16, 2004

Products: Citrix MetaFrame XP 1.0 for Microsoft Windows 2000, Citrix MetaFrame XP 1.0 for Microsoft Windows 2003, Citrix MetaFrame XP 1.0 for Microsoft NT 4.0 Server Terminal Server Edition, Citrix MetaFrame 1.8 for Microsoft NT 4.0 Server Terminal Server Edition, ICA Win32 Web Client, ICA Client for 16-bit Windows

ICA Data Compression

The winstation driver can compress ICA data before sending it. Compression is enabled or disabled through the user interface, which directly modifies the .ICA file parameter shown in the following table.

ICA client Setting
ICA File Parameter
Description
Default Value

Use Data Compression
Compress
Enables (on) or Disables (off) data compression
Enabled (on)

By default, compression is enabled. If this setting is not modified, the Winstation driver receives data from the virtual channels and compresses it before sending the data to the encryption driver.

Disabling the Use data compression setting allows the ICA packet to move from the Winstation driver to the Encryption drier without compression. If resources on the client device are limited, disabling compression allows for better usage of the system resources because compression and decompression require additional processor resources on both client device and server.

In an environment where system and client resources are not a concern, data compression can be used to decrease the amount of data that must be sent across the network.

Bitmaps can be cached on the local hard disk to limit the amount of bandwidth that is required for an ICA session since some bitmaps may be available locally. The Use disk cache for bitmaps option allows graphical objects to be sorted in the local disk cache on the client device. When the server identifies a bitmap to be displayed, the server sends the bitmap to the client device and adds it to the list of cached bitmaps. The client sores the bitmap locally for future use.

The first launch of an application can yield high bandwidth because all graphical objects are being sent across the network for the client to cache locally. Not all ICA client devices support bitmap caching.

Use disk cache for bitmaps can be enabled or disabled through the user interface on the client, which directly modifies the following .ICA file parameters.

ICA Client Setting
ICA File Parameter
Description
Default Value

Use disk cache for bitmaps
PersistantCacheEnabled
Enables (on)

Disables (off) disk caching
Enabled (on) when connection type is WAN

Disabled (off) when connection type is LAN

PersistentCacheSize
Sets the maximumdiskspace in bytes allowed or caching bitmaps
10mb

PersistentCacheMinBitmap
Defines the minimum size in bytes a bitmap must be before it is cache
8kb

PersistentCachePath
Specifies the directory path to the diskcache
%userprofile%\applicationdata\icaclient

One additional parameter, Maximum compression, is automatically enabled when Use disk cache for bitmaps is enabled. This parameter controls the size of the buffer used by the data compression process. When the parameter is enabled, the buffer is maximized to allow more ICA data to be compressed by the Winstation driver. Compression decreases the amount of bandwidth required by decreasing the total number of ICA packets that are transferred.

Note: MaximumCompression cannot be explicitly set from the Program Neighborhood user interface. This setting is not the same as DataCompression, which is set from the Program Neighborhood user interface.

The ICA client processes mouse movements and keystrokes to gather the information that is sent to the MetaFrame XP server. Separate mouse and keyboard timers track the time, in milliseconds. At the end of the specified time period the mouse and keyboard data are sent to the serer. By default, these time intervals are:

• 100 milliseconds by default for mouse movements

• 50 milliseconds by default for keystrokes

The ICA client sends the following data:

• All keyboard events that occur during the specified time period

• Only the latest mouse movements, although all movements are processed

Use Queue mouse movements and keystrokes can be enabled or disabled through the user interface on the client device, which directly modifies the following .ICA file parameters.

ICA Client Setting
ICA File Parameter
Description
Default Value

Queue Mouse movements and keystrokes
Mouse Timer
Time interval in milliseconds during which mouse input is collected before sending data to the MetaFrame XP server.
Disabled (0) or LAN or WA connection types

Keyboard Timer
Time interval in milliseconds during which keyboard input is collected before sending data to the MetaFrame XP server
Disabled (0) for LAN or WAN connection types.

Delays between entry and echo of mouse movements and keyboard input are one of the primary frustrations that client users can experience on a high-latency network connection. SpeedScreen features in MetaFrame XP and the ICA client software enable almost immediate echo of mouse movements and keystrokes at the ICA Client.

Use SpeedScreen Latency Reduction manager to customize SpeedScreen settings for a MetaFrame XP server, individual published applications, and input controls within applications. You can save a SpeedScreen configuration file and then deploy the file across your server farm.

To launch Speedscreen Latency Reduction Manager from the start menu, choose programs>Citrix>MetaframeXP>SpeedScreen Latency Reduction Manager.

Tip: You can launch SpeedScreen Latency Reduction Manager by clicking its button on the ICA Administrator Toolbar.

By default, instant mouse click feedback is enabled and local text echo is disabled for all applications.

You can enable local text echo on an application –by-application basis only. If you use this feature, the programs to which you apply it must use only standard Windows APIs for displaying text or the settings will not work correctly.

Important: Test all aspects of an application with local text echo in a no0n production environment before enabling text echo for your users.

With SpeedScreen Latency reduction manager, you can also configure local text echo settings for individual input fields within an application. See the application help for the SpeedScreen Latency Reduction
Manager utility for more configuration information.

For general information about SpeedScreen options, see the online help in the SpeedScreen Latency Reduction Manager.

After you use Speed Screen Latency Reduction Manager to configure SpeedScreen settings for the server (and specific applications, if you choose), the manager saves the settings for each application in the directory C:\Winnt\system32\ss3config. To deploy the configuration settings throughout a server farm, copy the entire directory and its contents to each MetaFrame server in the server farm.

Tip: If you plan to copy SpeedScreen configuration settings across a server farm, apply the settings to “all instances of an app” on the server when you configure individual application settings, because, path names might differ on various destination servers.

Be aware that applications developed using MFC generate application window names dynamically. This is not standard behavior. The SpeedScreen Latency Reduction Manager uses window names to identify exception entries, and could apply saved settings erroneously on a destination server if you applied SpeedScreen settings to a specific instance of the application.



Primary links

Custom Search

Who's new

  • maczugaher
  • locksgydff
  • isotheces
  • ahundredyears7
  • Jacomijntjefu

Who's online

There are currently 0 users and 0 guests online.

KrissysCorner.com RuthSwensonLaw.com CreativeLizardProductions.com

DISCLAIMER:

None of this has anything to do with us, someone else is responsible for the entire thing, and we have no idea who or why. We do not know anything about it. It may be alien life forms for all we know: we haven't a clue. You cannot blame us for anything that may result from your visit. That was entirely your own personal choice, made by you of your own volition, and without our knowledge. We do not, after all, have any control over you and cannot by any stretch of the imagination be expected to accept or acknowledge, be it legally or morally, any accountability for decisions made by you on an independent basis, utilizing your own free will, and without our intervention. We are therefore in no way, shape, or form answerable to anyone for any consequences arising from the aforementioned or indeed any other actions, similar or otherwise, because it was not us that did, or did not do anything. It is not even remotely our fault, and we are in no way prepared or willing to accept any liability, not even slightly, ever. We are, in fact completely and utterly blameless, in that it is definitely not our concern, and no blame can possibly be laid at our doorstep, even if we had one, the possession of which we hereby reserve as being entirely our own free choice. The onus is not on us at all, and furthermore, never has been. The entire matter is wholly beyond our control, and completely out of our hands, each of which are washed scrupulously clean of the whole business. We are not accountable for anything at all, and we hereby categorically deny all responsibility for all that has ever, or will ever happen. Our innocence is therefore wholly beyond doubt and absolutely unimpeachable, and so cannot, under even the remotest or unlikeliest circumstances, be brought into question. By clicking either on a link on this site, clicking on a link that leads to this site, or by arriving at this site by natural or supernatural means, you are in effect accepting responsibility for the fact that it is all entirely your own fault, down to the most miniscule detail, and that you are wholly accountable for whatever outcome may arise as a consequence of the aforementioned action or actions insofar as they were undertaken personally by you on an entirely voluntary basis and without any persuasion, coercion or influence from any party or parties other than yourself. Don't come sniveling to us, we are only figments of your imagination. I also agree that if I am ever with a contributor to this website during mealtimes I agree to pay for any super-sizing of their meal, or at least a nice dessert or one of those foo-foo drinks with an umbrella or a monkey. By admitting to have seen the worthless spineless drivel on this website (also known as content)

I Agree Wholeheartedly and Without Reservation to the above. (Except maybe for that part about the monkey.)

All Your Base Are Belong To Us.

Soylent Green Is People!

Never make a bet with a Sicilian when Death is on the Line!

No. Really, I do agree.