Posts in Category "Performance"

Acrobat/Reader: poor performance opening a PDF with a smart card

Issue

It takes a long time to open a PDF file when there is a smart card attached to the computer.  This issue can occur regardless of whether the smart card is used in Acrobat/Reader.

Solution

Update to Acrobat 9.4.5, 10.1, or later.

Additional information

When the smart card is attached to the computer, Acrobat detects there is a certificate available. It tries to validate the smart card by checking the certificate chain in the Acrobat and the Windows trust stores. There is a known issue in Acrobat where the algorithm performing this certificate check is inefficient and loops through the chain multiple times. Adobe has improved the performance of the certificate check. However, it has no influence over the other components that lead to the total delay where a smart card is inserted. There are also known delays in smart cards, the reading device and driver, and in the Windows trust store.

reference: (182022367/2710575)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

Acrobat/Reader: slow display performance in Terminal Server or Citrix environments

Issue

When you view PDF files in Adobe Acrobat or Adobe Reader in a Terminal Server/Citrix environment, the display is slow to update over an RDP connection.  This issue is particularly noticeable when scrolling through PDF documents that contain high-resolution images.

Solutions

Solution 1: Update the Page Display preferences in Acrobat or Reader.

Change the following settings in Acrobat or Reader.  You can either disable these options directly in Reader/Acrobat under “Edit > Preferences > Page Display > Rendering”, or using the registry keys for system administrators:

  • deactivate “2D Graphic accelerationHKCU\Software\Adobe\Acrobat Reader\9.0\AVDisplay – bUse2DGPUf=dword:0
  • deactivate “Smooth imagesHKCU\Software\Adobe\Acrobat Reader\9.0\Originals – bAntialiasImages=dword:0
  • deactivate “Smooth line artHKCU\Software\Adobe\Acrobat Reader\9.0\Originals – bAntialiasGraphics=dword:0
  • set “Smooth Text” to None (optional: some customers have reported acceptable performance without setting Smooth Text to None)
    • HKCU\Software\Adobe\Acrobat Reader\9.0\Originals – bAntialiasText=dword:0
    • HKCU\Software\Adobe\Acrobat Reader\9.0\Originals – iAntialiasThreshold=dword:0
    • HKCU\Software\Adobe\Acrobat Reader\9.0\Originals – benableDDR=dword:0

Changing registry values is not officially supported by Adobe and you do so at your own risk.  You should only be changing the registry settings if you have the correct privileges and experience in this area.

System Administrators should change these settings first using the Preferences dialog in Adobe Reader (not using the registry) and re-test the performance through Citrix.  Once you have the right combination of settings that work, then you should record the values of these registry keys to use for your other Reader installations.  This is important as the value of the iAntialiasThreshold key can differ (0, 1, or 12) depending on which of the other options are deactiviated.

Note: These settings will improve the display performance on low-bandwidth connections, however, they can adversely affect the display performance on LAN connections.  You will need to test these thoroughly.

Solution 2: Use an RDP compression tool to compress the data being sent “over-the-wire.”

RDP sends the entire set of image data each time the image is scrolled on the page.  Sending all the data at once can cause congestion on the network connection, especially with limited bandwidth.  Some customers have had success using the following tool to improve the display performance on Terminal Server for low-bandwidth connections: http://www.ericom.com/ericom_blaze.asp

Additional information

There are no general solutions in Acrobat or Reader to improve performance problems in Terminal Server. Performance issues are often based on the bandwidth limitations of the network connection, or the RDP protocol itself.

The RDP protocol does not always handle image data well.  A terminal server on Windows 2003 Server uses RDP version 5.2.  A terminal server on Windows 2008 Server uses RDP version 7.0, which does improve display performance for images.  Therefore, an upgrade to a later operating system can also improve the performance if it uses a more recent RDP version like 7.0.

Here is an article from Citrix referring to the same issue:

http://support.citrix.com/article/CTX122914

and an entry in ourn forums discussing the same:

http://forums.adobe.com/thread/439803

reference: (181990819)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 5.8/10 (4 votes cast)

Acrobat/Reader: International registry keys being accessed too many times

Issue

When you open a PDF file in Adobe Acrobat/Reader you may notice that the client reads the following registry keys repeatedly:

HKEY_USERS\…\Control Panel\International\sDecimal

HKEY_USERS\…\Control Panel\International\sThousand

The result of reading these keys if often BUFFER OVERFLOW.  It’s unnecessary for Acrobat/Reader to access these registry keys multiple times when opening a single PDF file. If you’re using Terminal Server environments, where only one client services multiple users, this issues can lead to performance degradation.

Solution

Update to Adobe Acrobat/Reader 9.4 or X.

Additional information

It’s common for a BUFFER OVERFLOW to occur when reading registry keys on application startup. This error doesn’t necessarily point to a memory issue in Acrobat/Reader. Adobe Acrobat/Reader 9.4, X and later have been updated to access these keys only once when opening a PDF file. The number of BUFFER OVERFLOW events is therefore also reduced.

 reference: (181470806/2596701)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)