📜 ⬆️ ⬇️

Food for Bitrix parrots. We test the performance, we select the iron



Everybody needs Bitrix-parrots, and more. I work as an administrator in a hosting company and constantly encounter such requests. Let's get this over with once and for all - in this article you will find the answer to how iron affects the performance of CMS Bitrix (real and “parrot”). We will conduct tests and select several server configurations.

Objectives of the study:


Testing conditions:


So, what to feed the parrots?


Technique

To identify the dependence of the Bitrix indicators on the performance of the processor and RAM, we use the following configuration:

Processor: Intel Core i7-3770K CPU @ 3.50GHz
Memory: Samsung 1600 MHz DDR3 (M378B5273DH0-CH9)
SSD: OCZ-VERTEX4 128Gb MLC
HDD: WD5000AAVS-00ZTB0

This configuration allows you to change the frequency of the processor in a wide range, which means you do not need to replace the CPU many times. To change the frequency, use the frequency-set utility. The intel_pstate driver does not control the frequency, so it is disabled.

Measurements are carried out in increments of 400 Hz. In addition to performance indicators Bitrix, measure how many requests the main page can perform the server in one second. To measure performance when using an HDD disk, a replica of a previously tuned system was created on the HDD and indicators were collected at the maximum frequency.

Results: we feed parrots with frequency and speed of requests with cores


These are the graphics I have turned out:











Under the link pdf with all the data in graphs and tables . Plus, additional data about the dependence of file system and database indicators on the number of cores and processor frequency.

According to the data obtained, the following conclusions can be drawn :


We select iron


Considering the data obtained, we will assemble several servers and check their performance. To confirm or disprove the resulting theory, I took three low-cost configurations with different frequency and number of cores. And a few more servers, where more kernels.


For these servers, the frequency will be set automatically (intel_pstate enabled in performance mode), the table shows the maximum frequency according to the processor specifications.

What are we looking for?


The theory is confirmed ↓





Performance indicators correspond to the previously identified patterns. The higher the frequency, the higher the score shows Bitrix. And if you need a server capable of servicing a large number of visitors, you should choose more cores with the highest base frequency possible.

Used in the configuration article with 1dedic.ru . Servers on E5-2640v4 and 2xE5-2699v4 can be ordered at a 10% discount for 2 months - contact the sales department with the code phrase "We need a server for Bitrix, for real performance." If you pay for the year minus another 10%.

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