1255 文字
6 分
IDC Frontierのクラウドを使ってみた
概要
- IDC Frontierが新たなPaaSを開始しました。
- とりあえず、インスタンスを2台立ち上げて、LBで振ってあります。数日間立ち上げておくので適当にテストしてもらってかまいません。
http://210.140.168.217/
Nginxベンチマーク
Ubuntuを一番安いlight.S1で立ち上げて、nginxにリモートからabしてみました。

[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 requestsCompleted 200 requestsCompleted 300 requestsCompleted 400 requestsCompleted 500 requestsCompleted 600 requestsCompleted 700 requestsCompleted 800 requestsCompleted 900 requestsCompleted 1000 requestsFinished 1000 requests
Server Software: nginx/1.4.6Server Hostname: 210.140.168.217Server Port: 80
Document Path: /Document Length: 612 bytes
Concurrency Level: 40Time taken for tests: 2.528 secondsComplete requests: 1000Failed requests: 0Write errors: 0Total transferred: 853000 bytesHTML transferred: 612000 bytesRequests 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 maxConnect: 20 60 172.1 33 1189Processing: 19 40 44.6 34 379Waiting: 19 40 44.6 34 379Total: 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)
今度は、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 requestsCompleted 200 requestsCompleted 300 requestsCompleted 400 requestsCompleted 500 requestsCompleted 600 requestsCompleted 700 requestsCompleted 800 requestsCompleted 900 requestsCompleted 1000 requestsFinished 1000 requests
Server Software: nginx/1.4.6Server Hostname: 210.140.168.217Server Port: 80
Document Path: /Document Length: 612 bytes
Concurrency Level: 40Time taken for tests: 1.653 secondsComplete requests: 1000Failed requests: 545 (Connect: 0, Receive: 0, Length: 545, Exceptions: 0)Write errors: 0Total transferred: 851910 bytesHTML transferred: 615815 bytesRequests 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 maxConnect: 15 35 6.7 36 52Processing: 17 30 5.8 28 54Waiting: 17 30 5.8 28 54Total: 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# ./Runmake allmake[1]: Entering directory `/root/UnixBench'Checking distribution of files./pgms exists./src exists./testdir exists./tmp exists./results existsmake[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 101 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 101 x Execl Throughput 1 2 31 x File Copy 1024 bufsize 2000 maxblocks 1 2 31 x File Copy 256 bufsize 500 maxblocks 1 2 31 x File Copy 4096 bufsize 8000 maxblocks 1 2 31 x Pipe Throughput 1 2 3 4 5 6 7 8 9 101 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 101 x Process Creation 1 2 31 x System Call Overhead 1 2 3 4 5 6 7 8 9 101 x Shell Scripts (1 concurrent) 1 2 31 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:071 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 INDEXDhrystone 2 using register variables 116700.0 11495081.0 985.0Double-Precision Whetstone 55.0 1152.3 209.5Execl Throughput 43.0 859.0 199.8File Copy 1024 bufsize 2000 maxblocks 3960.0 190024.7 479.9File Copy 256 bufsize 500 maxblocks 1655.0 51179.9 309.2File Copy 4096 bufsize 8000 maxblocks 5800.0 607544.0 1047.5Pipe Throughput 12440.0 319353.0 256.7Pipe-based Context Switching 4000.0 79657.9 199.1Process Creation 126.0 3534.8 280.5Shell Scripts (1 concurrent) 42.4 1887.4 445.1Shell Scripts (8 concurrent) 6.0 252.3 420.5System Call Overhead 15000.0 222390.2 148.3 ========System Benchmarks Index Score 341.9注意
外からSSHするためにはfirwallとportfowardを設定する必要が有ります。
インスタンスは、デフォルトでVPC内に作られる様子。

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


まとめ
- 1時間1円・月額500円~ は、安いっすね
- CloudStackAPIのUserAPI(Public)をベースとしたAPIも使えるので、連携出来そう。
- Core OSのインスタンスも用意されています。
IDC Frontierのクラウドを使ってみた
https://blog.teraren.com/posts/idc-frontier-cloud/