Adding prefetch to an appset will improve the overall performance of the application when Cloudpaging. Verifying a prefetch is included in an appset can be helpful during the appset creation and tuning process. Prefetch information can be reviewed in 3 locations:

  • Cloudpaging Studio Workspace
  • Cloudpaging Studio AIB Editor
  • Cloudpaging Player log file

A prefetch is made up of application "pages", sometimes referred to as blocks. Each page is 32 KB and dividing the number displayed in the UI's by 32 will provide the number of pages in the prefetch. "Page" will be used throughout this article when referring to the 32 KB segment of a prefetch.

Cloudpaging Studio Workspace

  1. Use Studio to open the Project file (STW) 
  2. Click on the Project tab.
  3. The bottom right portion of the tab will have a section labeled Prefetch Information.  

In this example, the Stage 1 prefetch in Studio is 372416 KB or 11638 Pages:

Cloudpaging Studio AIB Editor

Once the appset has been packages, use Studio to open the .AIB extension.

  1. Open the AIB file in Studio
  2. Locate the section labeled Prefetch Information and click the "+" to expand it.
  3. There will be multiple entries in this section:

a) Prefetch Page Count: The total number of Pages for all Prefetch stages combined.

b) Prefetch Stage # Page Count: The total number of Pages for the given Prefetch Stage.

c) Prefetch Stage # Size (in KB): The total number of Kilobytes for a given Prefetch Stage.

Items b. and c. will be repeated for each Prefetch Stage included in the appset. Values will be shown both in "Hex" (Hexidecimal) and "Dec" (Decimal).

Following the example, the blow AIB file "Dec" value for Prefetch Stage 1 Page Count matches the value of 11638 calculated in above for the Project Workspace.

Cloudpaging Player Log File

  1. Page and Launch the appset using Cloudpaging Player. This can be done locally or from a Cloudpaging Server
  2. Select File -> Options from the Player menu and click on the Log tab
  3. Click the View Log button
  4. The log should open in a text editor. Search for "paging-stage".

Continuing with the example, the log will show entries similar to the following:

2016-01-15 18:12:36.437 (-08:00) {test.username:    1} [CLNT:12876:32480] Verbose: [APM] Paging-stage(0) for "Sample Applicaton Name" is ready to start. 11638 block(s) missing.

The number of "block(s) missing" will match the 11638 Pages from the Project Workspace tab and the AIB file. Additional "Paging-stage(#)" entries will be present if more than 1 prefetch exists in the appset.