Red Hat Bugzilla – Bug 249158
kernel-2.6.21-1.3228.fc7 lacks aes-i586.ko
Last modified: 2007-11-30 17:12:10 EST
This is a copy&paste of my another bug
It occured in FC6, but was marked as solved, as you can see it occurred again.
Description of problem:
There is no optimized version of eas-i586.ko in the kernel,
kernel-*.i586.rpm contains the correct module,
but *.i686.rpm lacks.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cd /archive/with/fedora/7/updates/i386
2. rpm -qlp kernel-2.6.19-1.2895.fc6.i686.rpm|grep aes-i586.ko
3. rpm -qlp kernel-2.6.19-1.2895.fc6.i586.rpm|grep aes-i586.ko
The i686 contains no aes-i586 (grep returns nothing)
The i586 contains the eas-i586.ko
Both rpms should contain the modules
I believe enabling CONFIG_AES_i586=m should fix the problem.
Adding CONFIG_CRYPTO_AES_586=m and CONFIG_CRYPTO_TWOFISH_586=m to rawhide, F7
and FC6's config-x86-generic, which should re-enable these modules for
kernel.i686 and kernel-PAE.i686.
wait, why would you want to run 586 optimised code on a 686 ?
Do you have numbers showing this is higher performance than the generic aes code?
On which CPU ?
Created attachment 159843 [details]
Details of test results
(In reply to comment #2)
> wait, why would you want to run 586 optimised code on a 686 ?
> Do you have numbers showing this is higher performance than the generic aes code?
> On which CPU ?
AES-i586 is 56% faster than AES :-)
/dev/zero->/dev/null: 47.9GB/s (0.2s)
unencrypted device: 72.2MB/s (148.7s)
encrypted with 'C' AES: 38.3MB/s (280.1s)
encrypted with i586 AES: 60.4MB/s (177.9s)
(Please see my last letter for an attachment with detailed procedure of the test)
Fix in 184.108.40.206-1.33.fc7, in updates-testing.