📜 ⬆️ ⬇️

Load testing of CPU and SSD cloud hosters: compare Selectel, Servers, MCS and Ya.Oblako



We are constantly working with online stores and services, and from time to time our clients have a question about where to host their projects. These questions are more than ordinary: what hosting to choose, in which region, what to decide with the configuration. In recent years, more and more preference is given to cloud hosting; The percentage of renting full-fledged racks in the segment we are referring to for new projects is becoming less and less, and already operating companies are gradually transferring their assets to cloud platforms. The reason is simple - besides computing power, a business is no longer enough just a command line to manage the “farm”. The convenience of managing the infrastructure and, importantly, the possibility of its automation is also needed. This is a common situation for both the global and Russian markets. If you like - trend.

Over the past two years, two new major players in the cloud hosting market appeared in our country: Yandex.Oblako and Mail Cloud Solutions. It became interesting to us what the hardware of each of the presented companies is capable of and how realistic the provided configurations of resources are. We decided to find out, and after - to compare the data with the announced price offers.

Since we do not sell hosting ourselves, but only periodically we advise our clients and select the best price-quality solution for them, we can be relatively objective in this matter.

Tests


Three main characteristics were chosen for analysis: performance of computing resources, performance of the disk subsystem and cost of data storage / transfer. We did not go through all the possible dozens of cloud hosting options, but immediately stopped at four of the most obvious and popular domestic solutions. These are cloud services from Selectel, MCS, Y. Oblak and Servers.ru.

We begin by considering the cost of storing and transferring one GB of data per month:

Selectel : everything is clear and simple, without additional conditions.
Disks / month
Basic disk7.45 ₽ / GB
Fast drive$ 44.68 / GB
Universal disk29.79 ₽ / GB
Local disk15.05 ₽ / GB
Outgoing traffic / month
up to 10 Tb$ 1.0 / GB
up to 90 Tb$ 0.92 / GB
up to 900 Tb0.82 ₽ / GB
over 1000 Tb0,71 ₽ / GB
Servers , unfortunately, does not indicate exact prices for disks, only the total price for finished assemblies.

Mail does not take money for traffic, only for the space occupied by the type of disks used. It also provides turnkey solutions at specific prices.
HDD7₽ / ГБ
SSD19 ₽ / GB
At Yandex, too, everything is simple:
Disks / month
HDD$ 2.08 AUD / GB
SSD7,4441 ₽ / GB
Outbound traffic
up to 10 Tb1,5254 ₽ / GB
up to 50 Tb1,272
up to 150 Tb$ 1.0 / GB
over 150 Tb$ 0 / GB
For an objective assessment of the proposed software, performance comparison, as well as the evaluation of the price / quality ratio, it was decided to conduct a stress test for IOPS of parameters such as CPU and SSD speed.

In the case of Ya.Oblak, the price of the SSD NVMe is used to calculate the cost, so the overall price tag differs in a big way. In addition to Ya.Oblaka, NVMe is also offered by the Selectel specification, but in our case, the price of the usual SSD is used for the assembly.

An assembly with the following characteristics was chosen as a test platform:
CPU2 core
Ram4 Gb
SSD80 Gb
See the summary table with the cost of this assembly for all data centers considered:
SelectelServersMCSYa.Oblako (SSD NVMe)
5521,78 ₽
(3 GB of traffic for free)
2440.68 ₽
(including 4 TB of traffic, up to 10 Gbit / s)
3 300 ₽ (including unlimited channel up to 1 Gbit / s)8557,0224 ₽
Testing was conducted with the stress-ng and sysbench tools . For the CPU, the load was given in 1, 2 and 4 threads.

CPU test with stress-ng (conditional operations / s, bogo ops / sec):
1 thread2 threads4 threads
Selectel114762288822019
Servers91741823318093
Ya.Oblako82801758617620
MCS79111592614107




CPU test with sysbench utility:
1 thread2 threads4 threads
Selectel731.4514711457.71
Servers707.91406.321406.31
Ya.Oblako707.811381.741379.83
MCS683.041344.151344.54








From the above data, we can conclude that the assembly fully utilizes 2 processor cores, the indicator of the number of I / O operations doubles with an increase in the number of cores used. The highest rate, and, respectively, and higher performance shows the Selectel processor.

Selectel offers three choices of processors to choose from, unlike other data centers:


The smallest performance was shown by the Mail processor (Intel Xeon E5-2660 v4 2 GHz). The Servers and Ya.Oblako processors showed approximately comparable results under load, but the Servers processor was slightly better, with the two cores being used - 18,233 and 7,586 operations, respectively.

For SSD, testing was performed to check the number of IOPS by randomly reading 512-byte packets with a 4GB limit and 4Kb reading / writing (database emulation) with 75% read and 25% write options with a 16GB limit.

