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

linux 基准测试

linux 基准测试

header

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”程序包。

Screenshot at 2012-04-18 02^%56^%46

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

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

Screenshot at 2012-04-18 02^%58^%39

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

Screenshot at 2012-04-18 03^%08^%34

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基准测试可能会很有用。

Screenshot at 2012-04-18 03^%07^%05

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发行版的软件包管理器中找到。

Screenshot at 2012-04-18 03^%16^%23

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服务器和图形驱动程序的不同版本之间的性能差异。

Screenshot at 2012-04-18 03^%18^%44

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

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

Screenshot at 2012-04-18 03^%19^%35

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

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

Screenshot at 2012-04-18 03^%20^%27

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发行版的程序包管理器中找到它。

Screenshot at 2012-04-18 03^%28^%44

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表示同意。 完成后,您可以选择是否启用匿名报告功能。

Screenshot at 2012-04-18 03^%37^%02

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

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

Screenshot at 2012-04-18 03^%37^%54

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个测试的列表供您选择。 如果测试需要其他软件,则测试套件将自动下载它。

Screenshot at 2012-04-18 03^%39^%59

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种不同的测试套件,范围从音频和视频编码到射线追踪和联网。

Screenshot at 2012-04-18 03^%41^%15

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。性能。

Screenshot at 2012-04-18 04^%54^%18

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 基准测试

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/280452.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

.NET 7 新增的 IParsable 接口介绍

.NET 7 是一个新版本的 .NET,它新增了一个名为 IParsable 的接口。这个接口可以帮助开发人员更容易地在代码中解析字符串。IParsable 接口包含两个方法:Parse 和 TryParse。Parse 方法用于将一个字符串解析为指定类型的值。如果解析失败,则会…

CentOS 7安装nginx+php+mysql环境

0x01 安装php 1、首先得安装第三方软件库 yum install epel-release 复制代码2、安装依赖包 yum install gcc gcc-c glibc libmcrypt-devel mhash-devel libxslt-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-de…

spring+springMvc+struts的SSH框架整合

1.建立一个web项目 2.导入SSH框架所需jar包 3.配置web.xml文件 <?xml version"1.0" encoding"UTF-8"?> <web-app xmlns:xsi"http://www.w3.org/2001/XMLSchema-instance" xmlns"http://java.sun.com/xml/ns/javaee" xsi:sc…

听说这个语言认知服务又出新功能了?

点击上方蓝字关注我们&#xff08;本文阅读时间&#xff1a;7分钟)语言是人类智能发展的基石。鉴于语言拥有普遍性&#xff0c;几乎没有特定的技术或 AI 技术得以颠覆整个社会。微软的使命是赋能地球上的每个人和每个组织&#xff0c;帮助他们取得更多成就。立足于该使命&#…

强大的XML

2018-04-23 20:29:26 XML&#xff1a;Extensible Markup Language&#xff0c;也就是可扩展标记语言。XML和HTML格式是古老的标记通用语言SGML的衍生语言。 XML文件是可以用来作为配置文件的&#xff0c;相比于其他配置文件的规范&#xff0c;XML的好处在于通过自定义的标记&am…

rest_framework03:查询所有/新增数据/删除一个数据/封装Response/序列化与反序列化

查询所有 1.创建新clase和url&#xff0c;避免与查询一个功能逻辑混乱。 2.增加manyTrue&#xff0c; book_serBookSerializer(books,manyTrue) urls.py: path(books/,views.BooksView.as_view()) views.py class BooksView(APIView):def get(self,request):response_msg …

如何对DevOps数据库进行源代码控制

提纲&#xff1a; 包括索引在内的数据库模式需要进行源代码控制诸如查询表这类用于控制业务逻辑的数据需要进行源代码控制开发人员需要一种能够便捷地创建本地数据库的方法共享数据库的更新只能通过构建服务器完成 健壮的DevOps环境需要对系统的每个组件进行持续集成。但是&…

自定义异常最佳实践_播放,自定义和组织媒体的最佳文章

自定义异常最佳实践Computers today are used for much more than generating documents, writing and receiving email, and surfing the web. We also use them to listen to music, watch movies and TV shows, and to transfer media to and from mobile devices. 如今&…

CSS中的路径裁剪样式clip-path

