On 21.06.2009, markus reichelt wrote: > I'm using Serpent myself. With modern hardware the speed penalty of > that cipher is not the bottleneck of overall performance anymore. Here's a short benchmarking I did some time ago on a LUKS/dmcrypt formattet partition, using bonnie++, copying a big file and hdparm: TWOFISH Version 1.01d ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP liesel 16016M 59972 30 58753 6 32287 4 74143 46 75045 6 221.5 0 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 5943 15 +++++ +++ 4507 8 6359 15 +++++ +++ 4084 9 liesel,16016M,59972,30,58753,6,32287,4,74143,46,75045,6,221.5,0,16,5943,15,+++++,+++,4507,8,6359,15,+++++,+++,4084,9 /dev/mapper/test: Timing cached reads: 6858 MB in 2.00 seconds = 3435.99 MB/sec Timing buffered disk reads: 220 MB in 3.01 seconds = 73.12 MB/sec liesel:/mnt # dd if=/dev/zero of=deleteme bs=1M count=5000 5000+0 records in 5000+0 records out 5242880000 bytes (5.2 GB) copied, 84.32 s, 62.2 MB/s ----------------------------------------------------------------------------------------------------------- AES Version 1.01d ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP liesel 16016M 59964 30 58643 6 32226 4 74152 46 75057 6 219.9 0 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 6147 16 +++++ +++ 4543 9 6483 16 +++++ +++ 4075 9 liesel,16016M,59964,30,58643,6,32226,4,74152,46,75057,6,219.9,0,16,6147,16,+++++,+++,4543,9,6483,16,+++++,+++,4075,9 /dev/mapper/test: Timing cached reads: 6866 MB in 2.00 seconds = 3440.03 MB/sec Timing buffered disk reads: 220 MB in 3.01 seconds = 73.02 MB/sec liesel:/mnt # dd if=/dev/zero of=deleteme bs=1M count=5000 5000+0 records in 5000+0 records out 5242880000 bytes (5.2 GB) copied, 84.0974 s, 62.3 MB/s ----------------------------------------------------------------------------------------------------------- SERPENT Version 1.01d ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP liesel 16016M 59753 30 59024 6 33407 4 74051 45 75051 5 213.8 0 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 5818 14 +++++ +++ 4599 9 6128 15 +++++ +++ 4145 10 liesel,16016M,59753,30,59024,6,33407,4,74051,45,75051,5,213.8,0,16,5818,14,+++++,+++,4599,9,6128,15,+++++,+++,4145,10 liesel:/mnt # dd if=/dev/zero of=deleteme bs=1M count=5000 5000+0 records in 5000+0 records out 5242880000 bytes (5.2 GB) copied, 84.4386 s, 62.1 MB/s /dev/mapper/test: Timing cached reads: 6844 MB in 2.00 seconds = 3428.41 MB/sec Timing buffered disk reads: 178 MB in 3.03 seconds = 58.80 MB/sec ----------------------------------------------------------------------------------------------------------- CAST6 Version 1.01d ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP liesel 16016M 59530 30 58390 6 29779 4 61424 38 64256 5 223.6 0 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 5960 15 +++++ +++ 4650 9 6251 15 +++++ +++ 3993 9 liesel,16016M,59530,30,58390,6,29779,4,61424,38,64256,5,223.6,0,16,5960,15,+++++,+++,4650,9,6251,15,+++++,+++,3993,9 liesel:/mnt # dd if=/dev/zero of=deleteme bs=1M count=5000 5000+0 records in 5000+0 records out 5242880000 bytes (5.2 GB) copied, 83.2459 s, 63.0 MB/s /dev/mapper/test: Timing cached reads: 7586 MB in 2.00 seconds = 3801.54 MB/sec Timing buffered disk reads: 150 MB in 3.00 seconds = 49.97 MB/sec ----------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx