阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

unixbench测试VPS

403次阅读
没有评论

共计 6369 个字符,预计需要花费 16 分钟才能阅读完成。

1.unixbench 是什么?
unixbench 是一套 unix 系统基准测试套件。unixbench 的设计目标是为类 unix 系统提供一套基本的指标,所以有许多项目测试系统各方面的性能。各项的测试有得分,然后有一个综合的得分,这样可以很方便的通过分数去比较。
unixbench 也包含一些非常简单的 2D 和 3D 图形测试。
unixbench 也支持多 CPU 系统的测试,默认的行为是测试两次,第一次是一个进程的测试,第二次是 N 份测试,N 等于 CPU 个数。这样的设计是为了以下目标:
1)测试系统的单任务性能
2) 测试系统的多任务性能
3) 测试系统并行处理的能力
unixbench 一个基于系统的基准测试工具,不单纯是 CPU 内存 或者磁盘测试工具。测试结果不仅仅取决于硬件,也取决于系统、开发库、甚至是编译器。
2. 安装依赖包
yum -y install perl perl-Time-HiRes
3. 注释掉 Makefile 中如下(如不测试图形)
 #GRAPHIC_TESTS = defined
4. 执行 unixbench

[root@Oracle unixbench-5.1.2]# ./Run 

make all

make[1]: Entering directory `/root/unixbench-5.1.2′

Checking distribution of files

./pgms  exists

./src  exists

./testdir  exists

./tmp  exists

./results  exists

make[1]: Leaving directory `/root/unixbench-5.1.2′

sh: 3dinfo: command not found

  #    #  #    #  #  #    #          #####  ######  #    #  ####  #    #

  #    #  ##  #  #  #  #          #    #  #      ##  #  #    #  #    #

  #    #  # #  #  #    ##            #####  #####  # #  #  #      ######

  #    #  #  # #  #    ##            #    #  #      #  # #  #      #    #

  #    #  #  ##  #  #  #          #    #  #      #  ##  #    #  #    #

    ####  #    #  #  #    #          #####  ######  #    #  ####  #    #

  Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

  Multi-CPU version                  Version 5 revisions by Ian Smith,

                                      Sunnyvale, CA, USA

  December 22, 2007                  johantheghost at yahoo period com

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

4 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

4 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

4 x Execl Throughput  1 2 3

4 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

4 x File Copy 256 bufsize 500 maxblocks  1 2 3

4 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

4 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

4 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

4 x Process Creation  1 2 3

4 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

4 x Shell Scripts (1 concurrent)  1 2 3

4 x Shell Scripts (8 concurrent)  1 2 3

========================================================================

  BYTE UNIX Benchmarks (Version 5.1.2)

  System: oracle: GNU/Linux

  OS: GNU/Linux — 2.6.32-431.el6.x86_64 — #1 SMP Fri Nov 22 03:15:09 UTC 2013

  Machine: x86_64 (x86_64)

  Language: en_US.utf8 (charmap=”UTF-8″, collate=”UTF-8″)

  CPU 0: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (4600.0 bogomips)

          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET

  CPU 1: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (4600.0 bogomips)

          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET

  CPU 2: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (4600.0 bogomips)

          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET

  CPU 3: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (4600.0 bogomips)

          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET

  08:21:32 up 22:26,  1 user,  load average: 0.01, 0.02, 0.00; runlevel 3

————————————————————————

Benchmark Run: Wed Apr 20 2016 08:21:32 – 08:49:45

4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables      29973756.0 lps  (10.0 s, 7 samples)

Double-Precision Whetstone                    3214.1 MWIPS (10.0 s, 7 samples)

Execl Throughput                              3766.1 lps  (29.9 s, 2 samples)

File Copy 1024 bufsize 2000 maxblocks        915259.2 KBps  (30.0 s, 2 samples)

File Copy 256 bufsize 500 maxblocks          262994.8 KBps  (30.0 s, 2 samples)

File Copy 4096 bufsize 8000 maxblocks      1335157.9 KBps  (30.0 s, 2 samples)

Pipe Throughput                            2113988.0 lps  (10.0 s, 7 samples)

Pipe-based Context Switching                  53791.9 lps  (10.0 s, 7 samples)

Process Creation                              8258.4 lps  (30.0 s, 2 samples)

Shell Scripts (1 concurrent)                  6365.7 lpm  (60.0 s, 2 samples)

