Performance Measurement and Sample Coding with CCA
The IBM 4758 PCI Cryptographic Coprocessor Performance Measurement Tool is a simple, multi-threaded, menu-driven C program supplied in source form. You can use the program:
- To obtain preliminary performance information on your system
- As a starting point for your own bench marking efforts
- As a sample of programming for the CCA API
The user is offered a choice of 10 different performance tests. For each test, the user is prompted via keyboard entry to enter the number of threads to be created by the program as well as the number of iterations that each thread will execute before each thread self-terminates. The total number of CCA API calls is tallied and divided by the elapsed time to yield the number of API calls per second.
Windows NT users can download the perftest.zip file (ZIP, 221KB) and use PKUNZIP to obtain the README, source code, header, and Make files.
The README file explains how to:
- Use the IBM VisualAge or Microsoft compilers
- Use the supplied Make file to obtain the executable test program
- Run the program
AIX users can download the lprf.tar.Z file (TAR.Z, 209KB) and use the AIX uncompress and tar commands to obtain the README, source code, header, and Make file.
The README explains how to:
- Use the IBM VisualAge compiler
- Use the supplied Make file to obtain the executable test program
- Run the program
The program provided is intended to assist in the development of a working multi-threaded software program whose purpose is to measure the performance of the IBM 4758 PCI Cryptographic Coprocessor.
International Business Machines Corporation provides the source code "as is" without warranty of any kind, either expressed or implied, including, but not limited to the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the source code is with the user. Should any part of the source code prove defective, the user (and not IBM or an authorized dealer) assumes the entire cost of all necessary servicing, repair or correction. IBM does not warrant that the contents of the source code will meet the user's requirements. IBM may make improvements and/or changes in the source code at any time.
