Oracle cloud free tier Ampere Arm A1 를 설치하고 기존 E2.1.Micro 머신과 성능면에서 어떤 차이가 있는지 테스트 해보았다.
생성한 인스턴스는 3개이다.
E2 머신은 2개까지 생성할 수 있으며 각각 1 OCPU, 1GB MEM 이다.
A1 머신은 arm 4 OCPU, 24GB MEM이다.
그리고 스토리지는 200GB까지 제공된다.
sysbench 테스트 결과
왼쪽 A1.Flex(threads=4), 오른쪽 E2.1.Micro(threads=2)
geekbench 테스트 결과
Internet speed test
A1.Flex
ubuntu@joseph.home.kg:~$ speedtest-cli --server 6527 Retrieving speedtest.net configuration... Testing from Oracle Cloud (146.56.135.248)... Retrieving speedtest.net server list... Retrieving information for the selected server... Hosted by kdatacenter.com (Seoul) [1.72 km]: 126.767 ms Testing download speed................................................................................ Download: 327.15 Mbit/s Testing upload speed...................................................................................................... Upload: 286.66 Mbit/s
E2.1.Micro
ubuntu@joseph.ml:~$ speedtest-cli --server 6527 Retrieving speedtest.net configuration... Testing from Oracle Cloud (132.226.174.165)... Retrieving speedtest.net server list... Retrieving information for the selected server... Hosted by kdatacenter.com (Seoul) [1.72 km]: 25.31 ms Testing download speed................................................................................ Download: 47.77 Mbit/s Testing upload speed...................................................................................................... Upload: 49.24 Mbit/s
GCP e2-micro (2 vCPUs, 1 GB memory)
sysbench
ubuntu@seobi.ga:~/.ssh$ sysbench cpu --threads=2 run sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3) Running the test with following options: Number of threads: 2 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads... Threads started! CPU speed: events per second: 1434.84 General statistics: total time: 10.0006s total number of events: 14352 Latency (ms): min: 1.25 avg: 1.39 max: 1.75 95th percentile: 1.42 sum: 19993.78 Threads fairness: events (avg/stddev): 7176.0000/0.00 execution time (avg/stddev): 9.9969/0.00 ubuntu@seobi.ga:~/.ssh$ sysbench memory --threads=2 run sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3) Running the test with following options: Number of threads: 2 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: 60038571 (6002657.69 per second) 58631.42 MiB transferred (5861.97 MiB/sec) General statistics: total time: 10.0001s total number of events: 60038571 Latency (ms): min: 0.00 avg: 0.00 max: 0.53 95th percentile: 0.00 sum: 11801.23 Threads fairness: events (avg/stddev): 30019285.5000/13537.50 execution time (avg/stddev): 5.9006/0.00 ubuntu@seobi.ga:~/.ssh$ sysbench fileio --file-test-mode=seqwr --threads=2 run sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3) Running the test with following options: Number of threads: 2 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: 11316.04 fsyncs/s: 14504.31 Throughput: read, MiB/s: 0.00 written, MiB/s: 176.81 General statistics: total time: 10.0106s total number of events: 258266 Latency (ms): min: 0.01 avg: 0.08 max: 7.62 95th percentile: 0.12 sum: 19870.63 Threads fairness: events (avg/stddev): 129133.0000/1827.00 execution time (avg/stddev): 9.9353/0.00
geekbench
speedtest
yongsub_yun@instance-1:~/tmp$ speedtest-cli --server 35180 Retrieving speedtest.net configuration... Testing from Google Cloud (35.233.201.214)... Retrieving speedtest.net server list... Retrieving information for the selected server... Hosted by Ziply Fiber (Seattle, WA) [239.62 km]: 7.884 ms Testing download speed................................................................................ Download: 2262.39 Mbit/s Testing upload speed...................................................................................................... Upload: 869.60 Mbit/s