Prerequisites
-
Install Warp:
- Create an Object Storage bucket.
- Make sure that the project has enough Object Storage quota for about 20 TiB of test data.
-
Create an access key for a service account that can read and upload objects in the bucket. For example, assign the service account the
storage.editorrole for the bucket or its parent project. You need its AWS-like ID and secret key to generate the test dataset. When you create the access key by using the CLI, the AWS-like ID and secret key are specified in the.status.aws_access_key_idand.status.secretparameters of the output. To create an access key, make sure you are in a group that has theadminrole.
How to prepare a test dataset
-
Set the bucket endpoint, name and credentials as environment variables, and specify the ID of the region that contains the bucket:
-
Generate the test dataset. Use the
--noclearparameter to keep the generated objects in the bucket after the test:This command generates a test dataset of 20,000 objects, each 1 GiB in size, and keeps it in the bucket specified in the environment variables. The Enhanced Throughput storage class provides the best transfer speed.
How to test data transfer speed
- Create and launch a one-time data transfer from the test bucket.
- While the data transfer is running, monitor the test bucket. Use the Traffic metric, measured in bytes per second, to observe the transfer speed.