全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1944|回复: 6

VPS 性能测试脚本

  [复制链接]
发表于 2023-1-4 23:11:39 | 显示全部楼层 |阅读模式
本帖最后由 zxxx 于 2023-1-4 23:11 编辑

Yet-Another-Bench-Script
https://github.com/masonr/yet-another-bench-script

显示系统信息

  1. wget -qO- yabs.sh | bash -s -- -gif
复制代码


测试磁盘
  1. wget -qO- yabs.sh | bash -s -- -gi
复制代码


测试网络
  1. wget -qO- yabs.sh | bash -s -- -gf
复制代码


跑分
  1. wget -qO- yabs.sh | bash -s -- -if
复制代码


测试磁盘、网络和跑分
  1. wget -qO- yabs.sh | bash
复制代码

  1. # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
  2. #              Yet-Another-Bench-Script              #
  3. #                     v2022-12-04                    #
  4. # https://github.com/masonr/yet-another-bench-script #
  5. # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

  6. Wed Jan  4 12:03:38 UTC 2023

  7. Basic System Information:
  8. ---------------------------------
  9. Uptime     : 2 days, 22 hours, 42 minutes
  10. Processor  : Westmere E56xx/L56xx/X56xx (Nehalem-C)
  11. CPU cores  : 1 [url=home.php?mod=space&uid=175]@[/url] 2599.998 MHz
  12. AES-NI     : ✔ Enabled
  13. VM-x/AMD-V : ❌ Disabled
  14. RAM        : 1.9 GiB
  15. Swap       : 0.0 KiB
  16. Disk       : 19.6 GiB
  17. Distro     : Debian GNU/Linux 11 (bullseye)
  18. Kernel     : 5.10.0-20-amd64

  19. fio Disk Speed Tests (Mixed R/W 50/50):
  20. ---------------------------------
  21. Block Size | 4k            (IOPS) | 64k           (IOPS)
  22.   ------   | ---            ----  | ----           ----
  23. Read       | 37.37 MB/s    (9.3k) | 461.93 MB/s   (7.2k)
  24. Write      | 37.44 MB/s    (9.3k) | 464.36 MB/s   (7.2k)
  25. Total      | 74.82 MB/s   (18.7k) | 926.30 MB/s  (14.4k)
  26.            |                      |                     
  27. Block Size | 512k          (IOPS) | 1m            (IOPS)
  28.   ------   | ---            ----  | ----           ----
  29. Read       | 1.01 GB/s     (1.9k) | 1.09 GB/s     (1.0k)
  30. Write      | 1.06 GB/s     (2.0k) | 1.16 GB/s     (1.1k)
  31. Total      | 2.07 GB/s     (4.0k) | 2.25 GB/s     (2.2k)

  32. iperf3 Network Speed Tests (IPv4):
  33. ---------------------------------
  34. Provider        | Location (Link)           | Send Speed      | Recv Speed      | Ping           
  35. -----           | -----                     | ----            | ----            | ----           
  36. Clouvider       | London, UK (10G)          | busy            | 100 Mbits/sec   | 23.0 ms        
  37. Scaleway        | Paris, FR (10G)           | 103 Mbits/sec   | 100 Mbits/sec   | 20.5 ms        
  38. NovoServe       | North Holland, NL (40G)   | 103 Mbits/sec   | 100 Mbits/sec   | 18.7 ms        
  39. Uztelecom       | Tashkent, UZ (10G)        | 98.2 Mbits/sec  | 97.6 Mbits/sec  | 99.5 ms        
  40. Clouvider       | NYC, NY, US (10G)         | 98.5 Mbits/sec  | 98.0 Mbits/sec  | 91.0 ms        
  41. Clouvider       | Dallas, TX, US (10G)      | 96.6 Mbits/sec  | 96.5 Mbits/sec  | 127 ms         
  42. Clouvider       | Los Angeles, CA, US (10G) | 92.1 Mbits/sec  | 93.7 Mbits/sec  | 161 ms         

  43. Geekbench 5 Benchmark Test:
  44. ---------------------------------
  45. Test            | Value                        
  46.                 |                              
  47. Single Core     | 604                           
  48. Multi Core      | 605                           
  49. Full Test       | https://browser.geekbench.com/v5/cpu/19693679

  50. YABS completed in 7 min 27 sec
