lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 24 Mar 2008 23:19:28 +0100 (CET)
From:	Jan Engelhardt <jengelh@...putergmbh.de>
To:	linux-crypto@...r.kernel.org
cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: strange crypto speeds, sort of

Hi,


How come reading a file from a filesystem on an encrypted block device
is faster than reading the encrypted block device itself?

Linux home 2.6.23.17-rt #1 SMP PREEMPT RT 2007/10/26 14:17:15 
UTC i686 athlon i386 GNU/Linux
cryptsetup 1.0.5

/home # echo 3 >/proc/sys/vm/drop_caches
/home # dd_rescue foo /dev/null
...
Summary for foo -> /dev/null:
dd_rescue: (warning): /dev/null (120704.0k): Invalid argument!
dd_rescue: (info): ipos:    120704.0k, opos:    120704.0k, xferd:    120704.0k
                    errs:      0, errxfer:         0.0k, succxfer:    120704.0k
              +curr.rate:     8728kB/s, avg.rate:    13482kB/s, avg.load:  7.1%

/home # echo 3 >/proc/sys/vm/drop_caches
/home # dd_rescue /dev/mapper/home /dev/null
...
Summary for /dev/mapper/home -> /dev/null:
dd_rescue: (info): ipos:     21504.0k, opos:     21504.0k, xferd:     21504.0k
                    errs:      0, errxfer:         0.0k, succxfer:     21504.0k
              +curr.rate:     4291kB/s, avg.rate:     4291kB/s, avg.load:  5.8%
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