Linux系统服务器性能跑分测试脚本/UnixBench一键跑分测试脚本
![]() | ![]() | ![]() | ![]() |
| 【性价之王】 | 【线路之王】 | 【价格之王】 | 【配置之王】 |
| 【免费之王】 | 【香港首推】 | 【梯子之王】 | 【独服之王】 |

UnixBench是一款开源的用于测试Unix、BSD、Linux系统基本性能的工具,比较通用于Linux系统VPS性能测试,主要测试项目有:系统调用、读写、进程、图形化测试、2D、3D、管道、运算、C库等系统基准性能提供测试数据。关于如何使用UnixBench为Linux系统VPS进行跑分测试,蜗牛789曾在如何对VPS进行性能测试及UnixBench跑分工具使用教程文章当中做过相关介绍,在此文章当中为大家介绍一个由@秋水逸冰大佬制作的UnixBench一键跑分测试脚本,使用非常简单,下面简单的几段命令即可实现一键跑分测试。
一、脚本命令如果你想使用UnixBench测试你的服务器性能,请使用SSH工具连接你的服务器后执行下面命令。脚本默认使用UnixBench5.1.3版本,因为大多VPS都没有显卡或者是集成显卡,不需要进行图像性能测试,所以作者注释了关于graphic的测试项。此脚本运行测试时间大约10-30分钟,跑分结束后得分越高性能越好。
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.shchmod +x unixbench.sh./unixbench.sh蜗牛789备用命令:
wget --no-check-certificate https://github.com/wn789/unixbench/blob/master/unixbench.shchmod +x unixbench.sh./unixbench.sh二、测试效果------------------------------------------------------------------------Benchmark Run: Wed Dec 19 2018 19:50:58 - 20:19:172 CPUs in system; running 1 parallel copy of testsDhrystone 2 using register variables 21092505.4 lps (10.0 s, 7 samples)Double-Precision Whetstone 2655.9 MWIPS (9.9 s, 7 samples)Execl Throughput 845.3 lps (30.0 s, 2 samples)File Copy 1024 bufsize 2000 maxblocks 213526.5 KBps (30.0 s, 2 samples)File Copy 256 bufsize 500 maxblocks 55094.0 KBps (30.0 s, 2 samples)File Copy 4096 bufsize 8000 maxblocks 669049.2 KBps (30.0 s, 2 samples)Pipe Throughput 262532.9 lps (10.0 s, 7 samples)Pipe-based Context Switching 32340.5 lps (10.0 s, 7 samples)Process Creation 1722.2 lps (30.0 s, 2 samples)Shell Scripts (1 concurrent) 2072.5 lpm (60.0 s, 2 samples)Shell Scripts (8 concurrent) 384.7 lpm (60.0 s, 2 samples)System Call Overhead 308320.4 lps (10.0 s, 7 samples)System Benchmarks Index Values BASELINE RESULT INDEXDhrystone 2 using register variables 116700.0 21092505.4 1807.4Double-Precision Whetstone 55.0 2655.9 482.9Execl Throughput 43.0 845.3 196.6File Copy 1024 bufsize 2000 maxblocks 3960.0 213526.5 539.2File Copy 256 bufsize 500 maxblocks 1655.0 55094.0 332.9File Copy 4096 bufsize 8000 maxblocks 5800.0 669049.2 1153.5Pipe Throughput 12440.0 262532.9 211.0Pipe-based Context Switching 4000.0 32340.5 80.9Process Creation 126.0 1722.2 136.7Shell Scripts (1 concurrent) 42.4 2072.5 488.8Shell Scripts (8 concurrent) 6.0 384.7 641.1System Call Overhead 15000.0 308320.4 205.5 ========System Benchmarks Index Score 363.6------------------------------------------------------------------------Benchmark Run: Wed Dec 19 2018 20:19:17 - 20:47:452 CPUs in system; running 2 parallel copies of testsDhrystone 2 using register variables 40199084.3 lps (10.0 s, 7 samples)Double-Precision Whetstone 5315.7 MWIPS (9.9 s, 7 samples)Execl Throughput 1321.4 lps (30.0 s, 2 samples)File Copy 1024 bufsize 2000 maxblocks 329910.4 KBps (30.0 s, 2 samples)File Copy 256 bufsize 500 maxblocks 89161.7 KBps (30.0 s, 2 samples)File Copy 4096 bufsize 8000 maxblocks 1131551.0 KBps (30.0 s, 2 samples)Pipe Throughput 496906.4 lps (10.0 s, 7 samples)Pipe-based Context Switching 89894.4 lps (10.0 s, 7 samples)Process Creation 3208.2 lps (30.0 s, 2 samples)Shell Scripts (1 concurrent) 2742.8 lpm (60.0 s, 2 samples)Shell Scripts (8 concurrent) 380.8 lpm (60.2 s, 2 samples)System Call Overhead 562093.4 lps (10.0 s, 7 samples)System Benchmarks Index Values BASELINE RESULT INDEXDhrystone 2 using register variables 116700.0 40199084.3 3444.7Double-Precision Whetstone 55.0 5315.7 966.5Execl Throughput 43.0 1321.4 307.3File Copy 1024 bufsize 2000 maxblocks 3960.0 329910.4 833.1File Copy 256 bufsize 500 maxblocks 1655.0 89161.7 538.7File Copy 4096 bufsize 8000 maxblocks 5800.0 1131551.0 1951.0Pipe Throughput 12440.0 496906.4 399.4Pipe-based Context Switching 4000.0 89894.4 224.7Process Creation 126.0 3208.2 254.6Shell Scripts (1 concurrent) 42.4 2742.8 646.9Shell Scripts (8 concurrent) 6.0 380.8 634.7System Call Overhead 15000.0 562093.4 374.7 ========System Benchmarks Index Score 618.8------------------------------------------------------------------------猜你可能想看的VPS
- 国内虚拟主机 国内空间推荐 TOP 榜虚拟空间(主机)
- 优惠 iON→美国圣何塞机房 8 折优惠 1 核 2G 50G 硬盘 2美国VPS[主机]
- SpinVPS→$5.99 月 1GB 内存 20GB SSD 空间 2虚拟空间(主机)
- racknerd→“Blooming 3 Special” $33.33全球[VPS测评]
- 双十一预告 搬瓦工→双十一当天全场 11.11%优惠 DC6 传家套餐会全球[VPS测评]
- public function list()报错 syntax erro全球[VPS测评]
- stsdust 广州移动 vds 预售,1Gbps 带宽无限流量,硬件资全球[VPS测评]
- 一般-KTS24→€2.5 月 4G 内存 25GB SSD 硬盘 1G全球[VPS测评]
- oplink→美国休斯顿大流量 VPS $5 KVM 1G 内存 40gWINDOWS
- 日本 VPS ¥36 月 2G 内存 40G SSD 4Mbps 不限量日本VPS[主机]
- JS 判断是否为微信浏览器(微信客户端)的函数全球[VPS测评]
- Laravel faker 生成中文测试数据全球[VPS测评]
- WebUploader 设置只能上传单张图片全球[VPS测评]
- Rainbow Cloud 香港 台湾 日本服务器盲开活动,随机交付 E日本VPS[主机]
- 数脉科技→365 元 月-E3 1230v2 16GB 1TB 10M 香港VPS[主机]
- 使用WooRank SEO分析工具来优化的你的博客全球[VPS测评]
- 野草云香港CN2 VPS 云服务器年付三六折优惠,¥136.8起/年;独独立服务器[U]
- CloudCone 512 内存 10G HDD 1T流量 洛杉矶 MC全球[VPS测评]
- Linux系统下安装Java JDK全球[VPS测评]
- 原创解析:云计算含义及定义全球[VPS测评]
- 戈登云VPS,6折,充值送50%,香港cn2,美国cn云服务器,2核2G美国VPS[主机]
- 亚马逊卖家与广告流量之间的博弈才刚刚开始?品牌卖家如何冲破广告之困...全球[VPS测评]
- 20个温暖心灵的问题,抖音,朋友圈都可以拿去发。全球[VPS测评]
- 酷锐云双十一活动:美国vps、香港vps云主机,2核4G4M,50元/首美国VPS[主机]
- 印象云怎么样?85折香港安畅CN2vps带宽3M月付23元香港VPS[主机]
- 八成企业看好出海投资 防止“溺水”需重视这一点全球[VPS测评]
- 华凯易佰同比扭亏跨境电商行业回暖H2旺季将至|中报追踪全球[VPS测评]
- 腾讯云海外服务器优惠活动:全球购1核2G美国云服务器低至318元/年美国VPS[主机]
- SugarHosts:虚拟主机三折起,VPS五折起,续费也可以享受优惠全球[VPS测评]
- 宏海数据9.9云服务器:香港VPS CN2线路1核1G 9.9/首月香港VPS[主机]
转载请注明原文地址:http://140.238.13.167:12355/read-146869.html











