Scaleway performance test

De Linux Server Wiki
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
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 coeurs 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