本帖最后由 安之若素 于 2018-1-28 17:10 编辑
内核4.9.0-5-amd64,直接启用bbr开始跑脚本的。
bench
root@after ~ # wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU model : Intel Xeon Processor (Skylake, IBRS)
Number of cores : 1
CPU frequency : 2099.998 MHz
Total size of Disk : 19.9 GB (1.1 GB Used)
Total amount of Mem : 1956 MB (36 MB Used)
Total amount of Swap : 0 MB (0 MB Used)
System uptime : 0 days, 0 hour 0 min
Load average : 0.19, 0.06, 0.02
OS : Debian GNU/Linux 9
Arch : x86_64 (64 Bit)
Kernel : 4.9.0-5-amd64
----------------------------------------------------------------------
I/O speed(1st run) : 377 MB/s
I/O speed(2nd run) : 308 MB/s
I/O speed(3rd run) : 308 MB/s
Average I/O speed : 331.0 MB/s
----------------------------------------------------------------------
Node Name IPv4 address Download Speed
CacheFly 205.234.175.175 107MB/s
Linode, Tokyo, JP 106.187.96.148 8.70MB/s
Linode, Singapore, SG 139.162.23.4 7.71MB/s
Linode, London, UK 176.58.107.39 110MB/s
Linode, Frankfurt, DE 139.162.130.8 149MB/s
Linode, Fremont, CA 50.116.14.9 8.14MB/s
Softlayer, Dallas, TX 173.192.68.18 11.8MB/s
Softlayer, Seattle, WA 67.228.112.250 11.9MB/s
Softlayer, Frankfurt, DE 159.122.69.4 43.2MB/s
Softlayer, Singapore, SG 119.81.28.170 8.48MB/s
Softlayer, HongKong, CN 119.81.130.170 7.77MB/s
----------------------------------------------------------------------
Node Name IPv6 address Download Speed
Linode, Atlanta, GA 2600:3c02::4b 16.5MB/s
Linode, Dallas, TX 2600:3c00::4b 12.6MB/s
Linode, Newark, NJ 2600:3c03::4b 3.88MB/s
Linode, Singapore, SG 2400:8901::4b 5.58MB/s
Linode, Tokyo, JP 2400:8900::4b 8.31MB/s
Softlayer, San Jose, CA 2607:f0d0:2601:2a::4 6.01MB/s
Softlayer, Washington, WA 2607:f0d0:3001:78::2 8.82MB/s
Softlayer, Paris, FR 2a03:8180:1301:8::4 67.0MB/s
Softlayer, Singapore, SG 2401:c900:1101:8::2 9.25MB/s
Softlayer, Tokyo, JP 2401:c900:1001:16::4 3.36MB/s
----------------------------------------------------------------------
superspeed
有点奇怪,启用bbr后的数据比没开启bbr速度差异比较大~~,我把两个结果都附到下面了
未启用BBR时
#############################################################
# Description: Test your server's network with Speedtest #
# Intro: https://www.oldking.net/305.html #
# Author: Oldking <[email protected]> #
# Github: https://github.com/oooldking #
#############################################################
测试服务器到
1.中国电信 2.中国联通 3.中国移动 4.本地默认 5.全面测速
请输入数字选择: 5
Node Name Upload Speed Download Speed Latency
深圳电信 16.75 Mbit/s 18.76 Mbit/s 317.107 ms
上海电信 34.11 Mbit/s 31.96 Mbit/s 441.018 ms
成都电信 25.85 Mbit/s 115.81 Mbit/s 340.053 ms
沈阳联通 4.56 Mbit/s 23.98 Mbit/s 344.454 ms
西安联通 7.53 Mbit/s 9.64 Mbit/s 338.906 ms
上海联通 0.19 Mbit/s 0.58 Mbit/s 000.000 ms
重庆联通 6.28 Mbit/s 20.72 Mbit/s 379.803 ms
西安移动 17.44 Mbit/s 20.18 Mbit/s 351.439 ms
上海移动 3.23 Mbit/s 37.95 Mbit/s 242.194 ms
宁波移动 1.85 Mbit/s 18.09 Mbit/s 000.000 ms
成都移动 38.82 Mbit/s 13.93 Mbit/s 243.899 ms
花费时间:5 分 6 秒
当前时间: 2018-01-28 09:01:17
全面测试完成!
启用BBR时
root@after ~ # ./superspeed.sh
#############################################################
# Description: Test your server's network with Speedtest #
# Intro: https://www.oldking.net/305.html #
# Author: Oldking <[email protected]> #
# Github: https://github.com/oooldking #
#############################################################
测试服务器到
1.中国电信 2.中国联通 3.中国移动 4.本地默认 5.全面测速
请输入数字选择: 5
Node Name Upload Speed Download Speed Latency
深圳电信 21.04 Mbit/s 19.44 Mbit/s 272.832 ms
上海电信 70.89 Mbit/s 16.66 Mbit/s 307.162 ms
成都电信 11.23 Mbit/s 115.53 Mbit/s 708.014 ms
沈阳联通 0.86 Mbit/s 2.39 Mbit/s 000.000 ms
西安联通 1.29 Mbit/s 0.57 Mbit/s 484.108 ms
上海联通 0.12 Mbit/s 0.01 Mbit/s 000.000 ms
重庆联通 1.92 Mbit/s 0.55 Mbit/s 955.653 ms
西安移动 38.18 Mbit/s 23.86 Mbit/s 328.052 ms
上海移动 3.18 Mbit/s 42.70 Mbit/s 241.379 ms
宁波移动 6.35 Mbit/s 46.37 Mbit/s 000.000 ms
成都移动 40.98 Mbit/s 24.41 Mbit/s 259.047 ms
花费时间:6 分 7 秒
当前时间: 2018-01-28 09:26:19
全面测试完成!
UNIX bench
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: after: GNU/Linux
OS: GNU/Linux -- 4.9.0-5-amd64 -- #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04)
Machine: x86_64 (unknown)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel Xeon Processor (Skylake, IBRS) (4200.0 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
09:32:04 up 17 min, 1 user, load average: 0.04, 0.03, 0.02; runlevel 5
------------------------------------------------------------------------
Benchmark Run: Sun Jan 28 2018 09:32:04 - 10:00:10
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 36127895.3 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4471.7 MWIPS (9.8 s, 7 samples)
Execl Throughput 6702.2 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 887142.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 236674.8 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2478007.7 KBps (30.0 s, 2 samples)
Pipe Throughput 1267812.6 lps (10.0 s, 7 samples)
Pipe-based Context Switching 191177.8 lps (10.0 s, 7 samples)
Process Creation 15004.0 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 11019.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1439.4 lpm (60.0 s, 2 samples)
System Call Overhead 842937.6 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 36127895.3 3095.8
Double-Precision Whetstone 55.0 4471.7 813.0
Execl Throughput 43.0 6702.2 1558.6
File Copy 1024 bufsize 2000 maxblocks 3960.0 887142.4 2240.3
File Copy 256 bufsize 500 maxblocks 1655.0 236674.8 1430.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 2478007.7 4272.4
Pipe Throughput 12440.0 1267812.6 1019.1
Pipe-based Context Switching 4000.0 191177.8 477.9
Process Creation 126.0 15004.0 1190.8
Shell Scripts (1 concurrent) 42.4 11019.1 2598.9
Shell Scripts (8 concurrent) 6.0 1439.4 2398.9
System Call Overhead 15000.0 842937.6 562.0
========
System Benchmarks Index Score 1478.5
|