Scaleway performance test
Aller à la navigation
Aller à la recherche
Protocole
- Crypto openssl
openssl speed -evp aes-128-cbc aes-192-cbc aes-256-cbc aes-128-ige aes-192-ige aes-256-ige
- Performance crypto ssh :
ssh-keygen -t rsa -f ~/.ssh/id_rsa -P "" cat ~/.ssh/id_rsa.pub >> .ssh/authorized_keys mkdir /root/tmp/ ciphers="aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com aes256-gcm@openssh.com chacha20-poly1305@openssh.com" for cipher in $ciphers ; do for i in 1 2 3 ; do echo echo "Cipher: $cipher (try $i)" dd if=/dev/zero bs=4M count=1024 2>/root/tmp/dd.txt | pv --size 4G | time -p ssh -c "$cipher" root@localhost 'cat > /dev/null' grep -v records /root/tmp/dd.txt done done
- Performance disque écriture
for i in 1 2 3 ; do dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc done
- Performance disque lecture
for i in 1 2 3 ; do echo 3 > /proc/sys/vm/drop_caches dd if=tempfile of=/dev/null bs=1M count=1024 done
Test
Baremetal C1
- 4 cœurs ARMv7 Marvell Armada 370/XP
- 2GB ram
- 50GB SSD
model name : ARMv7 Processor rev 2 (v7l) BogoMIPS : 50.00 Features : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt vfpd32 lpae CPU implementer : 0x56 CPU architecture: 7 CPU variant : 0x2 CPU part : 0x584 CPU revision : 2 Hardware : Marvell Armada 370/XP (Device Tree) Revision : 0000 Serial : 0000000000000000
OpenSSL test
note : test without EVP because it had lower performances.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes aes-128 cbc 33737.27k 45266.01k 49409.96k 50875.33k 51210.92k 51232.77k aes-192 cbc 29143.16k 37344.96k 40286.29k 41099.61k 41309.53k 41342.29k aes-256 cbc 27254.09k 34143.83k 36726.07k 37320.70k 37543.94k 37546.67k aes-128 ige 30981.34k 40574.08k 44289.71k 45587.80k 46000.81k 43679.74k aes-192 ige 26999.80k 34315.37k 36960.24k 37598.89k 37781.50k 36219.56k aes-256 ige 25366.83k 31607.36k 33883.48k 34488.66k 34649.43k 33292.29k
SSH test
Cipher: aes128-ctr (try 1) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 224.998 s, 19.1 MB/s Cipher: aes128-ctr (try 2) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 227.144 s, 18.9 MB/s Cipher: aes128-ctr (try 3) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 220.214 s, 19.5 MB/s Cipher: aes192-ctr (try 1) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 229.686 s, 18.7 MB/s Cipher: aes192-ctr (try 2) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 228.576 s, 18.8 MB/s Cipher: aes192-ctr (try 3) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 227.807 s, 18.9 MB/s Cipher: aes256-ctr (try 1) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 251.154 s, 17.1 MB/s Cipher: aes256-ctr (try 2) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 287.367 s, 14.9 MB/s Cipher: aes256-ctr (try 3) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 241.566 s, 17.8 MB/s Cipher: aes128-gcm@openssh.com (try 1) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 287.367 s, 14.9 MB/s Cipher: aes128-gcm@openssh.com (try 2) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 279.218 s, 15.4 MB/s Cipher: aes128-gcm@openssh.com (try 3) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 284.692 s, 15.1 MB/s Cipher: aes256-gcm@openssh.com (try 1) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 306.841 s, 14.0 MB/s Cipher: aes256-gcm@openssh.com (try 2) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 305.117 s, 14.1 MB/s Cipher: aes256-gcm@openssh.com (try 3) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 305.989 s, 14.0 MB/s Cipher: chacha20-poly1305@openssh.com (try 1) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 272.141 s, 15.8 MB/s Cipher: chacha20-poly1305@openssh.com (try 2) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 271.472 s, 15.8 MB/s Cipher: chacha20-poly1305@openssh.com (try 3) 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 268.735 s, 16.0 MB/s
Write test
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 13.1718 s, 81.5 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 10.7417 s, 100 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 12.6527 s, 84.9 MB/s
Read test
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 17.582 s, 61.1 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 15.7057 s, 68.4 MB/s 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 15.4215 s, 69.6 MB/s
ARM64-4GB
- 6 cœurs ARMv8
- 4GB Ram
- 2x50GB SSD
BogoMIPS : 200.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics CPU implementer : 0x43 CPU architecture: 8 CPU variant : 0x1 CPU part : 0x0a1 CPU revision : 1
OpenSSL test
note : test without EVP because it had lower performances.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes aes-128 cbc 63524.50k 69686.02k 72178.52k 72667.82k 73221.14k 72717.65k aes-192 cbc 56136.92k 61069.80k 62962.69k 63642.46k 63386.97k 63198.55k aes-256 cbc 50379.59k 54139.63k 55535.70k 55731.20k 56046.93k 55874.90k aes-128 ige 57440.79k 66438.02k 69740.37k 70484.65k 70344.70k 68911.10k aes-192 ige 51846.97k 58841.13k 61102.08k 61682.35k 61770.41k 60456.96k aes-256 ige 46906.93k 52383.53k 54252.12k 54722.56k 54818.13k 53717.67k