Equipment Recommendations [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:dpi_components:qoestor:install_and_update:hardware_recommendations [2024/10/14 12:19] elena.krasnobryzhen:dpi:dpi_components:qoestor:install_and_update:hardware_recommendations [2025/01/13 13:45] (current) – [Table] elena.krasnobryzh
Line 1: Line 1:
-===== Equipment prerequisites =====+====== Equipment Recommendations ======
 {{indexmenu_n>2}} {{indexmenu_n>2}}
  
-<note important>Do not install the module on the same server with the DPI platform!</note>+<note important>Do not install the module on server with DPI platform!</note>
  
-=== Minimum requirements === +==== Minimum Requirements ==== 
- +The component can be installed on a VM for testing purposes with the following minimum requirements
-For the subsystem, you can use hardware or virtual machines with the characteristics listed below+  - Processor (CPU) 2.5 GHz - 1 core
-  - Processor (CPU) 2.5 GHz - 1 pce+
   - RAM - at least 16 GB   - RAM - at least 16 GB
-  - Hard disk drive (SSD is highly desirable) - at least 500 GB+  - Hard disk (SSD highly recommended) - at least 500 GB
   - Operating system - CentOS 8.x, [[en:veos:installation|VEOS]], CentOS Stream 8.x, Oracle Linux Server 8.x, AlmaLinux 8.x   - Operating system - CentOS 8.x, [[en:veos:installation|VEOS]], CentOS Stream 8.x, Oracle Linux Server 8.x, AlmaLinux 8.x
-  - Network interface (NIC) - at least 1 Gbps +  - Network interface card (NIC) - at least 1Gbps
-<note important>{{ :dpi:dpi_components:capacity_space_for_qoe_and_hardware_example.xlsx |Capacity space for QoE and Hardware example}}</note>+
  
-== Processor == +==== Recommended Requirements for Every 10Gbps Peak Traffic on DPI ==== 
- +  - Processor (CPU) from 2.5 GHz - 6 cores 
-SSE 4.2 instruction set support is required. +  RAM - 64 GB 
- +  - Hard disk (SSD highly recommended) - at least 500 GB, see below for storage volume calculation and storage organization recommendations 
-Choose processors with a large number of cores. Clock frequency is less important. For example, 16 cores with 2,600 MHz are better than 8 cores at 3,600 MHz. +  - Operating system - CentOS 8.x[[en:veos:installation|VEOS]], CentOS Stream 8.x, Oracle Linux Server 8.xAlmaLinux 8.x 
- +  Network interface card (NIC) 2x10GbpsIt should be noted that each DPI generates an IPFIX flow at a speed of 0.5% to 1% of the real traffic speedIt is also recommended to aggregate the ports on QoE into LAG for fault tolerance.
-<note important>Do not disable Hyper-threading and Turbo-Boost.</note> +
- +
-== RAM == +
- +
-RAM should be no less than the amount of data requested+
- +
-The more RAM server has, the better performance will be achieved when building reports. +
- +
-The more memory, the less disk system is stressing. +
- +
-Minimum prerequisites is 16 GB. +
- +
-Always disable the swap file. +
- +
-== Disk == +
- +
-Required disk space is at least 16 GB for every storage dayit's actual value depends on daily trafficIt is estimated that 10 Gbit/s of average daily traffic generates approximately 25 GB of data per hour in the QoE Store. +
- +
-If your budget makes you possible to use SSDuse it. Otherwise use HDD. SATA HDDs 7200 RPM will be suitable+
- +
-When using HDD, you can combine them into RAID-10, RAID-5, RAID-6 or RAID-50. +
- +
-Most of the data is stored in the ''/var/lib/clickhouse/'' directoryYou can mount a drive/partition on this directory. +
- +
-Temporary data (ipfix dumps) is stored in the ''/var/qoestor/backend/dump/'' directory50 GB be sufficient for this. +
- +
-For best performance, it is important (recommended) that these directories are on a separate disk or arraySee [[en:dpi:dpi_components:qoestor:configuration:disc| Disk space settings]] +
  
-=== Maintenance advice from Yandex ClickHouse ===+Example of a QoE server receiving IPFIX from DPI for 100Gbps peak traffic (in+out): 
 +Server platform (2U, AMD EPYC 7713 processor with 64 cores, 512 GB RAM, HW RAID Controller, 2 x 960GB SSD RAID1 for OS, 4x3.84TB SSD NVME RAID0 stripe default disks + HDD/SSD RAID50 disks for storage of a specific volume, 2x network adapter 2x25GbE, 2xPSU)
  
-You could familiarize yourself with the contents of maintenance advice from Yandex ClickHouse by following the [[https://clickhouse.yandex/docs/en/operations/tips/|https://clickhouse.yandex/docs/ru/operations/tips/]] link.+=== Storage Volume Calculator Based on Average Traffic Speed === 
 +It is assumed that the average daily traffic is 60% of the total peak (in+out) traffic.   \\ {{ :dpi:dpi_components:qoestor:install_and_update:qoe_stor_sizing_based_on_average_speed.xlsx |In the provided calculator, you need to change the traffic value to get the storage volumes.}} 
 +==== Detailed Recommendations ==== 
 +| CPU                     | **One processor** supporting **SSE 4.2** instructions starting from [[http://en.wikipedia.org/wiki/Nehalem_(microarchitecture)|Intel Nehalem]] and [[https://en.wikipedia.org/wiki/Zen_2|AMD EPYC Zen2]] **with 4 or more cores**, base clock speed of **2.5 GHz and higher**. Choose processors with more cores. Clock speed is less important. For example, 16 cores at 2600 MHz is better than 8 cores at 3600 MHz. \\ **Do not disable Hyper-threading and Turbo-Boost.**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | 
 +| RAM                     | At least 16 GB, memory modules must be installed **in all processor channels** on the motherboard. Memory should be no less than the volume of requested data. More memory improves performance when generating reports. More memory also reduces disk load.\\ **Always disable swap file.**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | 
 +| Disks                   | To optimize storage costs, several types of disks are used\\ default — fast disks for data reception and aggregation process, it is recommended to use SSD NVMe in RAID0. \\ hot — disks for storage during periods of higher likelihood of report requests on this data, typically up to 3 months, SSD disks in RAID-10, RAID-5, RAID-6, or RAID-50. \\ cold — slow, large-volume disks for long-term storage, HDD disks in RAID-10, RAID-5, RAID-6, or RAID-50 are recommended. \\ The storage duration for each level is set in the configuration via the GUI. Data migration between disks and data cleanup happens automatically based on the settings. A mechanism for overflow control is also provided to protect the database. The main volume of data is stored in the /var/lib/clickhouse directoryTemporary data (IPFIX dumps) are stored in the /var/qoestor/backend/dump directory. For better performance, it is important (recommended) that these directories are located on a separate disk or array. See [[en:dpi:dpi_components:qoestor:configuration:disc|Disk Configuration]]. \\ For OS and QoE Stor software installation, use 2 disks of at least 256GB capacity, combined in RAID 1 (mirror). A hardware RAID controller is required. 
 +| QoE Cluster (Sharding)  | It is better to create multiple nodes and combine them into a cluster:\\ GUI optimizes queries so that all nodes generate reports in parallel. \\ [[en:dpi:dpi_components:ipfix_balancer|]] is used to evenly distribute data across nodes (roundrobin), significantly improving system performance. \\ In case of node failure, the balancer will automatically distribute data to the remaining nodes. General recommendation: as many nodes as possible and as little data per node as possible. This will provide:\\ 1. High performance\\ 2. Good fault tolerance\\ 3. Scalability (by adding nodes to the cluster)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
  
 +==== Tips from Yandex ClickHouse ====
  
 +You can read Yandex ClickHouse operation tips at [[https://clickhouse.yandex/docs/ru/operations/tips/|https://clickhouse.yandex/docs/ru/operations/tips/]].