How do I test the upload and download speeds for Object Storage?
What is the network speed of the object storage? I want to test this.
6 Replies
Currently, testing the speed for Object Storage is not an option on our Speed Test page. You can still test the upload/download speeds for object storage in our Newark data center by using wget
to test the speed:
wget http://speedtest.us-east-1.linodeobjects.com/1GB_test.file
That will test the networking speed for a 1GB file. To test bigger sizes:
Test a 1GB file:
wget http://speedtest.us-east-1.linodeobjects.com/1GB_test.file
Test a 10GB file:
wget http://speedtest.us-east-1.linodeobjects.com/10GB_test.file
Test a 50GB file:
wget http://speedtest.us-east-1.linodeobjects.com/50GB_test.file
I am unaware of a way to test the networking speed for Object Storage in Frankfurt at this time. I have reached out to my colleagues to see if there is a way to do this that I'm unaware of, or if we can get this up and running.
I stand corrected: to test this in the Frankfurt data center:
10MB file:
wget http://eu-central-1.linodeobjects.com/speedtest/10MB-speedtest
100MB file:
wget http://eu-central-1.linodeobjects.com/speedtest/100MB-speedtest
1GB file:
wget http://eu-central-1.linodeobjects.com/speedtest/1GB-speedtest
100GB file:
wget http://eu-central-1.linodeobjects.com/speedtest/10GB-speedtest
@mahasadhu For Singapore, the speed test options would be:
Test a 1GB file:
wget http://speedtest.ap-south-1.linodeobjects.com/1GB_test.file
Test a 10GB file:
wget http://speedtest.ap-south-1.linodeobjects.com/10GB_test.file
Test a 50GB file:
wget http://speedtest.ap-south-1.linodeobjects.com/50GB_test.file
If you want to test this to see speeds with IPv6 networking, you can simply add the -6
flag to the wget
command:
wget -6 http://speedtest.ap-south-1.linodeobjects.com/1GB_test.file
@JP - Someone else might have a better way to do this, though for testing upload speeds, you could use the s3cmd tool to find out how quickly files get uploaded.
For example, I took a test file and uploaded it to one of my buckets in Newark using s3cmd as follows (output is truncated), and I saw upload speeds between ~4 - 10MB/s.
s3cmd put 1GB_test.file s3://my-bucket -P
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
upload: '1GB_test.file' -> 's3://my-bucket/1GB_test.file' [part 1 of 69, 15MB] [1 of 1]
15728640 of 15728640 100% in 2s 5.61 MB/s done
upload: '1GB_test.file' -> 's3://my-bucket/1GB_test.file' [part 2 of 69, 15MB] [1 of 1]
15728640 of 15728640 100% in 1s 9.31 MB/s done
upload: '1GB_test.file' -> 's3://my-bucket/1GB_test.file' [part 3 of 69, 15MB] [1 of 1]
15728640 of 15728640 100% in 1s 9.87 MB/s done
upload: '1GB_test.file' -> 's3://my-bucket/1GB_test.file' [part 4 of 69, 15MB] [1 of 1]
15728640 of 15728640 100% in 1s 10.36 MB/s done
upload: '1GB_test.file' -> 's3://my-bucket/1GB_test.file' [part 5 of 69, 15MB] [1 of 1]
15728640 of 15728640 100% in 1s 10.38 MB/s done
[...]
upload: '1GB_test.file' -> 's3://my-bucket/1GB_test.file' [part 69 of 69, 4MB] [1 of 1]
4194304 of 4194304 100% in 0s 4.86 MB/s done
If you are seeing lower upload speeds than you'd hope/expect, running MTR reports to each Object Storage endpoint can help diagnose where along the route latency is increasing.
For example, with Newark:
mtr -rwbzc100 us-east-1.linodeobjects.com