All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Computer locking up on heavy disk IO
@ 2017-08-01  8:52 heinrich5991
  2017-08-01  9:57 ` Arno Wagner
  0 siblings, 1 reply; 9+ messages in thread
From: heinrich5991 @ 2017-08-01  8:52 UTC (permalink / raw)
  To: dm-crypt

Hi,

I've noticed that my computer performs worse than optimal in cases of
much disk IO. Now that I tried to use dd to securely erase a large disk
(as in 2.19 of the FAQ at
https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions#2-setup),
the computer completely locked up after half a minute or so. Before
locking up one completely, it showed high load (>80) and high io wait. I
was able to reboot the computer using Magic SysRq sequences, although
they had a big delay.

Previously, I tried to see how fast the drive can go and just dd'ed
/dev/zero directly onto it. The computer handled that one fine, disk
transfer averaged out at ~150MiB/s.

    # Tests are approximate using memory only (no storage IO).
    PBKDF2-sha1      1016062 iterations per second for 256-bit key
    PBKDF2-sha256    1432480 iterations per second for 256-bit key
    PBKDF2-sha512     976327 iterations per second for 256-bit key
    PBKDF2-ripemd160  815377 iterations per second for 256-bit key
    PBKDF2-whirlpool  580606 iterations per second for 256-bit key
    #     Algorithm | Key |  Encryption |  Decryption
            aes-cbc   128b   655.6 MiB/s  2261.2 MiB/s
        serpent-cbc   128b    80.7 MiB/s   323.3 MiB/s
        twofish-cbc   128b   186.4 MiB/s   352.1 MiB/s
            aes-cbc   256b   481.6 MiB/s  1724.6 MiB/s
        serpent-cbc   256b    80.7 MiB/s   323.2 MiB/s
        twofish-cbc   256b   186.4 MiB/s   351.9 MiB/s
            aes-xts   256b  1956.1 MiB/s  1965.6 MiB/s
        serpent-xts   256b   332.8 MiB/s   316.9 MiB/s
        twofish-xts   256b   345.8 MiB/s   347.2 MiB/s
            aes-xts   512b  1526.4 MiB/s  1522.7 MiB/s
        serpent-xts   512b   333.4 MiB/s   316.8 MiB/s
        twofish-xts   512b   345.5 MiB/s   346.7 MiB/s

Thanks

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-01 23:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-01  8:52 [dm-crypt] Computer locking up on heavy disk IO heinrich5991
2017-08-01  9:57 ` Arno Wagner
2017-08-01 10:25   ` heinrich5991
2017-08-01 20:22   ` heinrich5991
2017-08-01 20:40     ` Arno Wagner
2017-08-01 22:08       ` heinrich5991
2017-08-01 20:47     ` Michael Kjörling
2017-08-01 22:19       ` heinrich5991
2017-08-01 23:17         ` [dm-crypt] Fwd: " heinrich5991

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.