AWS最近推出了一款基于ARM架构的EC2实例类型t4g
配置
- CPU:2核
- 内存:1GB
使用体验
AWS的实例的好处是docker pull和wget github的速度都是绝对快的,另外由于基于arm架构,因此可以docker build基于arm的镜像。说说实例性能,5658的CPU得分,单核心得分达到了惊人的2829,相比阿里云1038的单核分数简直是没得比的。另外内存性能3726.80 MiB/sec就比阿里云的7557.84 MiB/sec要差点意思,包括不太能见人的46.22 MiB/s硬盘性能。不过2125.39 Mbit/s的带宽可以直接秒杀阿里云100Mbit/s的龟速带宽。
基准测试
speedtest
1 2 3 |
Hosted by Rakuten Mobile, Inc (Tokyo) [5.66 km]: 5.631 ms Testing download speed................................................................................ Download: 2125.39 Mbit/s |
sysbench
–test=cpu –threads=10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2) Running the test with following options: Number of threads: 10 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads... Threads started! CPU speed: events per second: 5658.59 General statistics: total time: 10.0010s total number of events: 56599 Latency (ms): min: 0.35 avg: 1.76 max: 32.36 95th percentile: 16.41 sum: 99766.21 Threads fairness: events (avg/stddev): 5659.9000/20.80 execution time (avg/stddev): 9.9766/0.02 |
–test=memory –threads=10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2) Running the test with following options: Number of threads: 10 Initializing random number generator from current time Running memory speed test with the following options: block size: 1KiB total size: 102400MiB operation: write scope: global Initializing worker threads... Threads started! Total operations: 38167944 (3816241.98 per second) 37273.38 MiB transferred (3726.80 MiB/sec) General statistics: total time: 10.0001s total number of events: 38167944 Latency (ms): min: 0.00 avg: 0.00 max: 39.99 95th percentile: 0.00 sum: 59912.56 Threads fairness: events (avg/stddev): 3816794.4000/32472.98 execution time (avg/stddev): 5.9913/0.18 |
–test=fileio –threads=10 –file-test-mode=seqwr
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2) Running the test with following options: Number of threads: 10 Initializing random number generator from current time Extra file open flags: (none) 128 files, 16MiB each 2GiB total file size Block size 16KiB Periodic FSYNC enabled, calling fsync() each 100 requests. Calling fsync() at the end of test, Enabled. Using synchronous I/O mode Doing sequential write (creation) test Initializing worker threads... Threads started! File operations: reads/s: 0.00 writes/s: 2958.05 fsyncs/s: 3904.33 Throughput: read, MiB/s: 0.00 written, MiB/s: 46.22 General statistics: total time: 10.0055s total number of events: 67389 Latency (ms): min: 0.00 avg: 1.48 max: 500.42 95th percentile: 0.02 sum: 100015.19 Threads fairness: events (avg/stddev): 6738.9000/718.80 execution time (avg/stddev): 10.0015/0.00 |
bench.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
---------------------------------------------------------------------- CPU model : Number of cores : CPU frequency : MHz Total size of Disk : 7.8 GB (3.6 GB Used) Total amount of Mem : 964 MB (179 MB Used) Total amount of Swap : 0 MB (0 MB Used) System uptime : 0 days, 0 hour 8 min Load average : 0.00, 0.00, 0.00 OS : Debian GNU/Linux 10 Arch : aarch64 (64 Bit) Kernel : 4.19.0-14-arm64 ---------------------------------------------------------------------- I/O speed(1st run) : 152 MB/s I/O speed(2nd run) : 136 MB/s I/O speed(3rd run) : 135 MB/s Average I/O speed : 141.0 MB/s ---------------------------------------------------------------------- Node Name IPv4 address Download Speed |
nench.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
------------------------------------------------- nench.sh v2019.07.20 -- https://git.io/nench.sh benchmark timestamp: 2021-03-06 03:45:24 UTC ------------------------------------------------- Processor: CPU cores: Frequency: MHz RAM: 964Mi Swap: - Kernel: Linux 4.19.0-14-arm64 aarch64 Disks: nvme0n1 8G SSD CPU: SHA256-hashing 500 MB 2.349 seconds CPU: bzip2-compressing 500 MB 5.611 seconds CPU: AES-encrypting 500 MB 0.710 seconds ioping: seek rate bash: line 220: ./ioping.static: cannot execute binary file: Exec format error ioping: sequential read speed bash: line 222: ./ioping.static: cannot execute binary file: Exec format error dd: sequential write speed 1st run: 145.91 MiB/s 2nd run: 129.70 MiB/s 3rd run: 128.75 MiB/s average: 134.79 MiB/s IPv4 speedtests your IPv4: 18.163.187.xxxx Cachefly CDN: 0.00 MiB/s Leaseweb (NL): 6.36 MiB/s Softlayer DAL (US): 5.88 MiB/s Online.net (FR): 7.39 MiB/s OVH BHS (CA): 5.92 MiB/s No IPv6 connectivity detected ------------------------------------------------- |
Speedtest
1 2 3 |
Hosted by 安徽移动5G-HN (HuaiNai) [0.43 km]: 53.931 ms Testing download speed................................................................................ Download: 875.39 Mbit/s |
There are no comments yet