[vlc-devel] Performance Improvements of libdvbcsa keysetup

Erik Tews e_tews at cdc.informatik.tu-darmstadt.de
Tue Feb 8 13:11:18 CET 2011


Hi

I have written two patches for libdvbcsa:

speed2-test.patch - adds two new benchmarks to the testsuite to test the
speed of the keysetup for the bitsliced and the none-bitsliced variant:

for i in `seq 1 5`; do echo normal; ./benchks; echo bs; ./benchbitsliceks; done
normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.1 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.2 Mkeys/s

normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.1 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.2 Mkeys/s

normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.1 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.2 Mkeys/s

normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.0 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.2 Mkeys/s

normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.1 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.2 Mkeys/s


speed2-programm.patch - improves the speed of the csa key setup of the
blockcipher. With the patch applied, I get:

for i in `seq 1 5`; do echo normal; ./benchks; echo bs; ./benchbitsliceks; done
normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 5.6 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 2.0 Mkeys/s

normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 5.7 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 1.9 Mkeys/s

normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 5.7 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 2.0 Mkeys/s

normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 5.7 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 2.0 Mkeys/s

normal
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 5.6 Mkeys/s

bs
* DVBCSA keysetup benchmark *
 - 5000000 keys proceded, 2.0 Mkeys/s


Please review and apply if the patch is acceptable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speed2-programm.patch
Type: text/x-patch
Size: 8307 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110208/e371d74d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speed2-test.patch
Type: text/x-patch
Size: 5261 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110208/e371d74d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110208/e371d74d/attachment.sig>


More information about the vlc-devel mailing list