"Eloy A. Paris" wrote: > On Thu, Feb 26, 2004 at 08:37:42PM +0200, Jari Ruusu wrote: > [...] > > Here is benhmark I ran some time ago on my 300 MHz Pentium-2 test box. ATA > > hard disk. Tests file reads and writes to ext2 file system partition. > > > > KERNEL IMPLEMENTATION MODE WRITE MiB/s READ MiB/s > > 2.6.1 cryptoloop single-key 5.21 4.08 > > 2.6.1 loop-AES single-key 9.52 7.56 > > 2.6.1 loop-AES multi-key(MD5 IV) 7.67 6.35 > > 2.4.22aa1 loop-AES single-key 10.55 10.16 > > 2.4.22aa1 loop-AES multi-key(MD5 IV) 8.75 8.13 I forgot to mention that above benchmark used AES128 encryption. > Hhhmmm, will all the hype about the 2.6.x kernels and how great they > are, any ideas why a 2.4.x kernel performs better than 2.6.x under this > scenario? Primary suspect is the anticipatory I/O scheduler in 2.6 kernels. -- Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/