Public bug reported: Binary package hint: cryptsetup
The initramfs hook script only adds a module named $cipher.ko for each cipher that is used. Some ciphers have assembly optimized kernel modules on some architectures wich should be used instead as they give much better performance. (Using aes-i586.ko instead of aes.ko on my system doubles disk throughput for sustained reads, while using 60% instead of 100% CPU) Attached is a patch against feisty. I have only tested to build a initramfs with it in a chroot, but it seems to be working. The patch use find to look for cipher modules in $MODULESDIR/kernel/arch directory wich should only find the asm module as the normal ones are in $MODULESDIR/kernel/crypto. It would be better to look directly in $MODULESDIR/kernel/arch/`uname -i`/crypto/, but uname -i only returns "unknown" on Ubuntu. ** Affects: cryptsetup (Ubuntu) Importance: Undecided Status: Unconfirmed -- Add optimized cipher modules to initramfs https://launchpad.net/bugs/73862 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs