Overlapped processing and load balancing

You can maximize throughput by organizing your application or applications to make multiple, overlapping calls to the CCA API.

Calls to the CCA security API are synchronous, that is, your program loses control until the verb completes. Multiple processing-threads can make concurrent calls to the API.

You can maximize throughput by organizing your application or applications to make multiple, overlapping calls to the CCA API. You can also increase throughput by employing multiple coprocessors, each with CCA. You can maximize throughput by organizing your application (or applications) to make multiple, overlapping calls to the CCA API. You can also increase throughput by employing multiple coprocessors, each with CCA. Another way to maximize throughput is to make use of the AUTOSELECT option for automatic load-balancing. See Multi-coprocessor selection capabilities.

Within the coprocessor, the CCA software is organized into multiple threads of processing. This multiprocessing design is intended to enable concurrent use of the coprocessor's MCPUs, providing PCIe communications, symmetric key (AES, DES, TDES) and hashing (SHA-1, SHA-2, SHA-3) engines, and public key algorithm (modular-exponentiation, discrete logarithm) engines.

Host-side key caching

Calls to the CCA security API are synchronous, that is, your program loses control until the verb completes. Multiple processing-threads can make concurrent calls to the API.

CCA provides caching of key records obtained from key storage within the CCA host code. However, the host cache is unique for each host process. If different host processes access the same key record, an update to a key record caused in one process does not affect the contents of the key cache held for other processes. Caching of key records within the key-storage system can be suppressed so all processes access the most current key-records. To suppress caching of key records, use the SET command to set the environment variable CSUCACHE to NO. If this environment variable is not set, or is set to anything other than NO, caching of key records will not be suppressed. The CSUCACHE environment variable does not impact CPACF translated key caching.