Jump to Content
  Previous Next
Content starts here

Creating a JRA Recording with Latency Data

You create a JRA Recording with latency data in pretty much the same way you create a regular JRA recording (see 3. Create JRA Recording). The difference, though, is that you use a different profile for creating a recording with latency data than when you create the "normal" JRA recording. If you use the profile with minimal overhead, the JRA will not perform a garbage collection at the end and beginning of the recording, which minimizes the impact on the system when creating a recording.

For help on the Advanced option for the recording profile, see To use the normal recording profile with advanced options.

The instructions for how to use the Latency Recording profiles are described in:

To use the normal latency data profile
  1. Make sure that your application is running and is under load.
  2. If you run the application without load, the data captured from that application will not show where there is room for improvement.

  3. In the JRockit Browser, select the JRockit instance you just started or select an entire folder with running JRockit instances.
  4. Click the Start JRA recording button.
  5. The Start JRA Recording dialog box appears (Figure 16-2).
  6. Figure 16-2 JRA recording with normal latency profile


    JRA recording with normal latency profile

  7. Select the connection you want to record.
  8. From the Select recording file drop-down list, choose Latency Recording Normal.
  9. Type a descriptive name for the recording in the Local filename field.
  10. The file is created in the current directory of the BEA JRockit process, unless you specify a different path. If an old file already exists, it will be overwritten by the new recording.

  11. Set a recording time for the duration of the recording in the Recording time field.
  12. Select the time unit you wish to use for specifying the recording time (minutes or seconds).
  13. Note: If you set a time that is too short, e.g. shorter than 30 seconds, you will probably not get enough sample data for the recording to be meaningful.
  14. Set a threshold value for Latency threshold. The latency threshold is the duration of the latency itself. As soon as the latency is longer than that threshold, the data will be saved.
  15. For advance option information, see To use the normal recording profile with advanced options.

  16. Click Start.
  17. The JRA recording progress window appears. When the recording is finished, it loads in the JRA Tool.

To use the minimal latency recording profile
  1. Make sure that your application is running and is under load.
  2. If you run the application without load, the data captured from that application will not show where there is room for improvement.

  3. In the JRockit Browser, select the JRockit instance you just started or select an entire folder with running JRockit instances.
  4. Click the Start JRA recording button.
  5. The JRA Recording dialog box appears (Figure 16-3).

    Figure 16-3 JRA recording with minimal latency overhead profile


    JRA recording with minimal latency overhead profile

  6. Select the connection you want to record.
  7. From the Select recording file drop-down list, choose Latency Recording Minimal Overhead.
  8. Minimal overhead means that the capturing of latency data affects the system in the least possible way, i.e. it will not disturb or put extra load when recording.

  9. Type a descriptive name for the recording in the Local filename field.
  10. The file is created in the current directory of the BEA JRockit process, unless you specify a different path. If an old file already exists, it will be overwritten by the new recording.

  11. Set a recording time for the duration of the recording in the Recording time field.
  12. Select the time unit you wish to use for specifying the recording time (minutes or seconds).
  13. Note: If you set a time that is too short, e.g. shorter than 30 seconds, you will probably not get enough sample data for the recording to be meaningful.
  14. Set a threshold value for Latency threshold. The latency threshold is the duration of the latency itself. As soon as the latency is longer than that threshold, the data will be saved.
  15. For advance option information, see To use the normal recording profile with advanced options.

  16. Click Start.
  17. The JRA recording progress window appears. When the recording is finished, it loads in the JRA Tool.

See also: Filtering Latency Event Information.

  Previous Next