Shell Scripts (8 concurrent)                  2228.2 lpm  (60.0 s, 2 samples)

System Call Overhead                        3634805.8 lps  (10.0 s, 7 samples)

System Benchmarks Index Values              BASELINE      RESULT    INDEX

Dhrystone 2 using register variables        116700.0  29973756.0  2568.4

Double-Precision Whetstone                      55.0      3214.1    584.4

Execl Throughput                                43.0      3766.1    875.8

File Copy 1024 bufsize 2000 maxblocks          3960.0    915259.2  2311.3

File Copy 256 bufsize 500 maxblocks            1655.0    262994.8  1589.1

File Copy 4096 bufsize 8000 maxblocks          5800.0    1335157.9  2302.0

Pipe Throughput                              12440.0    2113988.0  1699.3

Pipe-based Context Switching                  4000.0      53791.9    134.5

Process Creation                                126.0      8258.4    655.4

Shell Scripts (1 concurrent)                    42.4      6365.7  1501.3

Shell Scripts (8 concurrent)                      6.0      2228.2  3713.7

System Call Overhead                          15000.0    3634805.8  2423.2

                                                                  ========

System Benchmarks Index Score                                        1296.2

————————————————————————

Benchmark Run: Wed Apr 20 2016 08:49:45 – 09:17:58

4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables      116139760.9 lps  (10.0 s, 7 samples)

Double-Precision Whetstone                    12471.8 MWIPS (9.9 s, 7 samples)

Execl Throughput                              15226.8 lps  (29.9 s, 2 samples)

File Copy 1024 bufsize 2000 maxblocks        820350.6 KBps  (30.0 s, 2 samples)

File Copy 256 bufsize 500 maxblocks          220647.2 KBps  (30.0 s, 2 samples)

File Copy 4096 bufsize 8000 maxblocks      2454103.4 KBps  (30.0 s, 2 samples)

Pipe Throughput                            8132853.1 lps  (10.0 s, 7 samples)

Pipe-based Context Switching                1338315.2 lps  (10.0 s, 7 samples)

Process Creation                              40297.1 lps  (30.0 s, 2 samples)

Shell Scripts (1 concurrent)                  19227.0 lpm  (60.0 s, 2 samples)

Shell Scripts (8 concurrent)                  2647.9 lpm  (60.0 s, 2 samples)

System Call Overhead                        7184599.1 lps  (10.0 s, 7 samples)

System Benchmarks Index Values              BASELINE      RESULT    INDEX

Dhrystone 2 using register variables        116700.0  116139760.9  9952.0

Double-Precision Whetstone                      55.0      12471.8  2267.6

Execl Throughput                                43.0      15226.8  3541.1

File Copy 1024 bufsize 2000 maxblocks          3960.0    820350.6  2071.6

File Copy 256 bufsize 500 maxblocks            1655.0    220647.2  1333.2

File Copy 4096 bufsize 8000 maxblocks          5800.0    2454103.4  4231.2

Pipe Throughput                              12440.0    8132853.1  6537.7

Pipe-based Context Switching                  4000.0    1338315.2  3345.8

Process Creation                                126.0      40297.1  3198.2

Shell Scripts (1 concurrent)                    42.4      19227.0  4534.7

Shell Scripts (8 concurrent)                      6.0      2647.9  4413.2

System Call Overhead                          15000.0    7184599.1  4789.7

                                                                  ========

System Benchmarks Index Score                                        3684.6

本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-04/130541.htm

正文完
星哥玩云-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-21发表,共计6369字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中

星哥玩云

星哥玩云
星哥玩云
分享互联网知识
用户数
4
文章数
19351
评论数
4
阅读量
7985137
文章搜索
热门文章
星哥带你玩飞牛NAS-6:抖音视频同步工具,视频下载自动下载保存

星哥带你玩飞牛NAS-6:抖音视频同步工具,视频下载自动下载保存

星哥带你玩飞牛 NAS-6:抖音视频同步工具,视频下载自动下载保存 前言 各位玩 NAS 的朋友好,我是星哥!...
星哥带你玩飞牛NAS-3:安装飞牛NAS后的很有必要的操作

星哥带你玩飞牛NAS-3:安装飞牛NAS后的很有必要的操作

星哥带你玩飞牛 NAS-3:安装飞牛 NAS 后的很有必要的操作 前言 如果你已经有了飞牛 NAS 系统,之前...
我把用了20年的360安全卫士卸载了

