技术优势

产品推荐MORE

戴尔Precision 3560 系列移动工作站 新品发布 戴尔Precision 3431工作站{湖北省总分销} Dell Precision 7730 系列移动工作站 湖北总分销 DELL商用台式机 OptiPlex 7060微型机MFF机箱

技术优势
当前位置: 主页 技术优势

用Phoronix测试套件给Linux下的GPU显卡做压力测试

类别:技术优势日期:2021-02-02 17:55:11
我要分享
目的
安装Phoronix GPU测试套件,并使用Unigine基准测试对系统的图形性能进行基准测试。
 
发行版
本指南针对Debian,Ubuntu,Fedora,OpenSUSE和Arch Linux。
 
要求
一个具有root特权和最新图形驱动程序的受支持发行版的有效安装

-------------------------------------------------------------------------------------------------

1 .安装Phoronix测试套件和Steam
 
Ubuntu /Debian的系统
前往Phoronix测试套件下载页面,并获取最新.deb包。收到软件包后,请使用gdebi。
$ sudo apt install gdebi-core
     下载: wget http://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_7.8.0_all.deb
$ sudo gdebi phoronix-test-suite_*.deb
如果您使用的是Debian 系统 (可选)安装Steam,请先启用非免费存储库。
$ sudo apt install steam

CentOS系统
使用当前的Phoronix测试套件更改以下链接,或直接从以下链接下载Phoronix测试套件网站。
$ wget https://phoronix-test-suite.com/releases/phoronix-test-suite-9.0.0.tar.gz
$ tar xzf phoronix-test-suite-9.0.0.tar.gz 
$ cd phoronix-test-suite/
$ sudo ./install-sh 

Redhat系统
您的存储库中有Phoronix Test Suite。安装它。
# dnf install phoronix-test-suite
接下来,如果尚未启用,请在系统上启用RPMFusion存储库。
# dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
然后,您可以安装Steam。
# dnf install steam
 
OpenSUSE系统
这两个软件包已在您的存储库中提供。安装它们。
# zypper in steam phoronix-test-suite
 
Arch Linux系统
Phoronix测试套件可通过AUR获得。前往其页,然后安装它。如果您拥有PTS,请在Pacman中安装Steam。
# pacman -S steam
 
安装完提示完成如下:
Phoronix Test Suite Installation Completed

Executable File: /usr/bin/phoronix-test-suite
Documentation: /usr/share/doc/phoronix-test-suite/
Phoronix Test Suite Files: /usr/share/phoronix-test-suite/

2. 运行Unigine Heaven
首先运行出色的通用图形基准测试。 Unigine测试非常出色。通过PTS安装Unigine Heaven。
第一步安装 基准测试   下载文件约274M
$ phoronix-test-suite install unigine-heaven
您也可以始终通过运行测试来安装测试。如果您在运行测试时不可用,则Phoronix Test Suite将提示您进行安装。完成测试后,即可运行它。
第二步  运行测试
$ phoronix-test-suite run unigine-heaven


 
更多的支持方法可以打开一个新的终端并运行以下命令
$ phoronix-test-suite list-tests
您会在终端窗口中看到大量的测试列表。以下测试名称pts/要么system/是您将要使用的东西。