4 203
modifications
(4 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 17 : | Ligne 17 : | ||
echo | echo | ||
echo "Cipher: $cipher (try $i)" | echo "Cipher: $cipher (try $i)" | ||
dd if=/dev/zero bs=4M count=1024 2>/root/tmp/dd.txt | dd if=/dev/zero bs=4M count=1024 2>/root/tmp/dd.txt | ssh -c "$cipher" root@localhost 'cat > /dev/null' | ||
grep -v records /root/tmp/dd.txt | grep -v records /root/tmp/dd.txt | ||
done | done | ||
Ligne 396 : | Ligne 396 : | ||
===OpenSSL test=== | ===OpenSSL test=== | ||
<pre> | <pre> | ||
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes | |||
aes-192 cbc 32831.02k 36125.12k 37307.56k 102139.90k 103784.45k 103814.49k | |||
aes-256 cbc 28337.23k 30905.90k 31907.07k 88629.25k 89896.28k 89904.47k | |||
aes-128-cbc 165832.87k 294185.51k 377222.40k 405649.75k 414381.40k 415034.03k | |||
aes-128 ige 39549.16k 42292.86k 43196.42k 43428.52k 43488.60k 43483.14k | |||
aes-192 ige 33583.55k 35533.42k 36175.36k 36337.66k 36383.40k 36372.48k | |||
aes-256 ige 28894.01k 30384.53k 31049.98k 31220.74k 31268.86k 31255.21k | |||
</pre> | </pre> | ||
===SSH test=== | ===SSH test=== | ||
<pre> | <pre> | ||
Cipher: aes128-ctr (try 1) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 28.8931 s, 149 MB/s | |||
Cipher: aes128-ctr (try 2) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 30.2699 s, 142 MB/s | |||
Cipher: aes128-ctr (try 3) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 29.9636 s, 143 MB/s | |||
Cipher: aes192-ctr (try 1) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 30.5623 s, 141 MB/s | |||
Cipher: aes192-ctr (try 2) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 30.3809 s, 141 MB/s | |||
Cipher: aes192-ctr (try 3) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 30.1557 s, 142 MB/s | |||
Cipher: aes256-ctr (try 1) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 31.5447 s, 136 MB/s | |||
Cipher: aes256-ctr (try 2) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 32.272 s, 133 MB/s | |||
Cipher: aes256-ctr (try 3) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 31.6289 s, 136 MB/s | |||
Cipher: aes128-gcm@openssh.com (try 1) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 30.4965 s, 141 MB/s | |||
Cipher: aes128-gcm@openssh.com (try 2) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 31.7005 s, 135 MB/s | |||
Cipher: aes128-gcm@openssh.com (try 3) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 30.7805 s, 140 MB/s | |||
Cipher: aes256-gcm@openssh.com (try 1) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 33.5304 s, 128 MB/s | |||
Cipher: aes256-gcm@openssh.com (try 2) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 34.7211 s, 124 MB/s | |||
Cipher: aes256-gcm@openssh.com (try 3) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 33.6132 s, 128 MB/s | |||
Cipher: chacha20-poly1305@openssh.com (try 1) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 57.0127 s, 75.3 MB/s | |||
Cipher: chacha20-poly1305@openssh.com (try 2) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 54.7761 s, 78.4 MB/s | |||
Cipher: chacha20-poly1305@openssh.com (try 3) | |||
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 55.0627 s, 78.0 MB/s | |||
</pre> | </pre> | ||
===Write test=== | ===Write test=== | ||
<pre> | <pre> | ||
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.43542 s, 242 MB/s | |||
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.43822 s, 242 MB/s | |||
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.43809 s, 242 MB/s | |||
</pre> | </pre> | ||
===Read test=== | ===Read test=== | ||
<pre> | <pre> | ||
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.99329 s, 269 MB/s | |||
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.02022 s, 267 MB/s | |||
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.99789 s, 269 MB/s | |||
</pre> | </pre> |