mc support perf drive
The mc support perf drive
command measures the read/write speed of the drives in a cluster.
Use this command to identify potential drive performance bottlenecks in your deployment.
Syntax
Parameters
ALIAS
Required
The alias of the AIStor deployment.
--airgap
Optional
Use in environments without network access to SUBNET (for example, airgapped, firewalled, or similar configuration).
If the deployment is airgapped, but the local device where you are using the AIStor Client has network access, you do not need to use the --airgap
flag.
--blocksize
Optional
Specify the read/write block size.
If not specified, the default value is 4MiB
.
Use --blocksize <value>
where <value>
is a number and a storage unit, using standard storage unit abbreviations.
--concurrent
Optional
Specify the number of concurrent requests to test per server.
If not specified, the default value is 32
.
Use --concurrent <value>
where <value>
is a number.
--filesize
Optional
Specify the total size of data to read or write to each drive.
If not specified, the default value is 1GiB
.
Use --filesize <value>
where <value>
is a number and storage unit, KiB
, MiB
, or GiB
.
--serial
Optional
Run performance tests on drive(s) one by one.
--verbose, -v
Optional
Show per-server stats in the output.
Global flags
This command supports any of the global flags.
Examples
Test speed of all drives on all nodes with default specifications
Run drive read/write performance measurements on all drives on all nodes for a cluster with alias myaistor
.
The command does not specify the blocksize, so the default of 4MiB is used.
mc support perf drive myaistor
Test drive speed measurements with custom specifications
Run drive read/write performance measurements on a cluster with alias myaistor
specifying a blocksize of 64KiB and data read/written from each drive of 2GiB.
mc support perf drive myaistor --blocksize 64KiB --filesize 2GiB