[60128] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

Re: Can you keep a secret? This encrypted drive can...

daemon@ATHENA.MIT.EDU (Ralf Senderek)
Mon Nov 6 10:25:22 2006

X-Original-To: cryptography@metzdowd.com
X-Original-To: cryptography@metzdowd.com
Date: Sat, 4 Nov 2006 10:35:15 +0000 (GMT)
From: Ralf Senderek <ralf@senderek.com>
To: Alexander Klimov <alserkli@inbox.ru>
Cc: cryptography@metzdowd.com


On Thu, 2 Nov 2006, Alexander Klimov wrote:

> I guess many people here have tried full disk encryption for
> themselves, do you notice any difference in performance or not?

Yes and no!

I use dm-crypt on a Linux laptop with FC5.

On the encrypted filesystem:

# > df
/dev/mapper/secure      309895    213342     80553  73% /secure

# > time dd if=/dev/zero of=cryptogram bs=1MB count=50
50+0 records in
50+0 records out
50000000 bytes (50 MB) copied, 1.96366 seconds, 25.5 MB/s
dd if=/dev/zero of=cryptogram bs=1MB count=50  0.00s user 0.52s system 25%
cpu 2.023 total

On the unencrypted filesystem:

# > time dd if=/dev/zero of=cryptogram bs=1MB count=50
50+0 records in
50+0 records out
50000000 bytes (50 MB) copied, 0.216106 seconds, 231 MB/s

real    0m0.257s
user    0m0.000s
sys     0m0.252s

The factor 9.05 making the the unencrypted filesystem faster than the
encrypted one really does not make a difference for me for anything I do.
I'd be happy with 1 MB/s and I got 25! (using AES-256)

Regards

     Ralf Senderek

*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*
* Ralf Senderek  <ralf@senderek.com> http://senderek.com*  What is privacy  *
* Sandstr. 60   D-41849 Wassenberg  +49 2432-3960       *      without      *
* PGP: AB 2C 85 AB DB D3 10 E7  CD A4 F8 AC 52 FC A9 ED *    Pure Crypto?   *
49466008763407508762442876812634724277805553224967086648493733366295231438448


---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo@metzdowd.com

home help back first fref pref prev next nref lref last post