A
A
AndreiObuhovski2018-06-30 17:04:57
Solid State Drives
AndreiObuhovski, 2018-06-30 17:04:57

Is this a normal speed for an SSD hoster?

Hello. I ordered a virtual server from a hoster. I hesitated for a long time to take an HDD or SSD. In the end, I decided to overpay and take an SSD, since they should be an order of magnitude faster.

Immediately decided to conduct a speed test. Googled this command:

time for i in `seq 1 1000`; do     dd bs=4k if=/dev/sda count=1 skip=$(( $RANDOM * 128 )) >/dev/null 2>&1; done


I received the following data on the server:
real 0m6.361s
user 0m0.144s
sys 0m0.252s

I decided to run the same test on my laptop. I also have an SSD on it. And I got the result 6 times faster:
real 0m1.001s
user 0m0.156s
sys 0m0.152s

Question: Is the hoster deceiving people and giving out HDD for SSD or is my test incorrect?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Artem @Jump, 2018-06-30
Tag curated by

How to check the SSD from the host?
No way. In most cases, this is simply not possible.
To check the disk you need to have access to it.
And the hoster in most cases does not have this access - you work in a virtual machine that works with a block device located in the storage system.
In addition, when it comes to testing a disk, you need to clearly understand what you are doing and why.
For example, what things can affect the result of the test.
You also need to know that in general you are going to test what particular characteristic of the disk?
Latency?
Read or write speed, linear or random, at what queue depth?
Which feature is important to you?
Why do you need it at all?

V
Viktor Taran, 2018-07-02
@shambler81

it’s easy to ssd it’s a disk or not
Fill in the project and do it time du -sh *
If it took 30-50 times less time to calculate the entire project than on hdd, then this is ssd
The main difference between ssd is not read speed, but access speed, which is much more important when there are a lot of small files.
If the size of a folder with 24K files is considered to be about 1 second, then this is ssd
. If about 3 minutes, then you understand;)

S
Sanes, 2018-06-30
@Sanes

На VDS и даже на обычном шареде, хостер может искуственно ограничить скорость и запросы на диск.
И да, вы не единственный пользуетесь этим диском. Такая же история с сетью и процессором.

Пума Тайланд, 2018-06-30
@opium

А что вы меряете то ?
Какое то время, вместо скорости ссд

Z
Zettabyte, 2018-07-02
@Zettabyte

решил провести тест на скорость

Протестируйте с помощью вот такой команды и опубликуйте результаты (можно с кратким описанием и ценой VPS):
Разумеется, bs и count можно варьировать.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question