- Newest
- Most votes
- Most comments
Based on the information provided, it appears that you are experiencing unexpectedly low performance for unwrapping RSA keys on CloudHSM. While the exact performance metrics for your specific use case are not directly provided in the available documentation, we can address your concerns and provide some insights.
- Regarding the current performance you're observing with SDK 5.15.0: The performance you're seeing (1-2.5 unwrap operations per second per HSM) does seem lower than what might be expected, especially given your previous experience with SDK 5.5.0. However, it's important to note that performance can vary based on several factors, including the specific configuration, data size, and additional application load on your EC2 instances.
The performance data provided in the AWS CloudHSM documentation is for different operations (RSA 2048-bit sign and EC P256 sign) and doesn't specifically address unwrapping operations for large RSA keys. Therefore, it's challenging to make a direct comparison.
- Regarding potential changes between SDK 5.5.0 and SDK 5.15.0: While there's no explicit mention of performance regressions between these SDK versions in the available information, it's possible that changes or optimizations in the newer SDK version could have affected performance for specific operations like key unwrapping.
Some points to consider:
a) The difference in performance between non-FIPS and FIPS clusters that you've observed is interesting and might be related to additional security measures implemented in FIPS mode.
b) The fact that unwrap operations appear to run serially on an HSM could be a limitation of the current implementation or a security measure to prevent potential vulnerabilities.
c) The performance difference you're seeing between SDK 5.5.0 and SDK 5.15.0 is significant, and it would be worth investigating further with AWS support to determine if there have been any known changes that could account for this discrepancy.
d) It's also worth noting that you mentioned possibly using hsm1.medium instances with the older SDK. If you're now using a different instance type, this could potentially contribute to the performance difference.
Given the unexpected performance drop and the importance of this operation for your use case, it would be advisable to contact AWS support directly. They would have access to more detailed information about potential changes between SDK versions and could provide more specific guidance on optimizing performance for your particular scenario.
Additionally, they might be able to confirm whether the performance you're seeing is expected for the given key sizes and wrap mechanism, or if there might be an issue with your current configuration or implementation.
Sources
AWS CloudHSM performance information - AWS CloudHSM
Relevant content
- asked 7 months ago
- asked 2 years ago