Yet Another Bench Script ( yabs ) – 一键脚本测试服务器Fio/iperf3/Geekbench

1、fio是目前比较全面的IO测试软件,Fio授予使用各种选项以各种方法评估磁盘性能的能力。 作为此脚本的一部分,使用 4k、64k、512k 和 1m 块大小进行了四次随机读写 fio 磁盘测试。 结果比较接近真实水平,实际上对于fio的使用还 可以比较深入,以后单独介绍。2、iperf3测试下载和上传到不同位置的速度的行业标准。 此脚本使用具有 8 个并行线程的 iperf3 并测试下载和上传速度。 如果 iperf 服务器在 10 次尝试后繁忙,则跳过该位置/方向的速度测试。3、GeekbenchGeekbench 是一个衡量系统性能的基准测试程序,在技术社区中被广泛使用。 显示的 Web URL 能够查看完整的测试和单独的基准测试结果,并允许与其他 geekbench 的系统进行比较。 将 Geekbench 结果添加到 Geekbench 配置文件的声明 URL 将写入执行此脚本的目录中的文件。 默认情况下,Geekbench 5 是唯一执行的 Geekbench 测试,但是,也可以通过传递适当的标志来打开 Geekbench 4。介绍这么多,我们还是直接看脚本工具吧。

第一、一键测评脚本.

curl -sL yabs.sh | bash
或者
wget -qO- yabs.sh | bash

第二、执行脚本效果我们可以看到下面,有看到服务器配置信息、Fio硬盘读写能力、网络速度测试、Geekbench跑分测试。

Basic System Information:
---------------------------------
Processor  : Common KVM processor
CPU cores  : 12 @ 2793.268 MHz
AES-NI     : ❌ Disabled
VM-x/AMD-V : ❌ Disabled
RAM        : 7.8 GiB
Swap       : 975.0 MiB
Disk       : 48.0 GiB

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 18.97 MB/s    (4.7k) | 286.48 MB/s   (4.4k)
Write      | 18.96 MB/s    (4.7k) | 287.99 MB/s   (4.4k)
Total      | 37.93 MB/s    (9.4k) | 574.48 MB/s   (8.9k)
           |                      |
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 424.36 MB/s    (828) | 231.39 MB/s    (225)
Write      | 446.90 MB/s    (872) | 246.80 MB/s    (241)
Total      | 871.27 MB/s   (1.7k) | 478.20 MB/s    (466)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 3.38 Gbits/sec  | 1.70 Gbits/sec
Online.net      | Paris, FR (10G)           | 7.57 Gbits/sec  | 1.55 Gbits/sec
WorldStream     | The Netherlands (10G)     | 1.98 Gbits/sec  | 2.01 Gbits/sec
WebHorizon      | Singapore (1G)            | busy            | busy
Clouvider       | NYC, NY, US (10G)         | 1.76 Gbits/sec  | 776 Mbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 7.55 Mbits/sec  | 760 Mbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 701 Mbits/sec   | 11.3 Mbits/sec
Iveloz Telecom  | Sao Paulo, BR (2G)        | 142 Mbits/sec   | 791 Mbits/sec

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 517
Multi Core      | 3438
Full Test       | https://browser.geekbench.com/v5/cpu/11063275
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情

    请登录后查看评论内容