IDC Frontierのクラウドを使ってみた

概要

Nginxベンチマーク

Ubuntuを一番安いlight.S1で立ち上げて、nginxにリモートからabしてみました。

IDCFクラウド
[yuki_matsukura@matsukura ~]% ab -c 40 -n 1000 http://210.140.168.217/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 210.140.168.217 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        nginx/1.4.6
Server Hostname:        210.140.168.217
Server Port:            80

Document Path:          /
Document Length:        612 bytes

Concurrency Level:      40
Time taken for tests:   2.528 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      853000 bytes
HTML transferred:       612000 bytes
Requests per second:    395.64 [#/sec] (mean)
Time per request:       101.103 [ms] (mean)
Time per request:       2.528 [ms] (mean, across all concurrent requests)
Transfer rate:          329.57 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       20   60 172.1     33    1189
Processing:    19   40  44.6     34     379
Waiting:       19   40  44.6     34     379
Total:         41  100 176.5     68    1221

Percentage of the requests served within a certain time (ms)
  50%     68
  66%     71
  75%     74
  80%     76
  90%     88
  95%    106
  98%   1196
  99%   1214
 100%   1221 (longest request)
IDCFクラウド

今度は、Cent OSも立ち上げて、ロードバランサで2台に振り分けてみました。
だいたい1.5倍になってます。

[yuki_matsukura@matsukura ~]% ab -c 40 -n 1000 http://210.140.168.217/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 210.140.168.217 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        nginx/1.4.6
Server Hostname:        210.140.168.217
Server Port:            80

Document Path:          /
Document Length:        612 bytes

Concurrency Level:      40
Time taken for tests:   1.653 seconds
Complete requests:      1000
Failed requests:        545
   (Connect: 0, Receive: 0, Length: 545, Exceptions: 0)
Write errors:           0
Total transferred:      851910 bytes
HTML transferred:       615815 bytes
Requests per second:    605.09 [#/sec] (mean)
Time per request:       66.106 [ms] (mean)
Time per request:       1.653 [ms] (mean, across all concurrent requests)
Transfer rate:          503.40 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       15   35   6.7     36      52
Processing:    17   30   5.8     28      54
Waiting:       17   30   5.8     28      54
Total:         32   65   9.5     64      90

Percentage of the requests served within a certain time (ms)
  50%     64
  66%     66
  75%     69
  80%     70
  90%     81
  95%     84
  98%     86
  99%     87
 100%     90 (longest request)

今度は、unixbenchを走らせてみました。
まぁ、スコアは低いですね。一番安いインスタンスなので。

root@ubuntu:~/UnixBench# ./Run
make all
make[1]: Entering directory `/root/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory `/root/UnixBench'
sh: 1: 3dinfo: not found

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   January 13, 2011                   johantheghost at yahoo period com


1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: ubuntu.cs9bidcfcloud.internal: GNU/Linux
   OS: GNU/Linux -- 3.13.0-33-generic -- #58-Ubuntu SMP Tue Jul 29 16:45:05 UTC 2014
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz (5600.0 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   13:24:59 up 14 min,  1 user,  load average: 0.45, 0.32, 0.16; runlevel 2

------------------------------------------------------------------------
Benchmark Run: Thu Oct 16 2014 13:24:59 - 13:54:07
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       11495081.0 lps   (10.1 s, 7 samples)
Double-Precision Whetstone                     1152.3 MWIPS (12.5 s, 7 samples)
Execl Throughput                                859.0 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        190024.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           51179.9 KBps  (30.1 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        607544.0 KBps  (30.1 s, 2 samples)
Pipe Throughput                              319353.0 lps   (10.1 s, 7 samples)
Pipe-based Context Switching                  79657.9 lps   (10.0 s, 7 samples)
Process Creation                               3534.8 lps   (30.1 s, 2 samples)
Shell Scripts (1 concurrent)                   1887.4 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                    252.3 lpm   (60.2 s, 2 samples)
System Call Overhead                         222390.2 lps   (10.1 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   11495081.0    985.0
Double-Precision Whetstone                       55.0       1152.3    209.5
Execl Throughput                                 43.0        859.0    199.8
File Copy 1024 bufsize 2000 maxblocks          3960.0     190024.7    479.9
File Copy 256 bufsize 500 maxblocks            1655.0      51179.9    309.2
File Copy 4096 bufsize 8000 maxblocks          5800.0     607544.0   1047.5
Pipe Throughput                               12440.0     319353.0    256.7
Pipe-based Context Switching                   4000.0      79657.9    199.1
Process Creation                                126.0       3534.8    280.5
Shell Scripts (1 concurrent)                     42.4       1887.4    445.1
Shell Scripts (8 concurrent)                      6.0        252.3    420.5
System Call Overhead                          15000.0     222390.2    148.3
                                                                   ========
System Benchmarks Index Score                                         341.9

注意

外からSSHするためにはfirwallとportfowardを設定する必要が有ります。
インスタンスは、デフォルトでVPC内に作られる様子。

IDCFクラウド

Mackerel連携

インスタンスにエージェントを入れて、Mackerel連携してみました。

web_·_IDC-Frontier_and_1__zsh
IDC-Frontier’s_Dashboard_·_IDC-Frontier_and_1__root_ubuntu_____ssh_

まとめ

  • 1時間1円・月額500円~ は、安いっすね
  • CloudStackAPIのUserAPI(Public)をベースとしたAPIも使えるので、連携出来そう。
  • Core OSのインスタンスも用意されています。

matsubokkuri

Please feel free to contact me via e-mail, twitter and facebook!

あわせて読みたい

コメントを残す