ais performance or (same) ais show performance command supports six subcommands. The following command entries are excerpted from captured CLI help:
counters Show (GET, PUT, DELETE, RENAME, EVICT, APPEND) object counts, as well as:throughput Show GET and PUT throughput, associated (cumulative, average) sizes and counters.latency Show GET, PUT, and APPEND latencies and average sizes.capacity Show target mountpaths, disks, and used/available capacityintra-data Show intra-cluster streaming traffic: RX/TX object counts, sizes, throughput, and average size.disk Show disk utilization and read/write statistics
Further, use --help to display any of the six performance subcommands, e.g.:
$ ais performance throughput --helpNAME:ais performance throughput - Show GET and PUT throughput, associated (cumulative, average) sizes and counters.Examples:- 'ais performance throughput --refresh 10' - update every 10s;- 'ais performance throughput --refresh 10 --count 5' - 5 iterations, 10s apart.USAGE:ais performance throughput [TARGET_ID] [command options]OPTIONS:count Used together with '--refresh' to limit the number of generated reports, e.g.:'--refresh 10 --count 5' - run 5 times with 10s intervalno-headers,H Display tables without headersnon-verbose,nv Non-verbose (quiet) output, minimized reporting, fewer warningsrefresh Time interval for continuous monitoring; can be also used to update progress bar (at a given interval);valid time units: ns, us (or µs), ms, s (default), m, hregex Regular expression to select table columns (case-insensitive), e.g.:--regex "put|err" - show PUT (count), PUT (total size), and all supported error counters;--regex "Put|ERR" - same as above;--regex "[a-z]" - show all supported metrics, including those that have zero values across all nodes;--regex "aws-get|version-change" - show AWS backend reads and out-of-band object version changes;--regex "gcp-get|version-change" - same as above for Google Cloud ('gs://')units Show statistics and/or parse command-line specified sizes using one of the following units of measurement:iec - IEC format, e.g.: KiB, MiB, GiB (default)si - SI (metric) format, e.g.: KB, MB, GBraw - do not convert to (or from) human-readable formatverbose,v Verbose outputhelp, h Show help
Note that
ais show performanceand its shorter version,ais performance, can be used interchangeably.
ais performance throughput
Example usage:
$ ais performance throughput --refresh 30
ais show performance latency
Example usage:
$ ais show performance latency --refresh 10 --regex get
Column naming:
(n)- number of operations(t)- average latency over the refresh interval: change in cumulative time divided by change in count; shown as 0 when fewer than 4 requests complete during the interval
| Columns | Meaning |
|---|---|
GET(n), GET(t) | user GET requests, warm and cold; for cold GETs, latency includes reading from the remote backend; reads by copy/transform jobs are not included |
AWS-GET(n), AWS-GET(t) | reads from the AWS (S3) backend - by cold GETs and also by prefetch, blob download, and copy/transform jobs; latency includes storing (or copying/transforming) the object locally |
Other backends follow the same convention: GCP-GET, AZURE-GET, OCI-GET, and REMAIS-GET (remote AIS cluster).
Since backend reads include job traffic, the difference between AWS-GET(n) and GET(n) is not the number of cold GETs.
ais show performance counters
$ ais performance counters --helpNAME:ais performance counters - Show (GET, PUT, DELETE, RENAME, EVICT, APPEND) object counts, as well as:- numbers of list-objects requests;- (GET, PUT, etc.) cumulative and average sizes;- associated error counters, if any, and more.USAGE:ais performance counters [TARGET_ID] [command options]OPTIONS:average-size Show average GET, PUT, etc. request sizecount Used together with '--refresh' to limit the number of generated reports, e.g.:'--refresh 10 --count 5' - run 5 times with 10s intervalno-headers,H Display tables without headersnon-verbose,nv Non-verbose (quiet) output, minimized reporting, fewer warningsrefresh Time interval for continuous monitoring; can be also used to update progress bar (at a given interval);valid time units: ns, us (or µs), ms, s (default), m, hregex Regular expression to select table columns (case-insensitive), e.g.:--regex "put|err" - show PUT (count), PUT (total size), and all supported error counters;--regex "Put|ERR" - same as above;--regex "[a-z]" - show all supported metrics, including those that have zero values across all nodes;--regex "aws-get|version-change" - show AWS backend reads and out-of-band object version changes;--regex "gcp-get|version-change" - same as above for Google Cloud ('gs://')units Show statistics and/or parse command-line specified sizes using one of the following units of measurement:iec - IEC format, e.g.: KiB, MiB, GiB (default)si - SI (metric) format, e.g.: KB, MB, GBraw - do not convert to (or from) human-readable formatverbose,v Verbose outputhelp, h Show help
ais performance disk
$ ais performance disk --helpNAME:ais performance disk - Show disk utilization and read/write statisticsUSAGE:ais performance disk [TARGET_ID] [command options]OPTIONS:count Used together with '--refresh' to limit the number of generated reports, e.g.:'--refresh 10 --count 5' - run 5 times with 10s intervalno-headers,H Display tables without headersrefresh Time interval for continuous monitoring; can be also used to update progress bar (at a given interval);valid time units: ns, us (or µs), ms, s (default), m, hregex Regular expression to select table columns (case-insensitive), e.g.:--regex "put|err" - show PUT (count), PUT (total size), and all supported error counters;--regex "Put|ERR" - same as above;--regex "[a-z]" - show all supported metrics, including those that have zero values across all nodes;--regex "aws-get|version-change" - show AWS backend reads and out-of-band object version changes;--regex "gcp-get|version-change" - same as above for Google Cloud ('gs://')summary Tally up target disks to show per-target read/write summary stats and average utilizationsunits Show statistics and/or parse command-line specified sizes using one of the following units of measurement:iec - IEC format, e.g.: KiB, MiB, GiB (default)si - SI (metric) format, e.g.: KB, MB, GBraw - do not convert to (or from) human-readable formathelp, h Show help