前面的话 CSS借鉴了SVG裁剪的概念&#xff0c;设置了clip-path样式&#xff0c;本文将详细介绍路径裁剪clip-path 概述 clip-path属性可以防止部分元素通过定义的剪切区域来显示&#xff0c;仅通过显示的特殊区域。剪切区域是被URL定义的路径代替行内或者外部svg&#xff0c;或…

socket编程学习笔记

socket编程&#xff1a; 1、网络基础知识 两台计算机通过网络进行通信&#xff0c;首先两台计算机要有唯一的标识&#xff0c;即唯一的IP地址。其次他们要有共同的语言用来交流即协议。再者&#xff0c;每套主机要有相应的端口号。  TCP/IP协议&#xff1a;   --TCP/IP协议是…

rest_framework04:ModelSerializer/Serializer高级用法

ModelSerializer 1.减小序列化类代码 2.不需要重写update&#xff0c;create ser.py class BookModelSerializer(serializers.ModelSerializer):class Meta:modelBookfields__all__ #序列化全部字段# fields(name,price) # 序列化指定字段# exclude(name,) # 与fields 不能…

配置本地及网络yum源(详细步骤)

我们以centos6为范例演示 1、[rootCentos6 ~]# cd /etc/yum.repos.d/ [rootCentos6 yum.repos.d]# ls CentOS-Base.repo CentOS-fasttrack.repo CentOS-Vault.repoCentOS-Debuginfo.repo CentOS-Media.repo先罗列出相关文件 2、[rootCentos6 yum.repos.d]# vim CentOS-Base.rep…

macos mojave_如何修复macOS Mojave上的模糊字体(使用亚像素抗锯齿)

macos mojaveApple’s macOS Mojave disables subpixel antialiasing, also known as font smoothing, by default. On a MacBook Air or a desktop Mac hooked up to a non-Retina display, upgrading will make your fonts look worse. 苹果的macOS Mojave默认情况下禁用子像…

为什么我要写博客

原因在这啦 一、我觉得分享是一种精神&#xff0c;分享是我的乐趣所在&#xff0c;不是说我觉得我讲得一定是对的&#xff0c;我讲得可能很多是不对的&#xff0c;但是我希望我讲的东西是我人生的体验和思考&#xff0c;是给很多人反思&#xff0c;也许给你一秒钟、半秒钟&…

一个变量命名神器:支持中文转变量名

变量命名的规范&#xff0c;对于我们编程&#xff0c;大家都知道是非常重要的&#xff0c;上次给大家推荐过一个命名辅助工具《程序员还在为变量取名苦恼&#xff0c;那是因为你不知道&#xff0c;这个变量命名神器》&#xff0c;但大家一致反馈存在2个问题&#xff1a;1、网速…

rest_framework05:GenericAPIView用法/扩展类5个/子类9个/ViewSetMixin 自定义方法名字

GenericAPIView 1.视图层类使用GenericAPIView继承&#xff0c;能简化类里的方法code。 2.简化后的方法code格式基本通用&#xff0c;简单修改即可应用到其他类。 一、class开始加入 queryset Book.objectsserializer_class BookModelSerializer 二、方法里获取对象 a.查…

1.操作系统概述

2019独角兽企业重金招聘Python工程师标准>>> 操作系统的发展过程 无操作系统的计算机系统单道批处理系统&#xff08;50年代&#xff0c;系统资源利用率低&#xff09;多道批处理系统&#xff08;60年代&#xff09;分时系统&#xff08;70年代&#xff09;实时系统…

测听hl和nhl的区别_播放NHL曲棍球的最便宜方法(无电缆)

测听hl和nhl的区别If you’re like me, you watch hockey, and…basically no other sports. You also, like me, would like to skip the cable subscription. So what’s the cheapest way to watch NHL hockey online so you can cut the cord? 如果您像我一样&#xff0c;…

制作一个让客户满意的软件

我看了《构建之法》的第八章“需求分析”我对如何制作一个让客户满意的软件有了一点儿头绪&#xff0c;的但是还是有一些迷惑。我通过看书总结和百度查找有了一点儿总结&#xff1a;我们在制作软件的过程中应该及时与用户沟通交流&#xff0c;交换意见&#xff0c;并及时实现用…

rest_framework06:自动生成路由\action使用\认证

自动生成路由 # 1.导入routers模块 from rest_framework import routers# 2.实例化类 routerrouters.SimpleRouter()# 3.注册 # (前缀,继承自ModelViewSet视图类,别名) router.register(books7,views.BooksView) # 不要加斜杠# 4.加入 urlpatternsrouter.urls action使用 装…