[转帖]phoronix-test-suite测试云服务器
phoronix-test-suite测试云服务器
https://www.cnblogs.com/tanyongli/p/7767804.html
centos系统
phoronix-test-suite是目前Linux下比较常用的性能测试软件。
使用phoronix-test-suite条件前提:需要安装php5,需要PHP都DOM扩展
因为是云服务器,首先建立实例,然后使用secureCRT连接IP地址,进入终端
1.下载压缩包
# wget http://www.phoronix.net/downloads/phoronix-test-suite/releases/phoronix-test-suite-7.4.0.tar.gz
2.解压
# tar -xzvf phoronix-test-suite-7.4.0.tar.gz
3.安装
3.1进入phoronix-test-suite的目录
# cd phoronix-test-suite/
3.2 执行install.sh
# ./install-sh
4.cpu压力测试
# yum install -y screen
在linux的环境中,我们想要在后台持续运行一些脚本,但是又因为关闭这个tty的话,脚本就会中断,这个时候我们就需要screen这个工具的帮助啦!已有就不用安装了
# screen 进入另一个页面(也可以不进)screen -ls -r 自己搜
# phoronix-test-suite benchmark smallpt
这条命令表示下载、安装、执行并报告一个简单的CPU测试smallpt。
这个benchmark命令把整套测试工作(下载、安装、执行并报告)给执行完毕了。


