2016年5月12日木曜日

[mcpe レンタルサーバー] pocketmine-mpの代行運営やってます

ブログに書くことなかったので紹介。

サーバー運営の資金捻出のために、24時間鯖代行運営やってます。

pmmpやnukkitで貸せます(bukkitとかでも。。。)


詳細はこちら

mcpe.xyz/daikou

2016年5月4日水曜日

人柱海外VPS メモリ4G! 激安月7,99ユーロ VPSに契約してみた [omgserv]

http://www.omgserv.com/en/hosting/vps/

価格の安さ、性能のよさそうさはいいと思います。


今(記事制作時)は使っています。


レビュー
・安い
・ddos対策済み
・サポートは使ったことなし
・コンパネは使いやすい
・おそらくopenvz
・cpuの性能が悪く、おそらくxeonを使っていたとしても、制限をかけているのかなあと。
・unixbenchはあまりよくない

cpu

root@hani:~#  cat /proc/cpuinfo

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 63
model name : Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz
stepping : 2
microcode : 42
cpu MHz : 2300.155
cache size : 25600 KB
physical id : 0
siblings : 20
core id : 1
cpu cores : 10
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 15
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf cpuid_faulting pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bogomips : 4600.31
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:


メモリ
root@hani:~# free -m
             total       used       free     shared    buffers     cached
Mem:          4096       3102        993         11          0       2941
-/+ buffers/cache:        161       3934
Swap:            0          0          0

書き込み速度
root@hani:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 1.26954 s, 846 MB/s


linode東京
root@hani:~# wget -O /dev/null http://speedtest.tokyo.linode.com/100MB-tokyo.bin
converted 'http://speedtest.tokyo.linode.com/100MB-tokyo.bin' (ANSI_X3.4-1968) -> 'http://speedtest.tokyo.linode.com/100MB-tokyo.bin' (UTF-8)
--2016-05-04 10:17:50--  http://speedtest.tokyo.linode.com/100MB-tokyo.bin
Resolving speedtest.tokyo.linode.com (speedtest.tokyo.linode.com)... 106.187.96.148, 2400:8900::4b
Connecting to speedtest.tokyo.linode.com (speedtest.tokyo.linode.com)|106.187.96.148|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: '/dev/null'

/dev/null           100%[=====================>] 100.00M  11.0MB/s   in 12s  

2016-05-04 10:18:03 (8.46 MB/s) - '/dev/null' saved [104857600/104857600]



linode ダラス

root@hani:~#  wget -O /dev/null http://speedtest.dallas.linode.com/100MB-dallas.bin
converted 'http://speedtest.dallas.linode.com/100MB-dallas.bin' (ANSI_X3.4-1968) -> 'http://speedtest.dallas.linode.com/100MB-dallas.bin' (UTF-8)
--2016-05-04 10:18:15--  http://speedtest.dallas.linode.com/100MB-dallas.bin
Resolving speedtest.dallas.linode.com (speedtest.dallas.linode.com)... 50.116.25.154, 2600:3c00::4b
Connecting to speedtest.dallas.linode.com (speedtest.dallas.linode.com)|50.116.25.154|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: '/dev/null'

/dev/null           100%[=====================>] 100.00M  17.5MB/s   in 7.1s

2016-05-04 10:18:23 (14.1 MB/s) - '/dev/null' saved [104857600/104857600]


unixbenchの結果

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

   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

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

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

2 x Execl Throughput  1 2 3

2 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

2 x File Copy 256 bufsize 500 maxblocks  1 2 3

2 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

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

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

2 x Process Creation  1 2 3

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

2 x Shell Scripts (1 concurrent)  1 2 3

2 x Shell Scripts (8 concurrent)  1 2 3

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

   System: hani: GNU/Linux
   OS: GNU/Linux -- 2.6.32-openvz-042stab113.21-amd64 -- #1 SMP Wed Mar 23 11:06:59 MSK 2016
   Machine: x86_64 (unknown)
   Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
   CPU 0: Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz (4600.3 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz (4600.3 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   10:21:41 up 33 min,  1 user,  load average: 0.36, 0.18, 0.16; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Wed May 04 2016 10:21:41 - 10:49:55
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       28512583.9 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3700.3 MWIPS (9.7 s, 7 samples)
Execl Throughput                               3189.0 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        580328.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          155369.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1644980.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1244449.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 198237.7 lps   (10.0 s, 7 samples)
Process Creation                               8192.2 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   7387.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1562.8 lpm   (60.0 s, 2 samples)
System Call Overhead                        2711917.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   28512583.9   2443.2
Double-Precision Whetstone                       55.0       3700.3    672.8
Execl Throughput                                 43.0       3189.0    741.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     580328.8   1465.5
File Copy 256 bufsize 500 maxblocks            1655.0     155369.8    938.8
File Copy 4096 bufsize 8000 maxblocks          5800.0    1644980.8   2836.2
Pipe Throughput                               12440.0    1244449.4   1000.4
Pipe-based Context Switching                   4000.0     198237.7    495.6
Process Creation                                126.0       8192.2    650.2
Shell Scripts (1 concurrent)                     42.4       7387.6   1742.4
Shell Scripts (8 concurrent)                      6.0       1562.8   2604.7
System Call Overhead                          15000.0    2711917.0   1807.9
                                                                   ========
System Benchmarks Index Score                                        1234.9

------------------------------------------------------------------------
Benchmark Run: Wed May 04 2016 10:49:55 - 11:18:14
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       56359129.7 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7431.1 MWIPS (9.8 s, 7 samples)
Execl Throughput                               7224.1 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        618878.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          169489.1 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1980879.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2472886.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 427875.2 lps   (10.0 s, 7 samples)
Process Creation                              14440.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  12791.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1752.6 lpm   (60.0 s, 2 samples)
System Call Overhead                        3563554.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   56359129.7   4829.4
Double-Precision Whetstone                       55.0       7431.1   1351.1
Execl Throughput                                 43.0       7224.1   1680.0
File Copy 1024 bufsize 2000 maxblocks          3960.0     618878.3   1562.8
File Copy 256 bufsize 500 maxblocks            1655.0     169489.1   1024.1
File Copy 4096 bufsize 8000 maxblocks          5800.0    1980879.1   3415.3
Pipe Throughput                               12440.0    2472886.2   1987.9
Pipe-based Context Switching                   4000.0     427875.2   1069.7
Process Creation                                126.0      14440.3   1146.1
Shell Scripts (1 concurrent)                     42.4      12791.7   3016.9
Shell Scripts (8 concurrent)                      6.0       1752.6   2921.0
System Call Overhead                          15000.0    3563554.8   2375.7
                                                                   ========
System Benchmarks Index Score                                        1951.8

root@hani:~/UnixBench#



cloudflareのUnder DDoS Modeのサイトからファイルを拾ってくる in Python

こんにちは、haniokasaiです。 https://forum.pmmp.jp  が廃止になるため、慌ててデータを落としたくなりました。 https://github.com/haniokasai/XenDownloder こちら。 import cfsc...