LoginSignup
3
4

More than 5 years have passed since last update.

scalewayとaws ec2でunixbenchを比較してみた

Posted at

scalewayとは

scalewayというクラウドサービスがある。大きな特徴は「ARM core、ベアメタル」であるらしい。

scalewayの詳細はこちらにある。

特徴として、ベアメタルで、

  • 4 Dedicated ARM Cores
  • 2GB Memory

が利用可能だ。ラスベリーパイとのunix benchの比較はこちらにある。

1ヶ月使い放題で5ドル程度なので、AWSと比較してどの程度の性能か調べてみた。
ただ、ヨーロッパのフランスにしかデータセンターは無いようで、日本からだと数百ms程度遅延がある(昔のアジアリージョンが無かった時のEC2みたい)。

unixbenchでscaleway-c1,aws-ec2-4m.large,vmware i7を比較してみた。

scalewayとec2 m4.large 手元のvmware i7でどの程度性能が違うのか比較してみた。

unixbenchの使い方は下記を参照。

scaleway c1をマルチコアでunixbenchが取れなかったので、明示的にコア数をしていて、./Run -c4で実行した。

arm 1core arm 4core ec2 m4.large 1core ec2 m4.large 2core vmware i7 2cores
Dhrystone 2 using register variables 313.6 1254.1 2681.6 3188.2 6271.7
Double-Precision Whetstone 100.5 403 733.7 1246.8 1664.2
Execl Throughput 215.7 701 925.7 1495.4 850.1
File Copy 1024 bufsize 2000 maxblocks 271.4 428.1 2600.8 3050.5 2554.9
File Copy 256 bufsize 500 maxblocks 181.4 290 1655.5 1914.9 1675
File Copy 4096 bufsize 8000 maxblocks 488.6 892.8 5542.9 6391.8 4677.7
Pipe Throughput 157.1 534.5 1676.5 1968.7 1391.9
Pipe-based Context Switching 88.1 472.6 112.1 965.2 912.6
Process Creation 217 668.8 837.1 1404.3 1024.4
Shell Scripts (1 concurrent) 473.1 1166.7 2117.7 2433.2 2195.7
Shell Scripts (8 concurrent) 1007.7 1064.9 2382.3 2490.2 2621.5
System Call Overhead 444.7 1597.9 2287.6 3559.9 789.8
System Benchmarks Index Score 261.9 697.1 1439.2 2198.9 1785.6

比較結果をグラフ化した。
vmwareの環境はSSDではなくふつうのHDDなので、演算性能は高いが、ファイル操作でもたついて、性能が伸びなかった。

比較結果グラフ

sclaewayは、1coreだと非力だが、4core束ねると、m4の半分ぐらいになる。マルチコアで実力を発揮できるのかも知れない。

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4