SSD test results:
ReadingRead / Write
Selectel12,80012300/4122
Servers106,0008367/2799
Ya.Oblako62282841/947
MCS232006152/2061




From the test results we can conclude that the best-performing SSD reads are offered by the company Servers - with results of 106 thousand IOPS.

A good indicator of reading from the disk shows the SSD offered by the company MCS, with an indicator of 23200 IOPS. The following is the Selectel SSD with a value of 12,800. And the most unsatisfactory indicator of the SSD provided by J. Oblak: the IOPS value in 6228 is completely useless :-( The same can be said about the YaD Oblak SSD in the test not only for reading from the disk , but also on record. The indicator is very small - 2841/947. The situation is better with SSD Mail, but nevertheless, the result is also not particularly inspiring - 6152/2061 IOPS.

The hard drives used by Selectel and Servers are leading in this test. Their read / write performance is 12300/4122 and 8367/2799, respectively.

It is clear from the tests that the SSD provided by the Servers data center is definitely better for reading from the disk, and consider the remaining options depending on the necessary needs of the company and the availability of prices.

Object Storage


For those who also like to use S3-compatible object storages in their activities, we also compared their price tags.

Selectel
Data storage
up to 1 TB1.43 ₽ / GB
from 1 to 10 TB1.33 ₽ / GB
from 10 to 100 TB1.23 ₽ / GB
more than 100 TB1.01 ₽ / GB
Outbound traffic
up to 10 TB$ 1.0 / GB
up to 90 TB$ 0.92 / GB
up to 900 TB0.82 ₽ / GB
more than 1000 TB0,71 ₽ / GB
Servers offer prices ranging from $ 2.27 / GB to $ 4.53 / GB, depending on location. The table shows the storage price for 1GB in Moscow:
Data storage
First 1 TB2.54 ₽ / GB
Next 50 TB2,34 ₽ / GB
The next 100 TB2.14 ₽ / GB
Over 151 TB1.93 ₽ / GB
One can take from them a storage in Amsterdam at ~ $ 2.27, but one should understand that for it the value is tied to the euro, plus, like for any other foreign site Servers in Luxembourg, Dallas or Singapore, 20% VAT is not taken into account . So, conditionally, the offer in Moscow is still the most advantageous, because here the price is already indicated with VAT.
Outbound traffic
up to 3 TB0,81 ₽ / GB
up to 20 TB0.76 ₽ / GB
up to 100 TB0,71 ₽ / GB
more than 100 TB0,66 ₽ / GB
Mail Cloud Solutions does not rank the storage cost by data volume, only by storage type, and also calculate the cost not by the volume of outgoing traffic, but by the number of I / O operations:
Data storage
Hot storage2,5 ₽ / GB
Cold storage2,3 ₽ / GB
Number of I / O operations
Hot storage
1,000 IOPS PUT, META, LIST
0,295 ₽ / GB
Hot storage
10,000 IOPS GET et al.
0,295 ₽ / GB
Cold storage
1,000 IOPS PUT, META, LIST
0,295 ₽ / GB
Cold storage
10,000 IOPS GET et al.
0.59 ₽ / GB
At Yandex, too, everything is simple: the cost does not depend on the amount of occupied space, but on the type of storage:
Data storage
Standard Storage1,261 ₽ / GB
Cold storage0,6712 ₽ / GB
Outbound traffic
up to 10 TB1,5254 ₽ / GB
up to 50 TB1,272 ₽ / GB
up to 150 TB$ 1.0 / GB
more than 150 TB$ 0 / GB

API


As for the automation of the infrastructure management process, all the operators listed above have API mechanisms available.

Three of them have OpenStack-compatible API, because inside, in fact, it is used in one form or another. Yandex went further and made its own alternative to OpenStack. As a result, their API has lost compatibility with everything except file storage. His, apparently due to the large popularity and prevalence of the format, they decided to leave S3-compatible, according to the precepts of Amazon.

Links to relevant documentation:

Selectel vpc
Servers.ru
Mailcloudsolutions
Cloud.Yandex

findings


Due to the fact that different services rank their services differently, it is quite difficult to bring together all the above data. Therefore, we decided to relate the listed price tags to the configuration of a single mid-level online store, which we have on support. And as a result, we received approximately the following data on the cost of a monthly server rental at different sites:



This is with regard to the financial and practical side of things. As for performance, then we think you yourself understood everything. In terms of processor performance, Selectel takes the lead with a good margin. Whereas MCS still has to work on the computing resources provided. In terms of performance, the Servers.ru and Mail Cloud Solutions disk subsystems, on the contrary, clearly outperform their comrades.

Knowing about these strengths and weaknesses, plus price information, we hope, will help you choose the right cloud service provider for specific tasks.

Source: https://habr.com/ru/post/438240/