Scaleway performance test

De Linux Server Wiki
Révision datée du 27 octobre 2018 à 18:08 par Pfoo (discussion | contributions) (Page créée avec « =Protocole= Performance crypto ssh : <pre> ssh-keygen -t rsa cat ~/.ssh/id_rsa.pub >> .ssh/authorized_keys ciphers="aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

Protocole

Performance crypto ssh :

ssh-keygen -t rsa
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

Test

Baremetal C1