复制代码


Teddysun 大佬的 bench.sh 脚本

  1. wget -qO- bench.sh | bash
复制代码

  1. -------------------- A Bench.sh Script By Teddysun -------------------
  2. Version            : v2022-06-01
  3. Usage              : wget -qO- bench.sh | bash
  4. ----------------------------------------------------------------------
  5. CPU Model          : Westmere E56xx/L56xx/X56xx (Nehalem-C)
  6. CPU Cores          : 1 @ 2599.998 MHz
  7. CPU Cache          : 16384 KB
  8. AES-NI             : Enabled
  9. VM-x/AMD-V         : Disabled
  10. Total Disk         : 19.6 GB (1.8 GB Used)
  11. Total Mem          : 1.9 GB (90.3 MB Used)
  12. System uptime      : 2 days, 22 hour 35 min
  13. Load average       : 0.08, 0.02, 0.01
  14. OS                 : Debian GNU/Linux 11
  15. Arch               : x86_64 (64 Bit)
  16. Kernel             : 5.10.0-20-amd64
  17. TCP CC             : bbr
  18. Virtualization     : KVM
  19. Organization       : AS49367 Seflow s.r.l.
  20. Location           : Figino / IT
  21. Region             : Lombardy
  22. ----------------------------------------------------------------------
  23. I/O Speed(1st run) : 457 MB/s
  24. I/O Speed(2nd run) : 424 MB/s
  25. I/O Speed(3rd run) : 417 MB/s
  26. I/O Speed(average) : 432.7 MB/s
  27. ----------------------------------------------------------------------
  28. Node Name        Upload Speed      Download Speed      Latency     
  29. Speedtest.net    102.79 Mbps       100.24 Mbps         12.06 ms   
  30. Los Angeles, US  107.50 Mbps       104.35 Mbps         152.91 ms   
  31. Dallas, US       106.03 Mbps       102.15 Mbps         124.92 ms   
  32. Montreal, CA     103.34 Mbps       100.53 Mbps         98.52 ms   
  33. Paris, FR        103.41 Mbps       100.33 Mbps         24.43 ms   
  34. Amsterdam, NL    103.01 Mbps       100.67 Mbps         21.75 ms   
  35. Shanghai, CN     55.94 Mbps        100.43 Mbps         251.68 ms   
  36. Nanjing, CN      14.98 Mbps        95.64 Mbps          285.43 ms   
  37. Hongkong, CN     101.60 Mbps       104.75 Mbps         242.49 ms   
  38. Seoul, KR        89.63 Mbps        100.29 Mbps         296.28 ms   
  39. Singapore, SG    96.19 Mbps        100.20 Mbps         232.23 ms   
  40. Tokyo, JP        100.99 Mbps       105.27 Mbps         237.36 ms   
  41. ----------------------------------------------------------------------
  42. Finished in        : 5 min 59 sec
  43. Timestamp          : 2023-01-04 12:03:05 UTC
  44. ----------------------------------------------------------------------
复制代码


oldking 老鬼的 SuperBench.sh 脚本

  1. wget -qO- git.io/superbench.sh | bash
