Check out the new USENIX Web site. next up previous
Next: Acknowledgements Up: The Design of the Previous: Minimize number user/kernel crossings

Conclusions

  We presented the OpenBSD Cryptographic Framework (OCF), a service virtualization layer implemented inside the kernel, that provides uniform access to cryptographic hardware accelerator cards by hiding card-specific details behind a carefully designed API. Other kernel subsystems and user-level processes can use the API with symmetric and asymmetric algorithms. The OCF offers several other features, such as load-balancing, session migration, and algorithm-chaining.

Our performance evaluation demonstrated the OCF's ability to utilize available accelerators to within 95% of their peak performance. This validates our decision to design for ease of use by applications and seamless support for new accelerators, over a device-specific approach which should be able to fully utilize that device's capabilities. In addition, we demonstrated aggregate (across several concurrent applications) throughput for 3DES encryption in excess of 800 Mbps. Furthermore, use of hardware accelerators can remove contention for the CPU and thus improve overall system responsiveness and performance for unrelated tasks.

Our evaluation also allowed us to determine that the limiting factor for high-speed cryptography in modern systems is data copying and the PCI bus. Furthermore, small data-buffers should be processed in software, freeing hardware accelerators to handle larger requests that better amortize the system and PCI transaction costs. On the other hand, multi-threading results on increased utilization of the OCF, improving aggregate throughput. We made recommendations for future directions in architectural placement of cryptographic functionality, operating system provisions, and application design, and discussed several improvements and promising directions for future work.


next up previous
Next: Acknowledgements Up: The Design of the Previous: Minimize number user/kernel crossings
Angelos D. Keromytis
3/25/2003