We are We have prepared a selection of tools and scripts for evaluating the performance of processors, storage systems, and memory Linux-machines: Iometer, DD, vpsbench, HammerDB and 7-Zip.
Our other selections with benchmarks:
A photo - — CC BY
This is a benchmark for evaluating the performance of the disk and network subsystems. Suitable for working with both a single server and a whole cluster. Iometer was introduced by Intel engineers in 1998. In 2001, the corporation donated the source code to the non-profit organization Open Source Development Labs () under license . Since 2003, the tool has been supported by a group of enthusiasts - the project at SourceForge.net.
Iometer consists of a dynamo load generator and a graphical interface. However, the latter is only available under WindowsAs for the generator, it allows you to simulate the load of third-party applications by creating special test templates for this purpose.
Benchmarks show: throughput, operations per second, latency and processor load. Not only average values are calculated, but also min/max.
Despite the fact that the last stable version of the tool was released in 2014, it is still used in и . However, the age of the system still affects. First, its interface and has not changed since 1998. Secondly, the tool sometimes displays not quite adequate results on all-flash arrays.
A simple script to evaluate VPS performance. Distributed by . Here is an example of his work, given in the official repository on GitHub:
$ bash <(wget --no-check-certificate -O - https://raw.github.com/mgutz/vpsbench/master/vpsbench)
CPU model: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Number of cores: 4
CPU frequency: 3417.879 MHz
Total amount of RAM: 3265 MB
Total amount of swap: 1021 MB
System uptime: 8:41,
I/O speed: 427 MB/s
Bzip 25MB: 4.66s
Download 100MB file: 1.64MB/s
The utility displays the number of cores, the frequency of the processor, the amount of memory involved. To evaluate the performance of vpsbench disks sequential and random read/write. Despite the fact that the utility is quite old (an update on GitHub was made about four years ago), it many cloud providers and IT companies.
One of the most popular benchmarks for database load testing. The tool is supported by a non-profit organization — Transaction Processing Performance Council. Its goal is to develop standards for database benchmarks.
HammerDB creates a test database schema, fills it with data and simulates the load of several virtual users. The load can be both transactional and analytical operations. Supports: Oracle Database, SQL Server, IBM Db2, MySQL, MariaDB, PostgreSQL and Redis.
An extensive community has formed around HammerDB. The utility is used by companies from 180 countries. Among them: , , , and many . If you want to explore the possibilities of the utility yourself, you can start with .

A photo - — CC BY
This archiver has a built-in benchmark for testing the speed of processors when compressing a certain number of files. It is also suitable for checking RAM for errors. Algorithm used for tests (Lempel–Ziv–Markov chain Algorithm). It is based on the scheme . For example, to run a benchmark with one thread and a 64 MB dictionary, it is enough to write the command:
7z b -mmt1 -md26The program will provide the result in MIPS (million instructions per second) format, which can be called a disadvantage. This parameter is suitable for comparing the performance of processors of the same architecture, but in the case of different architectures, its applicability is limited.
A command-line tool that converts and copies files. It can also be used to perform simple I/O tests on storage systems. It runs out of the box on virtually any GNU/Linux system.Linux.
On the wiki page command for evaluating disk performance when sequentially writing 1024-byte blocks:
dd if=/dev/zero bs=1024 count=1000000 of=file_1GB
dd if=file_1GB of=/dev/null bs=1024
It is also worth noting that D.D. as a simple CPU benchmark. True, this will require an additional program that requires resource-intensive calculations. For example, a utility for calculating hash sums .
dd if=/dev/zero bs=1M count=1024 | md5sumThe command above will show how fast (MB/s) the system will process a long number sequence. Although experts say that this command is only suitable for a rough performance assessment. It is also important to remember that DD allows you to perform low-level operations on hard drives. Therefore, you need to be careful when working with the utility so as not to lose some of the data (the name DD is sometimes jokingly deciphered as disk destroyer).
What we write about on our blogs and social networks:
![]()
![]()
![]()
![]()
![]()
![]()
Source: habr.com
