- Gpu test benchmark linux
- Тестирование производительности и стресс-тестирование графических ускорителей в Linux
- 1. GLXGears из пакета mesa-utils
- 2. GLMark2 от команды разработчиков проекта Linaro
- 3. Тест Furmark утилиты GPUTest от команды ресурса geeks3d
- Benchmarking
- Contents
- Standalone tools
- UnixBench
- interbench
- iperf
- hdparm
- gnome-disks
- KDiskMark
- systemd-analyze
- dcfldd
- peakperf
- Software suites
- Bonnie++
- IOzone
- HardInfo
- Phoronix Test Suite
- Flash media
- Graphics
- Basemark GPU
- GFXBench
- glmark2
- glxgears
- GpuTest
- Unigine Engine
- vkmark
- Blender-benchmark
Gpu test benchmark linux
GpuTest is a cross-platform (Windows, Linux and Max OS X) GPU stress test and OpenGL benchmark. GpuTest comes with several GPU tests including some popular ones from Windows’world (FurMark or TessMark).
GpuTest can be downloaded from THIS PAGE.
The number of GPU tests grows with the new versions of the tool. The foolowing tests are available in the latest version:
- FurMark based stress test (OpenGL 2.1 or 3.2).
- TessMark based tessellation test (OpenGL 4.0).
- GiMark: geometry instancing test (OpenGL 3.3).
- PixMark Piano pixel shader test (OpenGL 2.1 or 3.2).
- PixMark Volplosion pixel shader test (OpenGL 2.1 or 3.2).
- Plot3D vertex shader test (OpenGL 2.1 or 3.2).
- Triangle one of the most simple 3D scene ever made. (OpenGL 2.1 or 3.2).
A simple graphical user interface (GUI) allows to set options and launch GpuTest. The GUI is available for all platforms.
The GUI under Mac OS X
GpuTest can also be launched from the command line under every operating systems. Scores are saved in a convenient CSV file. A sample file with all command line parameters is provided in the zip file.
GpuTest is available for the following operating systems:
- Windows 7 and 8, 64-bit
- Linux 64-bit (Ubuntu-based, openSUSE)
- OSX 10.7, 10.8 and 10.9
GpuTest under Linux Mint 13
GpuTest under OSX 10.8
The Volplosion pixel shader test of GpuTest 0.3.0+
Источник
Тестирование производительности и стресс-тестирование графических ускорителей в Linux
Оригинал: GPU benchmarking and stress testing in Linux
Автор: Arnab Satapathi
Дата публикации: 29 марта 2017 г.
Перевод: А.Панин
Дата перевода: 26 апреля 2017 г.
Хотите измерить пиковую производительность своего графического ускорителя? Задумываетесь о корректности работы своего графического ускорителя под максимальной нагрузкой?
Вы можете без-каких либо проблем развеять все свои сомнения благодаря существованию нескольких инструментов для тестирования производительности графических ускорителей; мы будем рассматривать три отличных инструмента, а именно:
1. GLXGears из пакета mesa-utils
Утилита GLXGears с открытым исходным кодом является частью пакета утилит Mesa для тестирования поддержки технологии OpenGL и доступна в составе пакета программного обеспечения mesa-utils в дистрибутивах Debian/Ubuntu. Она может использоваться в качестве самодостаточного инструмента для тестирования производительности графического ускорителя и выводит число кадров в секунду (FPS) сразу же после запуска с помощью следующей команды:
Число кадров в секунду не будет превышать 60, но производительность любого приложения, работающего с трехмерной графикой, может быть значительно улучшена в случае его запуска с переменной окружения vblank_mode=0 ; в моем случае удалось получить значение, равное 6000 кадрам в секунду при использовании графического ускорителя Intel HD 3000.
2. GLMark2 от команды разработчиков проекта Linaro
Это еще одна популярная утилита с открытым исходным кодом, предназначенная для стресс-тестирования и тестирования производительности графических ускорителей, которая была создана на основе исходного кода утилиты GLMark . Она доступна на платформах Linux и Android.
В официальных репозиториях дистрибутива Ubuntu размещены бинарные пакеты программного обеспечения с компонентами утилиты GLMark2, поэтому при ее установке в Ubuntu или любом производном дистрибутиве не должно возникнуть никаких проблем. Достаточно выполнить следующую команду для установки ее новейшей версии:
К сожалению, бинарные пакеты с компонентами GLMark2 не добавлены в репозитории дистрибутива Debian, но вы в любом случае можете скомпилировать новейшую версию GLMark2 для дистрибутива Debian самостоятельно , после чего просто установить ее в систему.
Тестирование: теперь нужно просто выполнить команду glmark2 с помощью терминала, в результате чего откроется окно со стандартным разрешением 800×600 пикселей, в котором будут отображаться различные трехмерные объекты, такие, как фигурка лошади, кота, кролика и так далее. Процесс тестирования может растянуться на 8 минут, после чего будут выведены результаты тестирования. В моем случае графический ускоритель Intel HD 3000 набрал около 1000 баллов.
Стресс тестирование графического ускорителя: для работы GLMark2 требуется достаточное количество ресурсов графического процессора, поэтому зацикливание процесса может рассматриваться в качестве своеобразного режима стресс-тестирвоания графического ускорителя.
Тестирование производительности графического ускорителя производства NVIDIA с помощью GLMark2: я пользуюсь ноутбуком с дискретным графическим ускорителем NVIDIA Optimus (GeForce GT 540M), поэтому просто не мог не попытаться протестировать производительность этого ускорителя с помощью GLMark2. Я пытался проводить тесты со всеми известными параметрами, но результаты были неизменно-ужасными. Графический ускоритель ни разу не набирал больше 446 баллов, хотя я провел 4 теста; возможно, утилита GLMark2 просто не совместима с аппаратным обеспечением производства NVIDIA.
Команды, которые я использовал для тестирования производительности дискретного графического ускорителя производства NVIDIA с помощью утилиты GLMark2:
3. Тест Furmark утилиты GPUTest от команды ресурса geeks3d
Перейдем к рассмотрению инструмента для достоверного тестирования производительности графического ускорителя. Тест Furmark является одним из тестов утилиты с закрытым исходным кодом GPUTest от команды ресурса geek3d, которая может быть бесплатно загружена по ссылке www.geeks3d.com/gputest/download . Следует выибрать версию для Linux, которая распространяется в форме обычного ZIP-архива. В том случае, если вы загрузили этот архив в директорию Загрузки , вам придется выполнить следующую последовательность команд для его распаковки и запуска утилиты:
В результате откроется окно разрешением в 800×600 пикселей, с помощью которого будет выводиться сложный трехмерный объект, подобный представленному ниже.
При тестировании производительности графического ускорителя Intel 3000 HD я получил изменяющуюся рывками картинку с 9-10 кадрами в секунду.
И снова я попытался протестировать производительность дискретного графического ускорителя производства компании NVIDIA:
В этот раз были получены удовлетворительные результаты, выражающиеся в плавно изменяющейся картинке с 18-20 кадрами в секунду.
Стресс-тестирование графического ускорителя с помощью теста Furmark: в результате использования теста Furmark генерируется значительная нагрузка на графический процессор, а с помощью приведенной ниже команды программа может быть запущена в режиме непрерывного тестирования с окном разрешением в 1024×640 пикселей.
Программа GPUTest содержит реализации большого количества других тестов для тестирования производительности графических ускорителей, полный список которых размещен в файле README.txt. Попробуйте протестировать производительность вашего графического ускорителя с другими параметрами утилиты, пользуясь следующим правилом: чем меньше размер окна, тем больше производительность.
Существуют и другие более функциональные и сложные инструменты для тестирования производительности графических ускорителей от Unigine corp., такие, как Unigine Heaven , Unigine Vally и другие. Я не затрагивал их в данной статье, но вы можете самостоятельно загрузить их по данной ссылке и протестировать производительность своего графического ускорителя.
Если у вас остались вопросы, вы можете задать их и не забудьте поделиться ссылкой на данную статью с друзьями.
Источник
Benchmarking
Benchmarking is the act of measuring performance and comparing the results to another system’s results or a widely accepted standard through a unified procedure. This unified method of evaluating system performance can help answer questions such as:
- Is the system performing as it should?
- What driver version should be used to get optimal performance?
- Is the system capable of doing task x?
Many tools can be used to determine system performance, the following provides a list of tools available.
Contents
Standalone tools
UnixBench
interbench
interbench is an application designed to benchmark interactivity in Linux. It is designed to measure the effect of changes in Linux kernel design or system configuration changes such as CPU, I/O scheduler and filesystem changes and options.
interbench is available in the AUR: interbench AUR .
ttcp (Test TCP) measures point-to-point bandwidth over any network connection. The program must be provided on both nodes between which bandwidth is to be determined.
Various flavors of ttcp can be found in the AUR:
iperf
iperf is an easy to use point-to-point bandwidth testing tool that can use either TCP or UDP. It has nicely formatted output and a parallel test mode.
iperf can be installed, or a different version of iperf is available with iperf3 .
The time(1) command provides timing statistics about the command run by displaying the time that passed between invocation and termination. time contains the time command and some shells provide time as a builtin command.
hdparm
Storage media can be benchmarked with hdparm ( hdparm ). Using hdparm with the -Tt switch, one can time sequential reads. This method is independent of partition alignment!
gnome-disks
There is a graphical benchmark called gnome-disks contained in the gnome-disk-utility package that will give min/max/ave reads along with average access time and a nice graphical display. This method is independent of partition alignment!
Users will need to navigate through the GUI to the benchmark button («More actions. « > «Benchmark Volume. «). Example
KDiskMark
kdiskmark is an HDD and SSD benchmark tool with a very friendly graphical user interface. KDiskMark with its presets and powerful GUI calls Flexible I/O Tester and handles the output to provide an easy to view and interpret comprehensive benchmark result.
systemd-analyze
Will plot a detailed graphic with the boot sequence: kernel time, userspace time, time taken by each service. Example
The dd utility can be used to measure both reads and writes. This method is dependent on partition alignment! In other words, if you failed to properly align your partitions, this fact will be seen here since you are writing and reading to a mounted filesystem.
First, enter a directory on the SSD with at least 1.1 GB of free space (and one that obviously gives your user wrx permissions) and write a test file to measure write speeds and to give the device something to read:
Next, clear the buffer-cache to accurately measure read speeds directly from the device:
Now that the last file is in the buffer, repeat the command to see the speed of the buffer-cache:
Finally, delete the temp file
dcfldd
Dcfldd does not print the average speed in MB/s like good old dd does but with time you can work around that.
Time the run clearing the disk:
Calculate MB/s by dividing the output of the dcfldd command by the time in seconds. For this example: 75776Mb / (16.4 min * 60) = 77.0 MB/s.
7z benchmark command can be used to measure the CPU speed in MIPS and also to check RAM for errors. Just install p7zip and run the command below. More detailed information can be found at [1].
peakperf
peakperf-git AUR is a microbenchmark that achieves peak performance on x86_64 CPUs. Some issues may reduce the performance provided by your CPU, like CPU cooling. With peakperf you can check if your CPU provides the full power it is capable of doing.
You can calculate the performance (measured in GFLOP/s) you should get using your CPU (see [2]) and compare it with the performance that peakperf gives you. If both values are the same (or very similar), your CPU behaves as it should.
Software suites
Bonnie++
bonnie++ is a C++ rewrite of the original Bonnie benchmarking suite is aimed at performing several tests of hard drive and filesystem performance.
IOzone
IOzone is useful for performing a broad filesystem analysis of a vendor’s computer platform.
This program is available in the AUR: iozone AUR .
HardInfo
hardinfo can gather information about your system’s hardware and operating system, perform benchmarks, and generate printable reports either in HTML or in plain text formats. HardInfo performs CPU and FPU benchmarks and has a very clean GTK-based interface.
Phoronix Test Suite
The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available that provides an extensible framework for which new tests can be easily added. The software is designed to effectively carry out both qualitative and quantitative benchmarks in a clean, reproducible, and easy-to-use manner.
The Phoronix Test Suite is based upon the extensive testing and internal tools developed by Phoronix.com since 2004 along with support from leading tier-one computer hardware and software vendors. This software is open-source and licensed under the GNU GPLv3.
Originally developed for automated Linux testing, support to the Phoronix Test Suite has since been added for OpenSolaris, Apple macOS, Microsoft Windows, and BSD operating systems. The Phoronix Test Suite consists of a lightweight processing core (pts-core) with each benchmark consisting of an XML-based profile and related resource scripts. The process from the benchmark installation, to the actual benchmarking, to the parsing of important hardware and software components is heavily automated and completely repeatable, asking users only for confirmation of actions.
The Phoronix Test Suite interfaces with OpenBenchmarking.org as a collaborative web platform for the centralized storage of test results, sharing of test profiles and results, advanced analytical features, and other functionality. Phoromatic is an enterprise component to orchestrate test execution across multiple systems with remote management capabilities.
This suite can be installed with the package phoronix-test-suite AUR . There is also a developmental version available with phoronix-test-suite-git AUR .
S, an I/O Benchmark Suite, is a small collection of scripts to measure storage I/O performance.
It has been developed by algodev, the team behind the BFQ scheduler.
Download or clone the project, install its dependencies and run it as root (privileges needed to change disk scheduler).
Flash media
Performance characteristics can be measured quantitatively using iozone AUR . Sustained read and write values can, but often do not, correlate to real-world use cases of I/O heavy operations, such as unpacking and writing a number of files on a system update. A relevant metric to consider in these cases is the random write speed for small files.
The example invocation tests a 10M file using a 4k record size:
Graphics
Basemark GPU
Basemark GPU is an evaluation tool to analyze and measure graphics API (OpenGL 4.5, OpenGL ES 3.1, Vulkan and Microsoft DirectX 12) performance across mobile and desktop platforms. Basemark GPU targets both Desktop and Mobile platforms by providing both High Quality and Medium Quality modes. The High-Quality mode addresses cutting-edge Desktop workloads while the Medium Quality mode addresses equivalent Mobile workloads.
If you are using AMD GPU and have several vulkan implementations installed simultaneously, in the Test page you will see them as separate GPUs in Graphics Device dropdown list.
Basemark GPU is available in basemark AUR package.
GFXBench
GFXBench is a high-end graphics benchmark that measures mobile and desktop performance with next-gen graphics features across all platforms. As a true cross-API benchmark, GFXBench supports all the industry-standard and vendor-specific APIs including OpenGL, OpenGL ES, Vulkan, Metal, DirectX/Direct3D and DX12.
Vulkan API tests are currently under development and are only available for their corporate partners.
GFXBench is available in gfxbench AUR package.
glmark2
glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.
glmark2 is available in glmark2 AUR package.
glxgears
glxgears is a popular OpenGL test that renders a very simple OpenGL performance and outputs the frame rate. Though glxgears can be useful as a test of direct rendering capabilities of the graphics driver, it is an outdated tool that is not representative of the current state of GNU/Linux graphics and overall OpenGL possibilities. glxgears only tests a small segment of the OpenGL capabilities that might be used in a game. Performance increases noted in glxgears will not necessarily be realized in any given game. See here for more information.
glxgears can be installed via the mesa-demos and lib32-mesa-demos (for multilib) packages.
GpuTest
GpuTest is a cross-platform (Windows, Linux and Max OS X) GPU stress test and OpenGL benchmark. GpuTest comes with several GPU tests including some popular ones from Windows’world (FurMark or TessMark).
GpuTest is available in gputest AUR package.
Unigine Engine
Unigine corp. has produced several modern OpenGL benchmarks based on their graphics engine with features such as:
- Per-pixel dynamic lighting
- Normal & parallax occlusion mapping
- 64-bit HDR rendering
- Volumetric fog and light
- Powerful particle systems: fire, smoke, explosions
- Extensible set of shaders (GLSL / HLSL)
- Post-processing: depth of field, refraction, glow, blurring, color correction and much more.
Unigine benchmarks have found recent usage by those looking to overclock their systems. Heaven especially has been used for initial stability testing of overclocks.
These benchmarks can be found in AUR:
vkmark
vkmark is an extensible Vulkan benchmarking suite with targeted, configurable scenes.
vkmark is available in vkmark-git AUR package.
Blender-benchmark
Blender-benchmark will gather information about the system, such as operating system, RAM, graphics cards, CPU model, as well as information about the performance of the system during the execution of the benchmark. After that, the user will be able to share the result online on the Blender Open Data platform, or to save the data locally.
Blender-benchmark is available in the blender-benchmark AUR package.
Источник