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.pswp.cn/news/280452.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/280452.shtml
英文地址,請注明出處:http://en.pswp.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使用 裝…