[Sammelthread] Cryptsetup Benchmark (Linux)

Edit: Irgendwie kommt mit Xubuntu 14.04.01 LTS teilweise Stuss bei raus. 390 GiB/s sind wohl doch etwas übertrieben...
Edit 2: Wohl doch nicht so falsch. Hab es jetzt mit der Ubuntu-Version aus Post 1 probiert und die Werte sind ähnlich.

Ja, sind übertrieben ;) Die Decryption-Werte liefern einen realeren Ansatz.
Leider hat Ubuntu entgegen meiner Annahme nur V1.6.1 von cryptsetup im Kasten, die diesen Fehler hat. Offensichtlich nur bei AMD-CPUs...
 
Wenn Du diese Anzeige nicht sehen willst, registriere Dich und/oder logge Dich ein.
HP ProLiant Microserver G8, Debian 8 (Proxmox 4), cryptsetup 1.6.6

Celeron G1610T

Code:
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1       712347 iterations per second
PBKDF2-sha256     474898 iterations per second
PBKDF2-sha512     326049 iterations per second
PBKDF2-ripemd160  428339 iterations per second
PBKDF2-whirlpool  153121 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   136.4 MiB/s   153.7 MiB/s
 serpent-cbc   128b    52.7 MiB/s   185.2 MiB/s
 twofish-cbc   128b   116.8 MiB/s   165.1 MiB/s
     aes-cbc   256b   106.0 MiB/s   114.8 MiB/s
 serpent-cbc   256b    56.5 MiB/s   177.6 MiB/s
 twofish-cbc   256b   120.9 MiB/s   164.3 MiB/s
     aes-xts   256b   157.1 MiB/s   153.6 MiB/s
 serpent-xts   256b   180.8 MiB/s   166.0 MiB/s
 twofish-xts   256b   151.1 MiB/s   150.5 MiB/s
     aes-xts   512b   117.1 MiB/s   114.4 MiB/s
 serpent-xts   512b   180.9 MiB/s   171.8 MiB/s
 twofish-xts   512b   151.0 MiB/s   150.7 MiB/s

Xeon E3-1220L

Code:
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1       936228 iterations per second
PBKDF2-sha256     504123 iterations per second
PBKDF2-sha512     458293 iterations per second
PBKDF2-ripemd160  496484 iterations per second
PBKDF2-whirlpool  210051 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   560.8 MiB/s  1918.0 MiB/s
 serpent-cbc   128b    70.6 MiB/s   282.2 MiB/s
 twofish-cbc   128b   153.4 MiB/s   296.6 MiB/s
     aes-cbc   256b   415.5 MiB/s  1463.0 MiB/s
 serpent-cbc   256b    71.5 MiB/s   283.2 MiB/s
 twofish-cbc   256b   162.7 MiB/s   295.5 MiB/s
     aes-xts   256b  1645.7 MiB/s  1651.5 MiB/s
 serpent-xts   256b   269.3 MiB/s   273.0 MiB/s
 twofish-xts   256b   282.1 MiB/s   281.8 MiB/s
     aes-xts   512b  1292.8 MiB/s  1310.9 MiB/s
 serpent-xts   512b   291.1 MiB/s   272.7 MiB/s
 twofish-xts   512b   282.4 MiB/s   266.0 MiB/s

Xeon E3-1220L v2

Code:
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1      1087734 iterations per second
PBKDF2-sha256     697191 iterations per second
PBKDF2-sha512     489074 iterations per second
PBKDF2-ripemd160  658653 iterations per second
PBKDF2-whirlpool  232397 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   588.0 MiB/s  2106.9 MiB/s
 serpent-cbc   128b    82.2 MiB/s   291.2 MiB/s
 twofish-cbc   128b   180.9 MiB/s   345.4 MiB/s
     aes-cbc   256b   434.4 MiB/s  1524.2 MiB/s
 serpent-cbc   256b    84.8 MiB/s   290.7 MiB/s
 twofish-cbc   256b   182.2 MiB/s   345.9 MiB/s
     aes-xts   256b  1752.9 MiB/s  1744.4 MiB/s
 serpent-xts   256b   303.8 MiB/s   287.4 MiB/s
 twofish-xts   256b   338.2 MiB/s   324.7 MiB/s
     aes-xts   512b  1335.7 MiB/s  1373.6 MiB/s
 serpent-xts   512b   304.4 MiB/s   285.9 MiB/s
 twofish-xts   512b   338.0 MiB/s   340.3 MiB/s
 
