Options
To start profiling NVMe/TCP, you need to configure the profiling specifications in the ntprof_config.ini file. The configuration file is divided into several sections, each of which contains a set of options. The following table lists the available options and their default values.
Profiling Specifications
| Option Name | Value Type | Description | Default Value |
|---|---|---|---|
| [Workload] | Configuration related to IO workload characteristics | ||
| SESSION_NAME | string | Name of the profiling session | "default_session" |
| IO_TYPE | string | Type of IO to collect (read, write, or both) | "both" |
| IO_SIZE | string | Fixed size of IO to collect | "all" |
| [Execution] | Configuration for execution constraints or limits | ||
| NETWORK_BANDWIDTH_LIMIT | string | Network bandwidth limit in MB/s | "INF" (no limit) |
| NVME_DRIVE_BANDWIDTH_LIMIT | string | NVMe drive bandwidth limit in MB/s | "INF" (no limit) |
| [Profiling] | Configuration for profiling mode and sampling | ||
| IS_ONLINE | boolean | Profiling mode: true for online, false for offline | true |
| DATA_DIR | string | Directory to store profiling data (only for offline mode) | "./ntprof.data" |
| TIME_INTERVAL | integer | Time interval in seconds to print results (only for online mode) | 1 |
| FREQUENCY | integer | Sampling rate: every <FREQUENCY>IOs | 1000 |
| BUFFER_SIZE | integer | Size of the profiling buffer in MB | 1024 |
| AGGREGATION | string | Aggregation function: min, max, avg, or dist | "avg" |
| [Report] | Configuration for enabling or disabling specific reporting features | ||
| ENABLE_LATENCY_DISTRIBUTION | boolean | Enable latency distribution reporting | true |
| ENABLE_THROUGHPUT | boolean | Enable throughput reporting | true |
| ENABLE_LATENCY_BREAKDOWN | boolean | Enable latency breakdown reporting | true |
| ENABLE_QUEUE_LENGTH | boolean | Enable queue length reporting | true |
| ENABLE_GROUP_BY_SIZE | boolean | Enable grouping by IO size in reports | true |
| ENABLE_GROUP_BY_TYPE | boolean | Enable grouping by IO type in reports | true |
| ENABLE_GROUP_BY_SESSION | boolean | Enable grouping by session in reports | true |