상세 컨텐츠

본문 제목

Linux Benchmark Software

카테고리 없음

by bosulseme1972 2021. 6. 10. 05:41

본문



Benchmarking Linux systems with command line tools. Benchmarking and stress testing is sometime necessary to optimize system performance and remove system bottlenecks caused by hardware. In a Linux system, this could be done easily with few basic command line tools. There are many all in one dedicated benchmarking tool with a pretty GUI. The Heaven tool is available in Basic, Advanced, as well as in Professional mode. Heaven Benchmark software allows you to select the perfect software edition based on your needs. Download Heaven. Performance Test. Performance Test is a fast, easy to access CPU benchmarking software allowing the user to benchmark objectively their system easily.

Linux’s command-line utilities can do anything, including perform benchmarks – but using a dedicated benchmarking program is a simpler and more foolproof process. These utilities allow you to perform reproducible tests across different systems and configurations.

These Linux benchmarking tools aren’t as popular, well-known, or polished as their Windows equivalents, but they allow you to easily compare different systems and evaluate their performance.

Hardinfo – CPU Benchmark

Hardinfo isn’t installed by default on Ubuntu, but it’s available in the Ubuntu Software Center – just do a search for “hardinfo” and install the System Profiler and Benchmark application. If you’re using another Linux distribution, search your package manager for the “hardinfo” package.

Once it’s installed, launch the System Profiler and Benchmark application from the Dash.

Hardinfo displays a information about your system, its hardware, and its configuration. Using the Generate Report feature, you can save a report and select the information – including benchmarks – you want to include.

Scroll to the bottom of the list and select one of the six CPU benchmarks to benchmark your CPU. Hardinfo will compare the performance of your CPU to other CPUs. The CPU benchmark can be useful if you’re trying to compare CPU speed between computers or determine the effects of an overclock.

GtkPerf – GTK+ Benchmark

GtkPerf is another benchmark tool you’ll find in Ubuntu’s Software Center and other Linux distribution’s package managers.

GtkPerf tests the performance of the GTK+ graphical toolkit, used by GNOME and Ubuntu’s default desktop applications. Using GtkPerf, you can measure the performance difference between different GTK+ themes, different GTK+ versions, and different versions of your X server and graphics drivers.

Start the benchmark and GtkPerf will perform GTK+ widget operations and time how long they take to complete.

The test is reproducible, so you can use GtkPerf to test the performance of GTK+ across multiple computers and platforms.

Phoronix Test Suite – Comprehensive Benchmarks

Linux Hard Drive Benchmark Software

The Phoronix Test Suite – also known as pts – was created by the Phoronix website to run the reproducible tests used for the benchmarks you’ll find in Phoronix’s articles. It bills itself as “the most comprehensive benchmarking platform available for Linux.” You’ll find it in Ubuntu’s Software Center and other Linux distribution’s package managers, too.

The Phoronix Test Suite’s terms of use say your test results will be shared publically if you choose to submit them, and that enabling the anonymous reporting features will cause PTS to upload anonymous data – type Y to agree to them. After you do, you can select whether or not to enable anonymous reporting features.

The Phoronix Test Suit provides a menu of benchmarking and information options to select from.

To perform a single test, type 1. You’ll be presented with a list of 126 tests to choose from. If a test requires additional software, the test suite will automatically download it.

To perform a suite of tests, type 2. There are 54 different test suites, ranging from audio and video encoding to ray tracing and networking.

To perform a complex system test, type 3. The complex system test includes five tests: the Apache Benchmark for web page serving performance, C-Ray for ray tracing performance, RAMspeed (two different configurations) for memory performance, and PostMark for disk transaction performance.

The results can be uploaded to and compared on OpenBenchmarking.org.

How do you benchmark your Linux system’s performance? Leave a comment if you have any tricks to share.

