Sampling Buffer Size

The VTune(TM) Performance Analyzer stores the samples (32 bytes per sample) collected during the Activity run in the sampling buffer. When the buffer is full, the VTune analyzer suspends sampling, writes the data to the disk and then resumes sampling. Sampling data is not collected while the data is being written to the disk.

Considerations for Defining the Buffer Size

To adjust the sampling buffer size:

  1. From the Configure Sampling dialog box, select the General tab.

  2. Enter the buffer size in the Sampling buffer size field.

To adjust the sampling buffer size from the command line:

use -sb | -sample-buffer-size <size in kilobytes>.

Command-line example:

>vtl activity -c sampling -o "-sb 2222"

Note

The default sampling buffer size is 2000KB.

Other Sampling Configuration Options