Running the Nytro Profiler On Windows : Running the Nytro Profiler and Converter in the Manual Mode

Running the Nytro Profiler and Converter in the Manual Mode

Usage

NytroProfiler_<64> -D /dev/sda -CFG das -SZ 500 -T Linux -P /proc/partitions -I blk_trace.txt -O trace_results

Or

NytroProfiler_<64> -D disk0 -CFG san -SZ 500 -T Windows -I xperf_trace.txt -O trace_results

Type the following commands at the command prompt to manually run the Xperf mechanism:

*

To start tracing: xperf -on disk_io -f qpc_result.etl

*

To stop tracing: xperf -stop

*

To generate the Xperf trace file: xperf -i qpc_result.etl -a diskio -detail > xperf_trace

To manually run the Nytro Profiler under various scenarios, type this command at the command prompt:

*

If you want to profile the I/Os onto a disk (for example, Disk0) on a Windows machine:

*

Step 1: Run Xperf on the machine as described in the preceding bulleted list.

*

Step 2: Run NytroProfiler_64.exe -d disk0 -CFG das -SZ 200 -t Windows -i xperf_trace.txt -o trace_out

The Nytro Profiler generates a trace.qt file for a previously collected xperf_trace file on any Windows machine.

NOTE  Both steps can be run on the same machine or on a different Windows machine. Make sure that the trace file collected using Step 1 is fed as input to Step 2.

*

If you want to collect traces on a Linux machine by using blktrace, and then run the Nytro Profiler on a Windows machine:

*

Step 1: Run blktrace/blkparse (see Running the Nytro Profiler and the Converter in the Manual Mode)

*

Step 2: Run NytroProfiler_64.exe -D /dev/sdb:/dev/sdga -CFG das -SZ 200:400 -T linux -P dev_info -I trace -O trace_out

*

Copy the /proc/partitions on machine A (Linux) to machine B (Windows).

*

Copy the trace file from machine A (Linux) onto machine B (Windows).

*

Run the Nytro Profiler on machine B (Windows) to generate the final *.qt file.

NOTE  Step 1 runs on a Linux machine and Step 2 runs on a Windows machine. You must provide the blktrace file generated from Step 1 as input to Step 2. You must also provide a partitions file information in Step 2 (see Running the Nytro Profiler and the Converter in the Manual Mode).