Scaleway performance test

De Linux Server Wiki
Aller à la navigation Aller à la recherche

Protocole

  • 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

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