Zuletzt bearbeitet:
Code:
PBKDF2-sha1      1260307 iterations per second
PBKDF2-sha256     851116 iterations per second
PBKDF2-sha512     648871 iterations per second
PBKDF2-ripemd160  753287 iterations per second
PBKDF2-whirlpool  276523 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   705,0 MiB/s  3014,0 MiB/s
 serpent-cbc   128b    93,0 MiB/s   598,0 MiB/s
 twofish-cbc   128b   198,0 MiB/s   382,0 MiB/s
     aes-cbc   256b   519,0 MiB/s  2306,0 MiB/s
 serpent-cbc   256b    93,0 MiB/s   595,0 MiB/s
 twofish-cbc   256b   198,0 MiB/s   383,0 MiB/s
     aes-xts   256b  2612,0 MiB/s  2637,0 MiB/s
 serpent-xts   256b   602,0 MiB/s   581,0 MiB/s
 twofish-xts   256b   369,0 MiB/s   374,0 MiB/s
     aes-xts   512b  1988,0 MiB/s  1986,0 MiB/s
 serpent-xts   512b   598,0 MiB/s   576,0 MiB/s
 twofish-xts   512b   371,0 MiB/s   377,0 MiB/s

Ubuntu 15.04 mit i5-4670 cryptsetup 1.6.1 8gig Dual Channel 1600Mhz DDR3

und jetzt tuts richtig weh.


Code:
PBKDF2-sha1       244537 iterations per second
PBKDF2-sha256     140034 iterations per second
PBKDF2-sha512      99902 iterations per second
PBKDF2-ripemd160  203527 iterations per second
PBKDF2-whirlpool   60681 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b    56,8 MiB/s    70,9 MiB/s
 serpent-cbc   128b    35,6 MiB/s    47,6 MiB/s
 twofish-cbc   128b    80,8 MiB/s    79,0 MiB/s
     aes-cbc   256b    48,3 MiB/s    58,1 MiB/s
 serpent-cbc   256b    37,3 MiB/s    48,5 MiB/s
 twofish-cbc   256b    81,1 MiB/s    79,9 MiB/s
     aes-xts   256b    69,9 MiB/s    71,5 MiB/s
 serpent-xts   256b    46,4 MiB/s    47,0 MiB/s
 twofish-xts   256b    74,8 MiB/s    73,8 MiB/s
     aes-xts   512b    55,1 MiB/s    55,4 MiB/s
 serpent-xts   512b    46,1 MiB/s    45,1 MiB/s
 twofish-xts   512b    72,2 MiB/s    72,6 MiB/s

Ubuntu 15.04 mit AMD E-350 cryptsetup 1.6.1 8gig Dual Channel 1333Mhz DDR3

und noch mal weinen...

Code:
PBKDF2-sha1       176172 iterations per second
PBKDF2-sha256     133203 iterations per second
PBKDF2-sha512      68552 iterations per second
PBKDF2-ripemd160  148271 iterations per second
PBKDF2-whirlpool   27582 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b    31.1 MiB/s    31.9 MiB/s
 serpent-cbc   128b    27.8 MiB/s    62.3 MiB/s
 twofish-cbc   128b    28.5 MiB/s    29.8 MiB/s
     aes-cbc   256b    24.0 MiB/s    24.6 MiB/s
 serpent-cbc   256b    28.0 MiB/s    62.7 MiB/s
 twofish-cbc   256b    28.4 MiB/s    29.8 MiB/s
     aes-xts   256b    32.5 MiB/s    32.6 MiB/s
 serpent-xts   256b    57.8 MiB/s    56.5 MiB/s
 twofish-xts   256b    29.5 MiB/s    30.3 MiB/s
     aes-xts   512b    24.6 MiB/s    25.1 MiB/s
 serpent-xts   512b    56.8 MiB/s    56.8 MiB/s
 twofish-xts   512b    29.5 MiB/s    30.3 MiB/s

Ubuntu 15.04 Intel Atom 330 4GiB Dual Channel 800Mhz DDR2
 
Zuletzt bearbeitet:
- NUC5i5RYK mit Intel Core i5-5250U
- Ubuntu 14.04
- cryptsetup 1.6.1

Code:
PBKDF2-sha1       439838 iterations per second
PBKDF2-sha256     276523 iterations per second
PBKDF2-sha512     184089 iterations per second
PBKDF2-ripemd160  362077 iterations per second
PBKDF2-whirlpool  191625 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   506,0 MiB/s  1921,3 MiB/s
 serpent-cbc   128b    65,0 MiB/s   359,6 MiB/s
 twofish-cbc   128b   148,4 MiB/s   265,0 MiB/s
     aes-cbc   256b   360,0 MiB/s  1571,0 MiB/s
 serpent-cbc   256b    69,7 MiB/s   426,0 MiB/s
 twofish-cbc   256b   140,4 MiB/s   269,0 MiB/s
     aes-xts   256b  1828,0 MiB/s  1841,0 MiB/s
 serpent-xts   256b   427,0 MiB/s   424,0 MiB/s
 twofish-xts   256b   269,0 MiB/s   279,0 MiB/s
     aes-xts   512b  1398,0 MiB/s  1424,0 MiB/s
 serpent-xts   512b   429,0 MiB/s   423,0 MiB/s
 twofish-xts   512b   270,0 MiB/s   276,0 MiB/s
 