我把用了20年的360安全卫士卸载了

我把用了 20 年的 360 安全卫士卸载了 是的,正如标题你看到的。 原因 偷摸安装自家的软件 莫名其妙安装...
再见zabbix!轻量级自建服务器监控神器在Linux 的完整部署指南

再见zabbix!轻量级自建服务器监控神器在Linux 的完整部署指南

再见 zabbix!轻量级自建服务器监控神器在 Linux 的完整部署指南 在日常运维中,服务器监控是绕不开的...
飞牛NAS中安装Navidrome音乐文件中文标签乱码问题解决、安装FntermX终端

飞牛NAS中安装Navidrome音乐文件中文标签乱码问题解决、安装FntermX终端

飞牛 NAS 中安装 Navidrome 音乐文件中文标签乱码问题解决、安装 FntermX 终端 问题背景 ...
阿里云CDN
阿里云CDN-提高用户访问的响应速度和成功率
随机文章
免费无广告!这款跨平台AI RSS阅读器,拯救你的信息焦虑

免费无广告!这款跨平台AI RSS阅读器,拯救你的信息焦虑

  免费无广告!这款跨平台 AI RSS 阅读器,拯救你的信息焦虑 在算法推荐主导信息流的时代,我们...
开源MoneyPrinterTurbo 利用AI大模型,一键生成高清短视频!

开源MoneyPrinterTurbo 利用AI大模型,一键生成高清短视频!

  开源 MoneyPrinterTurbo 利用 AI 大模型,一键生成高清短视频! 在短视频内容...
星哥带你玩飞牛NAS-16:不再错过公众号更新,飞牛NAS搭建RSS

星哥带你玩飞牛NAS-16:不再错过公众号更新,飞牛NAS搭建RSS

  星哥带你玩飞牛 NAS-16:不再错过公众号更新,飞牛 NAS 搭建 RSS 对于经常关注多个微...
240 元左右!五盘位 NAS主机,7 代U硬解4K稳如狗,拓展性碾压同价位

240 元左右!五盘位 NAS主机,7 代U硬解4K稳如狗,拓展性碾压同价位

  240 元左右!五盘位 NAS 主机,7 代 U 硬解 4K 稳如狗,拓展性碾压同价位 在 NA...
小白也能看懂:什么是云服务器?腾讯云 vs 阿里云对比

小白也能看懂:什么是云服务器?腾讯云 vs 阿里云对比

小白也能看懂:什么是云服务器?腾讯云 vs 阿里云对比 星哥玩云,带你从小白到上云高手。今天咱们就来聊聊——什...

免费图片视频管理工具让灵感库告别混乱

一言一句话
-「
手气不错
一句话生成拓扑图!AI+Draw.io 封神开源组合,工具让你的效率爆炸

一句话生成拓扑图!AI+Draw.io 封神开源组合,工具让你的效率爆炸

一句话生成拓扑图!AI+Draw.io 封神开源组合,工具让你的效率爆炸 前言 作为天天跟架构图、拓扑图死磕的...
开源MoneyPrinterTurbo 利用AI大模型,一键生成高清短视频!

开源MoneyPrinterTurbo 利用AI大模型,一键生成高清短视频!

  开源 MoneyPrinterTurbo 利用 AI 大模型,一键生成高清短视频! 在短视频内容...
安装Black群晖DSM7.2系统安装教程(在Vmware虚拟机中、实体机均可)!

安装Black群晖DSM7.2系统安装教程(在Vmware虚拟机中、实体机均可)!

安装 Black 群晖 DSM7.2 系统安装教程(在 Vmware 虚拟机中、实体机均可)! 前言 大家好,...
240 元左右!五盘位 NAS主机,7 代U硬解4K稳如狗,拓展性碾压同价位

240 元左右!五盘位 NAS主机,7 代U硬解4K稳如狗,拓展性碾压同价位

  240 元左右!五盘位 NAS 主机,7 代 U 硬解 4K 稳如狗,拓展性碾压同价位 在 NA...
你的云服务器到底有多强?宝塔跑分告诉你

你的云服务器到底有多强?宝塔跑分告诉你

你的云服务器到底有多强?宝塔跑分告诉你 为什么要用宝塔跑分? 宝塔跑分其实就是对 CPU、内存、磁盘、IO 做...