How to test CPU
To get more CPU performance parameters, use several testing utilities at the same time:
-
If you have not done so already, contact technical support or your VK Cloud account manager with a request to allocate the required resources for testing.
Wait for confirmation that the resources you need have been allocated.
-
Make sure that SDN Sprut is connected for your project. Otherwise, contact technical support with a connection request.
-
Create a test virtual machine with the following parameters:
-
Virtual machine category: select a category depending on the type of resource requested, or
All current virtual machine types. -
Virtual machine type: select
STD-3 (Ice Lake) 4 vcpu, 16 Gb RAMfrom the list, or the type specified when requesting the resource. -
Disk type:
SSDis selected by default. To get maximum performance values, select the High-IOPS or Low Latency NVMe type. -
Disk size:
256 GBis selected by default. To get maximum performance values, it is recommended to select1500 GB, provided thatHigh-IOPSorLow Latency NVMEis selected in the Disk type field. For more information, see the section on disk performance. -
Operating system: select
Ubuntu 22.04 LTS. -
At the Configuration step, in the Network field, select the existing SDN Sprut or create a new network with the Sprut type.
Leave the remaining parameters at your discretion.
-
-
Connect to the created VM and install all available updates. Installation methods depend on the selected OS.
-
Install the sysbench utility on the VM:
sudo apt install sysbench -
Run the single-threaded CPU performance test 5 times in a row:
sysbench cpu --threads=1 --time=60 run -
Run the 16-thread CPU performance test 5 times in a row:
sysbench cpu --threads=16 --time=60 run -
Record the results in the spreadsheet. The average value of the
CPU Speed (events/s)parameter across five runs will be the most indicative.
-
Install the Geekbench 6 utility on the VM:
wget https://cdn.geekbench.com/Geekbench-6.2.1-Linux.tar.gztar xf Geekbench-6.2.1-Linux.tar.gzcd Geekbench-6.2.1-Linux -
Run the CPU performance test 5 times in a row:
./geekbench6 -
Save the resulting links to the test results, as well as the average value across 5 runs for the
Single-Core ScoreandMulti-Core Scoreparameters.
-
Install the 7-Zip Benchmark utility on the VM:
sudo apt install p7zip-full -
Run the single-threaded CPU performance test 5 times in a row and save the command output to a file:
7z b -md26 -mmt1 5 -
Run the 16-thread CPU performance test 5 times in a row and save the command output to a file:
7z b -md26 -mmt16 5 -
Calculate the average values of the
MIPSparameter across five runs, separately for the single-threaded and 16-thread commands.
-
Install the UnixBench utility on the VM:
sudo snap install unixbench -
Run the single-threaded CPU performance test 5 times in a row and save the command output to a file:
unixbench -c 1 -
Run the 16-thread CPU performance test 5 times in a row and save the command output to a file:
unixbench -c 16 -
Save the value of the
Benchmark Index Scoreparameter separately for the single-threaded and 16-thread commands.
Collect all the results obtained in the previous CPU performance testing steps. Now you can compare this data with the performance of other cloud platforms.
The created resources are billed. If you no longer need them, delete them: