测试脚本:https://www.nodeseek.com/post-628440-1
root@localhost:~# curl -sL nxtrace.org/speedtest | bash
────────────────────────────────────────────────────────────
⚡ iNetSpeed-CLI
Config: timeout=10s max=2G threads=4
────────────────────────────────────────────────────────────
▸ Environment Check
[+] Environment check passed.
▸ Endpoint Selection
[+] Host: mensura.cdn-apple.com
[+] Available endpoints:
1) 17.253.61.143 Singapore, North West, Singapore (AS6185 Apple Inc.)
2) 17.253.61.138 Singapore, North West, Singapore (AS6185 Apple Inc.)
3) 2403:300:a26:f000::143 Singapore, North West, Singapore (AS6185 Apple Inc.)
4) 2403:300:a26:f000::136 Singapore, North West, Singapore (AS6185 Apple Inc.)
[!] Non-interactive shell detected, default endpoint 1.
[+] Selected endpoint: 17.253.61.143 (Singapore, North West, Singapore (AS6185 Apple Inc.))
▸ Connection Information
Client: 217.xxx.xxx.xxx (Oracle Corporation)
ASN: AS31898 Oracle Corporation
Location: Singapore, South West, Singapore
Server: mensura.cdn-apple.com → 17.253.61.143
Endpoint: Singapore, North West, Singapore (AS6185 Apple Inc.)
ASN: AS6185 Apple Inc.
Location: Singapore, Singapore
▸ Idle Latency
[+] Endpoint: https://mensura.cdn-apple.com/api/v1/gm/small
[+] Samples: 20
➜ 18.14 ms median (min 17.53 / avg 18.34 / max 20.09) jitter 0.13 ms
▸ Download (single thread)
[+] Threads: 1
[+] Limit: 2G / 10s per thread
➜ 2154 Mbps (1.88 GiB in 7.5s)
[+] Loaded latency: 18.84 ms (jitter 5.95 ms)
▸ Download (multi-thread)
[+] Threads: 4
[+] Limit: 2G / 10s per thread
➜ 3682 Mbps (4.46 GiB in 10.4s, 4 threads)
[+] Loaded latency: 22.48 ms (jitter 7.17 ms)
▸ Upload (single thread)
[+] Threads: 1
[+] Limit: 2G / 10s per thread
➜ 973 Mbps (1.13 GiB in 10.0s)
[+] Loaded latency: 19.11 ms (jitter 0.08 ms)
▸ Upload (multi-thread)
[+] Threads: 4
[+] Limit: 2G / 10s per thread
➜ 3107 Mbps (3.62 GiB in 10.0s, 4 threads)
[+] Loaded latency: 23.37 ms (jitter 0.37 ms)
────────────────────────────────────────────────────────────
📊 Summary
────────────────────────────────────────────────────────────
Idle Latency: 18.14 ms (jitter 0.13 ms)
Data Used: 11.09 GiB
────────────────────────────────────────────────────────────
[+] All tests complete.
────────────────────────────────────────────────────────────
@Nanase #1 iNetSpeed-CLI 测速能不能默认不限制带宽呀?
@Ananias #2
代码层面是没有任何限制的,速度取决于你到苹果CDN服务器之间网络质量