READ NEXT
  • › Confirmed: Windows 10 Setup Now Prevents Local Account Creation
  • › How to Disable the Apple Watch’s Always-On Display
  • › How to Back Up Your Stuff and Switch to a New Mac
  • › Is the Mac Pro Overpriced Compared to a PC?
  • › Just Bought a Mac? 14 Essential Apps You Should Install

Linux Benchmark Software Update

Active3 months ago

Is there a benchmark tool to measure computer performance for Ubuntu like SuperPI, 3DMark, or PCMark?

Ciro Santilli 新疆改造中心法轮功六四事件
12.3k5 gold badges55 silver badges59 bronze badges
lambda23lambda23
1,6137 gold badges28 silver badges43 bronze badges

5 Answers

There look to be a number of them listed in the Ubuntu Software Center (search 'benchmark'), although the only one I've tried is System Profiler and Benchmark. It gives a lot of computer information and I've found it very useful, but you might want to try out a number of them.

KelleyKelley
22.2k2 gold badges17 silver badges27 bronze badges

The most complete benchmarking software is probably Phoronix test suite, which is available in the repositories and can be installed with:

When running phoronix-test-suite for the first time in terminal, you can either answer yes or no to the questions regarding anonymous statistical reporting. If you answer yes, it says that

This information is pooled along with the submissions from all other users to show general trends and other details on OpenBenchmarking.org.

It is up to you whether you choose yes or no, but there is nothing to be concerned with. You can still later upload results manually to openbenchmarking if you wish with the options in the program:

Linux benchmark tool

For more information about Phoronix test suite see this pdf and the official forum.

To list all the tests available (but not necessarily downloaded), run:

which gives tests such as these and many others:

To find information on any particular test, you can use:

Many of the tests are not installed by default and you can either download an individual test and run it with, for example:

To find the lists of thematic test suites, run

which returns such things as

As an example, you might want to run the entire suite of audio tests (instead of just one from those listed with the list-tests command), so, in this circumstance, enter

For this test, some more of the related audio tests are downloaded and installed by the program and then the test is run.

There are a huge amount of tests to install and options to experiment with, but this test suite is definitely the one to use if you want to get some genuine benchmarks from your Ubuntu system that you can compare online at openbenchmarking and Phoronix.com.

It is not a quick, simple benchmarking application, but one that, with its multiple tests, will satisfy most areas of interest in regard to how things perform on Ubuntu.

However, benchmarking is a topic much debated and the forums are best suited for analysing which tests give the most useful results and how the tests should be setup; the one mentioned above, povray, is quite well known and regarded for benchmarking the abilities of a CPU.

user76204

Install hardinfo which gives benchmark information as shown below screen-shot:

PandyaPandya
21.9k30 gold badges99 silver badges163 bronze badges

I eventually got around to writing a stress test and benchmarking tool for UNIX like systems, namely stress-ng. It contains over 180 stress tests that allow one to measure throughput on various system components, from memory, cache, CPU, system calls, network, etc. Install with:

There is a --metrics-brief option that reports the throughput in terms of bogo ops per second. One can get a full set of deep CPU and system metrics using the --perf option. There are many types of stressors that can be run sequentially or in parallel on 1 or more CPUs, for example:

this will exercise the CPU for 1 minute with 2 CPU stressor instances running in parallel.

The manual documents all these features in detail, consult the project page or the quick start reference guide

Colin Ian KingColin Ian King
13.4k1 gold badge42 silver badges50 bronze badges

Another option is sysbench. It is a command line tool with built in tests for CPU, memory, file, threading and database. There is an article about it here. Install is a single package, and running tests is quick.

Likely the quality of results is lower than more sophisticated tests, but I found it useful for a quick sanity check when evaluating potential VPS hosting.

Based on the popular answer by user76204, I did try Phoronix test suite. As the author says, it is not quick or simple. There are 100s of tests available and it's not obvious which to use. Some require 100s of MB of downloads, some take an hour or more to run, some may not run on your server. On Ubuntu, I hit a bug described here.

AdamSAdamS

Not the answer you're looking for? Browse other questions tagged performance or ask your own question.

댓글 영역