复制代码


  1. ----------------------------------------------------------------------
  2. Superbench.sh -- https://www.oldking.net/350.html
  3. Mode  : Standard    Version : 1.1.7
  4. Usage : wget -qO- sb.oldking.net | bash
  5. ----------------------------------------------------------------------
  6. CPU Model            : Intel Core Processor (Haswell, no TSX)
  7. CPU Cores            : 1 Cores 2399.996 MHz x86_64
  8. CPU Cache            : 16384 KB
  9. OS                   : Debian GNU/Linux 11 (64 Bit) KVM
  10. Kernel               : 5.10.0-20-cloud-amd64
  11. Total Space          : 9.3 GB / 20.1 GB
  12. Total RAM            : 71 MB / 1937 MB (441 MB Buff)
  13. Total SWAP           : 0 MB / 0 MB
  14. Uptime               : 5 days 12 hour 39 min
  15. Load Average         : 0.22, 0.05, 0.02
  16. TCP CC               : bbr
  17. ASN & ISP            : AS16276, OVH SAS
  18. Organization         : OVH US LLC
  19. Location             : Hillsboro, United States / US
  20. Region               : Oregon
  21. ----------------------------------------------------------------------
  22. I/O Speed( 1.0GB )   : 905 MB/s
  23. I/O Speed( 1.0GB )   : 935 MB/s
  24. I/O Speed( 1.0GB )   : 874 MB/s
  25. Average I/O Speed    : 904.7 MB/s
  26. ----------------------------------------------------------------------
  27. Node Name        Upload Speed      Download Speed      Latency     
  28. Speedtest.net    98.65 Mbit/s      98.62 Mbit/s        (*)66.62 ms
  29. Fast.com         0.00 Mbit/s       0 Mbit/s            -           
  30. Nanjing 5G   CT  86.11 Mbit/s      100.96 Mbit/s       154.25 ms   
  31. Hefei 5G     CT  90.90 Mbit/s      100.91 Mbit/s       185.23 ms   
  32. Guangzhou 5G CT  4.22 Mbit/s       46.96 Mbit/s        185.20 ms   
  33. Shanghai 5G  CU  79.71 Mbit/s      8.83 Mbit/s         252.28 ms   
  34. ----------------------------------------------------------------------
  35. Finished in  : 3 min 2 sec
  36. Timestamp    : 2023-01-04 20:49:35 GMT+8
  37. Results      : ./superbench.log
  38. ----------------------------------------------------------------------
  39. Share result:
  40. · https://www.speedtest.net/result/c/09bb4f70-a44f-4ce0-9304-ee8e980c767b
  41. · https://paste.ubuntu.com/p/mQfPQshwQz/
  42. ----------------------------------------------------------------------
复制代码
 楼主| 发表于 2023-1-4 23:11:40 | 显示全部楼层

VPS 性能测试脚本

显示系统信息

  1. wget -qO- bench.monster/speedtest.sh |  bash -s -- -i
复制代码


测试磁盘
  1. wget -qO- bench.monster/speedtest.sh |  bash -s -- -io
复制代码


测试网络
  1. wget -qO- bench.monster/speedtest.sh |  bash -s -- -speed
复制代码

  1. wget -qO- bench.monster/speedtest.sh |  bash -s -- -cnspeed
复制代码


跑分
  1. wget -qO- bench.monster/speedtest.sh |  bash -s -- -gb5
复制代码


测试磁盘、网络和跑分

  1. wget -qO- bench.monster/speedtest.sh | sed "s/bench4;/bench5;/g" | bash
复制代码

  1. wget -qO- bench.monster/speedtest.sh | sed "s/bench4;/bench5;/g" | bash -s -- -china
