Amazon EC2 A1インスタンスの威力、如何に
Amazon EC2 A1インスタンスの威力、如何に:
EC2 A1を早速お試し
tl;dr
- 手っ取り早く、OpenSSL使いま
T1.midium
$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 63 model name : Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz stepping : 2 microcode : 0x3c cpu MHz : 2400.030 cache size : 30720 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt bogomips : 4800.12 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: $ openssl speed rsa Doing 512 bit private rsa's for 10s: 167091 512 bit private RSA's in 10.00s Doing 512 bit public rsa's for 10s: 2316063 512 bit public RSA's in 9.99s Doing 1024 bit private rsa's for 10s: 58939 1024 bit private RSA's in 10.00s Doing 1024 bit public rsa's for 10s: 913953 1024 bit public RSA's in 10.00s Doing 2048 bit private rsa's for 10s: 12185 2048 bit private RSA's in 10.00s Doing 2048 bit public rsa's for 10s: 286015 2048 bit public RSA's in 9.99s Doing 4096 bit private rsa's for 10s: 1193 4096 bit private RSA's in 10.00s Doing 4096 bit public rsa's for 10s: 77768 4096 bit public RSA's in 10.00s OpenSSL 1.0.2k-fips 26 Jan 2017 built on: reproducible build, date unspecified options:bn(64,64) md2(int) rc4(16x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx) compiler: gcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wa,--noexecstack -DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM sign verify sign/s verify/s rsa 512 bits 0.000060s 0.000004s 16709.1 231838.1 rsa 1024 bits 0.000170s 0.000011s 5893.9 91395.3 rsa 2048 bits 0.000821s 0.000035s 1218.5 28630.1 rsa 4096 bits 0.008382s 0.000129s 119.3 7776.8
A1.midium
package binary
$ cat /proc/cpuinfo processor : 0 BogoMIPS : 166.66 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3 $ openssl speed rsa Doing 512 bit private rsa's for 10s: 59768 512 bit private RSA's in 10.00s Doing 512 bit public rsa's for 10s: 917731 512 bit public RSA's in 10.00s Doing 1024 bit private rsa's for 10s: 13884 1024 bit private RSA's in 10.00s Doing 1024 bit public rsa's for 10s: 308366 1024 bit public RSA's in 10.00s Doing 2048 bit private rsa's for 10s: 2265 2048 bit private RSA's in 9.97s Doing 2048 bit public rsa's for 10s: 93029 2048 bit public RSA's in 10.00s Doing 4096 bit private rsa's for 10s: 355 4096 bit private RSA's in 10.00s Doing 4096 bit public rsa's for 10s: 26260 4096 bit public RSA's in 10.00s OpenSSL 1.0.2k-fips 26 Jan 2017 built on: reproducible build, date unspecified options:bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(ptr) compiler: gcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -DL_ENDIAN -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wa,--noexecstack -DPURIFY -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM sign verify sign/s verify/s rsa 512 bits 0.000167s 0.000011s 5976.8 91773.1 rsa 1024 bits 0.000720s 0.000032s 1388.4 30836.6 rsa 2048 bits 0.004402s 0.000107s 227.2 9302.9 rsa 4096 bits 0.028169s 0.000381s 35.5 2626.0
まとめ
- 参考程度に
EC2 US-EAST1 |
BogoMIPS | sign/s , verify/s (rsa 2048bits) |
時間単価 US-EAST1 |
---|---|---|---|
A1.midium | 166.66 | 227.2 / 9302.9 | 0.0255USD (EBS) |
T2.midium | 4800.12 | 1218.5 / 28630.1 | 0.0464USD (EBS |
- AWSの言う「ワークロードあたり45%の低コスト」 とはどのコストだろう。”お金”で見ると、そうはなって無いか、な ��
コメント
コメントを投稿