Code:
PBKDF2-sha1      1330680 iterations per second
PBKDF2-sha256     862315 iterations per second
PBKDF2-sha512     700919 iterations per second
PBKDF2-ripemd160  775573 iterations per second
PBKDF2-whirlpool  292571 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b  1099,0 MiB/s  3488,0 MiB/s
 serpent-cbc   128b    91,8 MiB/s   708,3 MiB/s
 twofish-cbc   128b   213,0 MiB/s   382,9 MiB/s
     aes-cbc   256b   830,0 MiB/s  2764,9 MiB/s
 serpent-cbc   256b    93,0 MiB/s   699,4 MiB/s
 twofish-cbc   256b   213,6 MiB/s   384,0 MiB/s
     aes-xts   256b  3465,0 MiB/s  3423,0 MiB/s
 serpent-xts   256b   684,0 MiB/s   669,0 MiB/s
 twofish-xts   256b   376,0 MiB/s   380,0 MiB/s
     aes-xts   512b  2769,0 MiB/s  2724,0 MiB/s
 serpent-xts   512b   680,0 MiB/s   669,0 MiB/s
 twofish-xts   512b   377,0 MiB/s   381,0 MiB/s

Ubuntu 15.04 mit i5 6500 DDR4-2133
 
:fresse2: Was ist den da los? AES im 7 stellingen MBit bereich?

Wenn das kein copy&paste Fehler ist muss ich mir doch mal Ubuntu anschauen. ;)


Wo bei sich natürlich die Sinnfrage stellt bei 7 stelligen Mbyte Werten... ob die Messung jetzt korrekt ist oder nicht sei mal dahin gestellt :d
 
Ich finde auch die 448 GiByte/s Encryption bei AES-XTS 256bit hammer :d

So nun nochmal was "sinnvolleres" ;D

Code:
PBKDF2-sha1      1165084 iterations per second
PBKDF2-sha256     780190 iterations per second
PBKDF2-sha512     601247 iterations per second
PBKDF2-ripemd160  704688 iterations per second
PBKDF2-whirlpool  254015 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   649,0 MiB/s  2752,0 MiB/s
 serpent-cbc   128b    86,0 MiB/s   551,8 MiB/s
 twofish-cbc   128b   184,0 MiB/s   348,0 MiB/s
     aes-cbc   256b   474,0 MiB/s  1921,0 MiB/s
 serpent-cbc   256b    86,3 MiB/s   556,0 MiB/s
 twofish-cbc   256b   183,0 MiB/s   352,0 MiB/s
     aes-xts   256b  2420,0 MiB/s  2290,0 MiB/s
 serpent-xts   256b   554,0 MiB/s   539,0 MiB/s
 twofish-xts   256b   345,0 MiB/s   351,0 MiB/s
     aes-xts   512b  1848,0 MiB/s  1770,0 MiB/s
 serpent-xts   512b   554,0 MiB/s   543,0 MiB/s
 twofish-xts   512b   298,0 MiB/s   348,0 MiB/s

Ubuntu 15.04 Intel i7-4700MQ 8gig Dual 1600Mhz
 
Zuletzt bearbeitet:
Code:
PBKDF2-sha1      1236528 iterations per second
PBKDF2-sha256     809086 iterations per second
PBKDF2-sha512     564965 iterations per second
PBKDF2-ripemd160  724154 iterations per second
PBKDF2-whirlpool  275361 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b  1014,5 MiB/s  3159,6 MiB/s
 serpent-cbc   128b    81,0 MiB/s   318,7 MiB/s
 twofish-cbc   128b   187,9 MiB/s   297,8 MiB/s
     aes-cbc   256b   769,2 MiB/s  2537,8 MiB/s
 serpent-cbc   256b    86,0 MiB/s   318,7 MiB/s
 twofish-cbc   256b   196,8 MiB/s   297,5 MiB/s
     aes-xts   256b  3115,7 MiB/s  3142,9 MiB/s
 serpent-xts   256b   292,0 MiB/s   293,3 MiB/s
 twofish-xts   256b   271,7 MiB/s   271,9 MiB/s
     aes-xts   512b  2513,7 MiB/s  2495,3 MiB/s
 serpent-xts   512b   292,8 MiB/s   292,3 MiB/s
 twofish-xts   512b   272,0 MiB/s   271,8 MiB/s

Ubuntu 15.10 Pentium G4400 Single DDR4 2133 8Gig
 
:fresse2: Was ist den da los? AES im 7 stellingen MBit bereich?

Wenn das kein copy&paste Fehler ist muss ich mir doch mal Ubuntu anschauen. ;)