php安装完成后再次执行 # phoronix-test-suite benchmark smallpt(在后面是否上传到官网我选的是n)
输出如下:
Phoronix Test Suite v7.2.1
To Install: pts/smallpt-1.0.2
Determining File Requirements ..........................................
Searching Download Caches ..............................................
1 Test To Install
1 File To Download [0.01MB]
1MB Of Disk Space Is Needed
pts/smallpt-1.0.2:
Test Installation 1 of 1
1 File Needed [0.01 MB]
Downloading: smallpt-1.tar.gz [0.01MB]
Downloading ........................................................
Installation Size: 0.1 MB
Installing Test @ 23:27:18
System Information
.......
.....
.......
Would you like to save these test results (Y/n):/*该测试命令先下载安装smalltp测试套件,并识别系统信息。 最后一条显示是否保存测试结果,选择Y,提示输入一个保存文件的结果名字和描述附后,如下段文字显示,完毕后开始启 动测试:*/ Enter a name to save these results under: ptstestnmae Enter a unique name to describe this test run / configuration: smalltpIf desired, enter a new description below to better describe this result set / system configuration under test.
Press ENTER to proceed without changes.
Current Description: 2 x Intel Xeon xxxx via the Phoronix Test Suite.
New Description: no description
Smallpt 1.0:
pts/smallpt-1.0.2
Test 1 of 1
Estimated Trial Run Count: 3
Estimated Time To Completion: 4 Minutes [23:33 CDT]
Started Run 1 @ 23:29:57
Started Run 2 @ 23:30:31
Started Run 3 @ 23:31:04
Global Illumination Renderer; 100 Samples:
32
32
32
Average: 32 Seconds
Deviation: 0.00%
Do you want to view the text results of the testing (Y/n): ptstestnmae
no description
smalltp:
……./可以选择是否上传到官网,这样可以和其他测试人员数据进行对比/
Would you like to upload the results to OpenBenchmarking.org (Y/n): Would you like to attach the system logs (lspci, dmesg, lsusb, etc) to the test result (Y/n):Results Uploaded To: http://openbenchmarking.org/result/[testid]
ps:本地的测试结果保存在 /var/lib/phoronix-test-suite/test-results/ptstestnmae文件夹中。是否上传在测试结束时候可以进行人工选择。 如果上传了,可以通过登陆http://openbenchmarking.org/result/[testid]
本次测试结果中显示了CPU、主板、内存、硬盘、操作系统、显卡、网络、文件系统、编译器等系统信息。5. 自己的结果图(云主机是8核16G)
单位:Seconds (数值越小越好)
5.Apache 业务环境测试
单位:Requests Per Second(每秒请求)(数值越大越好)
# phoronix-test-suite benchmark apache
6.内存测试
测试套件:pts/ramspee
# phoronix-test-suite benchmark ramspeed
![]()
结果:
7.磁盘测试
测试套件:pts/tiobench
# phoronix-test-suite benchmark tiobench
[转帖]phoronix-test-suite测试云服务器的更多相关文章
- phoronix-test-suite测试云服务器
centos系统 phoronix-test-suite是目前Linux下比较常用的性能测试软件. 使用phoronix-test-suite条件前提:需要安装php5,需要PHP都DOM扩展 因为是 ...
- 阿里云服务器18个数据中心测试IP地址以及测试方法
我们用户在选择阿里云服务器的时候是不是感觉阿里云的数据中心太多太多,确实阿里云服务器机房是有很多,国外国外机房大约有18个,甚至更多,因为还在不断的增加机房.对于商家而言增加不同的机房可以满足不同的项 ...
- [转帖]华为鲲鹏云服务器实战:华为云鲲鹏KC1实例 vs. 阿里云G5实例
鲲鹏云服务器实战:华为云鲲鹏KC1实例 vs. 阿里云G5实例 https://m.ithome.com/html/444828.htm 2019-09-12 15:25IT之家 (阿迷) 今年一月份 ...
- [转帖]云服务器使用CentOS、Debian、Ubuntu的哪个版本
云服务器使用CentOS.Debian.Ubuntu的哪个版本 2018-09-09 12:32:45作者:ywnz稿源:云网牛站 https://ywnz.com/linuxyffq/2986.ht ...
- 阿里云服务器上配置并使用: PHP + Redis + Mysql 从配置到使用
(原创出处为本博客,http://www.cnblogs.com/linguanh/) 目录: 一,下载 二,解压 三,配置与启动 四,测试 Redis 五,配置 phpRedis 扩展 六,综合测试 ...
- 1元搭建自己的云服务器&解析域名
最近在学做微信开发,没有自己的域名和服务器就不得不寄人篱下,索性自己就到云主机上搭建了个服务器,但是水平有限弄了一个下午~~有自己的域名和服务器的好处相信不用我多说了.比如日后可以有自己域名的个性博客 ...
- 在阿里云服务器(ECS)上从零开始搭建nginx服务器
本文介绍了如何在阿里云服务器上从零开始搭建nginx服务器.阿里云服务器(ECS)相信大家都不陌生,感兴趣的同学可以到http://www.aliyun.com/product/ecs去购买,或到体验 ...
- javaWeb项目部署到阿里云服务器步骤
记录web项目部署到阿里云服务器步骤 (使用 web项目.阿里云服务器.Xftp.Xshell),敬请参考和指正 1.将要部署的项目打包成WAR文件格式,可以在MyEclipse.Eclipse都可以 ...
- 阿里云服务器Linux CentOS安装配置(八)nginx安装、配置、域名绑定
阿里云服务器Linux CentOS安装配置(八)nginx安装.配置.域名绑定 1.安装nginx yum -y install nginx 2.启动nginx service nginx star ...
随机推荐
- sqlserver中产生随机字符,随机数
SELECT REPLACE(NEWID(),'-','') select replicate(char(cast(rand()*1000 as int)%26+97) +char(cast(rand ...
- redis系列(一):安装配置
1.下载安装 下载可到redis官网下载(可根据自己的操作系统下载,我的是Ubuntu) 目前redis最新版本是5.0.2:下载地址为:http://download.redis.io/releas ...
- 【概率论】3-6:条件分布(Conditional Distributions Part II)
title: [概率论]3-6:条件分布(Conditional Distributions Part II) categories: Mathematic Probability keywords: ...
- jquer绑定和获取属性
最近每天都在熬夜,今天感觉眼睛特别涩,我决定,今天早睡,哈哈哈,上次总结了jquery控制节点,今天总结jquery控制属性,学习完基础知识,看看下面的案例练习一下,掌握的会更好 属性绑定和获取 ...
- 2016百度之星资格赛 Problem B(大数+组合数)
题意:度熊面前有一个全是由1构成的字符串,被称为全1序列.你可以合并任意相邻的两个1,从而形成一个新的序列.对于给定的一个全1序列,请计算根据以上方法,可以构成多少种不同的序列.最多200个1. 比如 ...
- pod package 生成 Framework
pod package 生成 Framework pod package 是 cocoapods 的一个插件,如果没有的话使用以下命令安装: sudo gem install cocoapods-pa ...
- Flutter移动电商实战 --(37)路由_Fluro引入和商品详细页建立
https://github.com/theyakka/fluro pages/details_page.dart新建页面 使用路由 先添加路由插件的引用 fluro: ^1.4.0 如果网络上下载不 ...
- linux tftp配置 (Ubuntu18.04)
安装tftp客户端和服务器sudo apt-get install tftp-hpa tftpd-hpa xinetdtftp-hpa是客户端tftpd-hpa是服务器 配置文件 sudo vim / ...
- SQL-W3School-高级:SQL RIGHT JOIN 关键字
ylbtech-SQL-W3School-高级:SQL RIGHT JOIN 关键字 1.返回顶部 1. SQL RIGHT JOIN 关键字 RIGHT JOIN 关键字会右表 (table_nam ...
- react native Expo完全基于ScrollView实现的下拉刷新和上拉触底加载
我直接封装成了一个组件 props参数为 static propTypes = { style:PropTypes.object, // 样式 refreshing:PropTypes.bool.is ...












