git: kernel - dm_target_crypt - use CRYPTO_F_BATCH

Matthew Dillon dillon at
Thu Aug 19 19:33:37 PDT 2010

commit 57ffb1182f4df85afb9b455621d3706d9854ac8c
Author: Matthew Dillon <dillon at>
Date:   Thu Aug 19 19:29:54 2010 -0700

    kernel - dm_target_crypt - use CRYPTO_F_BATCH
    * Allow crypto requests to be dispatched to multiple crypto support
      threads instead of executing the operation synchronously.
    * Greatly improves crypto performance on SMP boxes.  25MB/s -> 80MB/s on
      my quad.
    * Currently the ivgen code gets in the way because it must be executed
      synchronously before the data crypto op can be initiated.  Further
      performance improvements are possible.

Summary of changes:
 sys/dev/disk/dm/dm_target_crypt.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list