复制代码

  1. =========================================================
  2. \            Speedtest https://bench.monster            /
  3. \    System info, Geekbench, I/O test and speedtest     /
  4. \                  v1.5.15   2022-12-31                 /
  5. =========================================================

  6. ---------------------------------------------------------------------------
  7. OS           : Debian GNU/Linux 11 (64 Bit)
  8. Virt/Kernel  : KVM / 5.10.0-20-amd64
  9. CPU Model    : Westmere E56xx/L56xx/X56xx (Nehalem-C)
  10. CPU Cores    : 1 [url=home.php?mod=space&uid=175]@[/url] 2599.998 MHz x86_64 16384 KB Cache
  11. CPU Flags    : AES-NI Enabled & VM-x/AMD-V Disabled
  12. Load Average : 0.04, 0.19, 0.16
  13. Total Space  : 20G (1.9G ~10% used)
  14. Total RAM    : 1983 MB (91 MB + 381 MB Buff in use)
  15. Total SWAP   : 0 MB (0 MB in use)
  16. Uptime       : 3 days 0:23
  17. ---------------------------------------------------------------------------
  18. ASN & ISP    : AS49367, Seflow S.N.C. Di Marco Brame' & C.
  19. Organization : virtual solution srl
  20. Location     : Ravenna, Italy / IT
  21. Region       : Emilia-Romagna
  22. ---------------------------------------------------------------------------

  23. ## Geekbench v5 CPU Benchmark:

  24.   Single Core : 609  (GOOD)
  25.    Multi Core : 608

  26. ## IO Test

  27. CPU Speed:
  28.     bzip2     :  88.7 MB/s
  29.    sha256     : 128 MB/s
  30.    md5sum     : 401 MB/s

  31. RAM Speed:
  32.    Avg. write : 1979.7 MB/s
  33.    Avg. read  : 5017.6 MB/s

  34. Disk Speed:
  35.    1st run    : 479 MB/s
  36.    2nd run    : 451 MB/s
  37.    3rd run    : 445 MB/s
  38.    -----------------------
  39.    Average    : 458.3 MB/s

  40. ## Global Speedtest.net

  41. Location                       Upload           Download         Ping   
  42. ---------------------------------------------------------------------------
  43. Nearby                         105.62 Mbit/s    100.28 Mbit/s    9.008 ms
  44. ---------------------------------------------------------------------------
  45. USA, New York (Optimum)        65.15 Mbit/s     87.23 Mbit/s     93.407 ms
  46. USA, Chicago (Windstream)      67.88 Mbit/s     81.84 Mbit/s    113.820 ms
  47. USA, Dallas (Frontier)         65.31 Mbit/s     77.12 Mbit/s    130.194 ms
  48. USA, Miami (Sprint)            64.46 Mbit/s     82.81 Mbit/s    116.311 ms
  49. USA, Los Angeles (Windstream)  59.51 Mbit/s     68.27 Mbit/s    166.351 ms
  50. UK, London (toob Ltd)          106.74 Mbit/s    99.33 Mbit/s     25.442 ms
  51. France, Paris (Orange)         99.17 Mbit/s     93.62 Mbit/s     16.115 ms
  52. Germany, Berlin (DNS:NET)      105.40 Mbit/s    96.98 Mbit/s     28.730 ms
  53. Spain, Madrid (MasMovil)       100.35 Mbit/s    98.21 Mbit/s     25.709 ms
  54. Italy, Rome (Unidata)          105.44 Mbit/s    98.14 Mbit/s     10.161 ms
  55. India, Mumbai (OneBroadband)   64.64 Mbit/s     69.68 Mbit/s    135.384 ms
  56. Singapore (StarHub)            57.97 Mbit/s     69.33 Mbit/s    144.543 ms
  57. Japan, Tsukuba (SoftEther)     28.06 Mbit/s     45.11 Mbit/s    249.745 ms
  58. Australia, Sydney (Optus)      19.52 Mbit/s     38.98 Mbit/s    302.009 ms
  59. RSA, Randburg (Cool Ideas)     60.51 Mbit/s     51.70 Mbit/s    180.859 ms
  60. Brazil, Sao Paulo (Criare)     48.84 Mbit/s     36.68 Mbit/s    202.297 ms
  61. ---------------------------------------------------------------------------

  62. Finished in : 11 min 16 sec
  63. Timestamp   : 2023-01-04 13:56:21 GMT
  64. Saved in    : /root/speedtest.log

  65. Share results:
  66. - https://www.speedtest.net/result/14160700634.png
  67. - https://browser.geekbench.com/v5/cpu/19695272
  68. - https://clbin.com/LaNzG
复制代码
发表于 2023-1-4 23:36:00 | 显示全部楼层
感谢,已收藏
发表于 2023-1-4 23:53:17 | 显示全部楼层
谢谢老板,已收藏
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-3-29 20:34 , Processed in 0.062143 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表