linux 基准测试

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.

Linux的命令行实用程序可以执行任何操作,包括执行基准测试-但是使用专用的基准测试程序是一个更简单,更简单的过程。 这些实用程序使您可以在不同的系统和配置之间执行可重复的测试。

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.

这些Linux基准测试工具不像Windows同类工具那样流行,知名或完善,但是它们使您可以轻松比较不同的系统并评估其性能。

Hardinfo – CPU基准测试 (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.

Hardinfo默认未在Ubuntu上安装,但可以在Ubuntu Software Center中获得–只需搜索“ hardinfo”并安装System Profiler和Benchmark应用程序。 如果您使用的是其他Linux发行版,请在程序包管理器中搜索“ hardinfo”程序包。

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

安装完成后,从Dash启动System Profiler和Benchmark应用程序。

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.

Hardinfo显示有关您的系统,其硬件及其配置的信息。 使用“生成报告”功能,可以保存报告并选择要包括的信息(包括基准)。

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.

滚动到列表的底部,然后选择六个CPU基准之一来基准化您的CPU。 Hardinfo将比较您的CPU与其他CPU的性能。 如果要比较计算机之间的CPU速度或确定超频的影响,则CPU基准测试可能会很有用。

GtkPerf – GTK +基准 (GtkPerf – GTK+ Benchmark)

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

GtkPerf是另一个基准测试工具,可以在Ubuntu的软件中心和其他Linux发行版的软件包管理器中找到。

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.

GtkPerf测试了GNOME和Ubuntu默认桌面应用程序使用的GTK +图形工具箱的性能。 使用GtkPerf,您可以测量不同的GTK +主题,不同的GTK +版本以及X服务器和图形驱动程序的不同版本之间的性能差异。

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

启动基准测试,GtkPerf将执行GTK +小部件操作以及完成操作所需的时间。

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

该测试具有可重复性,因此您可以使用GtkPerf在多台计算机和平台上测试GTK +的性能。

Phoronix测试套件–综合基准 (Phoronix Test Suite – Comprehensive Benchmarks)

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.

Phoronix测试套件(也称为pts)是由Phoronix网站创建的,用于运行用于可在Phoronix文章中找到的基准的可再现测试。 它自称为“可用于Linux的最全面的基准测试平台”。 您也可以在Ubuntu的软件中心和其他Linux发行版的程序包管理器中找到它。

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.

Phoronix测试套件的使用条款规定,如果您选择提交测试结果,则将公开共享您的测试结果;启用匿名报告功能将导致PTS上传匿名数据–输入Y表示同意。 完成后,您可以选择是否启用匿名报告功能。

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

Phoronix测试服提供了基准测试和信息选项菜单供您选择。

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.

要执行一个测试,请键入1。将显示126个测试的列表供您选择。 如果测试需要其他软件,则测试套件将自动下载它。

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.

要执行一组测试,请键入2。共有54种不同的测试套件,范围从音频和视频编码到射线追踪和联网。

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.

要执行复杂的系统测试,请键入3。复杂的系统测试包括五个测试:用于Web页性能的Apache Benchmark,用于射线跟踪性能的C-Ray,用于内存性能的RAMspeed(两种不同的配置)和用于磁盘事务的PostMark。性能。

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

可以将结果上传到OpenBenchmarking.org并进行比较。



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

您如何衡量Linux系统的性能? 如果您有任何技巧要分享,请发表评论。

翻译自: https://www.howtogeek.com/111617/how-to-benchmark-your-linux-system-3-open-source-benchmarking-tools/

linux 基准测试

linux 基准测试_如何对Linux系统进行基准测试:3个开源基准测试工具相关推荐

  1. linux版_巧用linux版powershell,管理linux下的docker

    owershell,docker,cli,命令,docker ps,docker image 第一章 在linux中搭建docker环境 目的: 在任意版本的linux(物理机,虚拟机,节点机)中,安 ...

  2. ubuntu安装Linux网络配置,CentOS和Ubuntu系统简要网络配置及常用网络管理工具汇总...

    鉴于不同的用户群体.不同的业务在使用Linux系统时共同的首要问题是解决网络连接的问题,写下这篇博文. 本文主要总结CentOS和Ubuntu系统关于网卡的简要配置以及管理网卡时常用的三个工具的区别( ...

  3. arch linux安装_安装Arch Linux如何使我的旧笔记本电脑重获新生

    arch linux安装 by Jonathan Baldie 乔纳森·巴尔迪(Jonathan Baldie) 安装Arch Linux如何使我的旧笔记本电脑重获新生 (How installing ...

  4. linux上的壁纸软件下载,Ubuntu 17.10上安装开源壁纸工具Wallch 4.0

    在Ubuntu 17.04上安装Wallch Wallch是一款免费的开源通用壁纸更换器,用户可以在设置的时间更改桌面背景图片.它会在桌面上更改并显示随机图片或维基百科的当天图片.它还具有一个实时地球 ...

  5. linux 查找_如何在 Linux 上查找和删除损坏的符号链接 | Linux 中国

    符号链接是指向另一个文件的 Linux 文件.如果删除了被引用的文件,符号链接会保留,但不会显示有问题,除非你尝试使用它.https://linux.cn/article-12298-1.html作者 ...

  6. linux定时任务_从零开始学Linux运维|41.定时任务crontab

    linux系统里面定时任务是由cron系统服务来控制的 看一下这个服务的状态 可以看出这个系统服务是默认启动的 1.配置文件 crontab的配置文件是/etc/crontab 直接打开看一下这个文件 ...

  7. linux系统日志_如何使用 Linux Cockpit 来管理系统性能 | Linux 中国

    Linux Cockpit 是一个基于 Web 界面的应用,它提供了对系统的图形化管理.看下它能够控制哪些.-- Sandra Henry-stocker 如果你还没有尝试过相对较新的 Linux C ...

  8. linux版_微软爱 Linux:安全杀毒软件 Defender ATP 要出 Linux 版了! | Linux 中国

    微软宣布将于 2020 年将其企业安全产品 Defender 高级威胁防护(ATP)引入 Linux.-- Abhishek Prakash 微软的年度开发者大会 Microsoft Ignite 刚 ...

  9. linux 每天_每天使用Linux的11种惊人方式

    linux 每天 如今,Linux几乎可以运行所有东西,但是许多人对此并不了解. 有些人可能知道Linux,并且可能听说过此操作系统运行超级计算机. 根据Top500的调查 ,Linux现在为世界上最 ...

最新文章

  1. cpio.gz文件解压方法
  2. 关于windows10用c++部署libtorch过程中遇到的一些问题
  3. iOS-基于TCP连接Scoket-服务端
  4. CCNA-第七篇-思科私有路由协议-EIGRP-初级
  5. Scala-Actor并行wordcount
  6. js时间格式化通用方法
  7. ESP32开源驱动库Easyio的使用,基于ESP-IDF开发框架,非Arduino
  8. python - easy_install的安装和使用
  9. 【图】二分图最大权匹配
  10. tensorflow学习之常用函数总结:tensorflow.placeholder()函数
  11. 简单的notepad将\n转化为换行
  12. 读后感--《魔鬼数学:大数据时代,数学思维的力量》
  13. 新建第一个HBuilder项目
  14. 数学之路(3)-数据分析(4)
  15. 从几号发工资,就能判断一家公司资金管理?
  16. 关于西安电子科技大学821电路的难点辨析(一)---受控源的处理
  17. MP4文件如何转换成GIF动态图?两种方法帮你搞定
  18. 为什么写分页器的时候要用当前页数量乘当前页码-1呢?
  19. 第 4 章 容器 - 023 - 两种进入容器的方法
  20. kiss原则包括什么_标书中的KISS原则

热门文章

  1. mysql kill_Mysql使用kill命令解决死锁问题(杀死某条正在执行的sql语句)
  2. mysql 时间chuo格式化_Mysql时间戳与时间格式转换问题汇总
  3. Django model中的 class Meta 详解
  4. 同时获取同一等级下多个class值的节点的方法
  5. 系统设计原则的重要性_设计原则的重要性及其对好的设计的影响
  6. 阿里大鱼短信介入demo分享
  7. 只让输入数字、字母、中文的输入框
  8. 为什么要选择Hibernate
  9. UVa 264 - Count on Cantor
  10. backgroundworder 简单使用