Ich hatte schon weiter oben auf den bekannten cryptsetup-Fehler mit AMD-CPUs hingewiesen. Ist erst ab - glaube ich - 1.6.5 korrigiert worden. Leider werden die Repos nicht aktuell gehalten, so dass bis einschließlich Ubuntu 15.04 immer noch die V1.6.1 ausgeliefert wird - mit dem Fehler.
Ggf. bitte den Quellcode der >1.6.5 ziehen, übersetzen und nochmal laufen lassen.
 
Oder einfach die Arch-Iso nehmen, Arch hat aktuelles cryptsetup 1.6.8
 
Code:
PBKDF2-sha1      1208036 iterations per second
PBKDF2-sha256     794375 iterations per second
PBKDF2-sha512     615361 iterations per second
PBKDF2-ripemd160  720175 iterations per second
PBKDF2-whirlpool  260063 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   664,0 MiB/s  2877,8 MiB/s
 serpent-cbc   128b    92,4 MiB/s   569,9 MiB/s
 twofish-cbc   128b   186,3 MiB/s   362,4 MiB/s
     aes-cbc   256b   489,8 MiB/s  2204,7 MiB/s
 serpent-cbc   256b    92,1 MiB/s   572,1 MiB/s
 twofish-cbc   256b   186,7 MiB/s   361,7 MiB/s
     aes-xts   256b  2520,4 MiB/s  2510,8 MiB/s
 serpent-xts   256b   568,9 MiB/s   550,6 MiB/s
 twofish-xts   256b   351,5 MiB/s   357,4 MiB/s
     aes-xts   512b  1942,2 MiB/s  1936,6 MiB/s
 serpent-xts   512b   569,2 MiB/s   551,6 MiB/s
 twofish-xts   512b   351,6 MiB/s   358,1 MiB/s

Debian Jessie x64 - i5 4570 - DDR3 1600mhz - cryptsetup 1.6.6
 
Ich hatte schon weiter oben auf den bekannten cryptsetup-Fehler mit AMD-CPUs hingewiesen. Ist erst ab - glaube ich - 1.6.5 korrigiert worden. Leider werden die Repos nicht aktuell gehalten, so dass bis einschließlich Ubuntu 15.04 immer noch die V1.6.1 ausgeliefert wird - mit dem Fehler.
Ggf. bitte den Quellcode der >1.6.5 ziehen, übersetzen und nochmal laufen lassen.
Oha, ich sehe gerade deine Antwort ist von 2015!
Sorry 4 delay! :fresse:

Quell Dateien herunter laden, ok, aber beim compilieren hört es auf bei mir, das lasse ich dann machen von jemandem der das kann. ;)

Ok, das erklärt natürlich die hohen Ergebnisse, hier gibt es auch ein Interessanten Vergleich: Linux/OpenSSL Benchmark
 
Kein Problem :) ich war selbst letzte Woche erschüttert, dass schon wieder soviel Zeit vergangen ist...
 
Ryzen 1600X @ Kernel 4.13

Code:
PBKDF2-sha1      1202495 iterations per second
PBKDF2-sha256     841553 iterations per second
PBKDF2-sha512     624152 iterations per second
PBKDF2-ripemd160  738433 iterations per second
PBKDF2-whirlpool  290947 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b  1162,3 MiB/s  3760,8 MiB/s
 serpent-cbc   128b   103,3 MiB/s   376,8 MiB/s
 twofish-cbc   128b   206,4 MiB/s   382,3 MiB/s
     aes-cbc   256b   848,2 MiB/s  3170,7 MiB/s
 serpent-cbc   256b   107,8 MiB/s   389,0 MiB/s
 twofish-cbc   256b   222,6 MiB/s   405,2 MiB/s
     aes-xts   256b  2968,3 MiB/s  2951,7 MiB/s
 serpent-xts   256b   373,6 MiB/s   364,1 MiB/s
 twofish-xts   256b   385,4 MiB/s   393,2 MiB/s
     aes-xts   512b  2613,7 MiB/s  2532,3 MiB/s
 serpent-xts   512b   368,4 MiB/s   374,7 MiB/s
 twofish-xts   512b   403,5 MiB/s   400,0 MiB/s
 
Hardwareluxx setzt keine externen Werbe- und Tracking-Cookies ein. Auf unserer Webseite finden Sie nur noch Cookies nach berechtigtem Interesse (Art. 6 Abs. 1 Satz 1 lit. f DSGVO) oder eigene funktionelle Cookies. Durch die Nutzung unserer Webseite erklären Sie sich damit einverstanden, dass wir diese Cookies setzen. Mehr Informationen und Möglichkeiten zur Einstellung unserer Cookies finden Sie in unserer Datenschutzerklärung.


Zurück
Oben Unten refresh