CAAM: Suggestion to Improve performance.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CAAM: Suggestion to Improve performance.

838 Views
rashmi
Contributor III

Hi,

I tried encrypting 2GB .txt file using opnessl commands with af_alg engine. Output with command time -v  is:

        Command being timed: "openssl aes-256-cbc -in aki6.txt -out aki6.aes -e -engine af_alg"   

        User time (seconds): 11.24      

        System time (seconds): 91.19

        Percent of CPU this job got: 14%

        Elapsed (wall clock) time (h:mm:ss or m:ss): 11m 52.71s

It looks like CAAM is taking too much of time to encrypt the 2GB data which is 11.24 mins. Need suggestion to improve the CAAM performance in order to reduce the time taken to encrypt and decrypt a file.

Thanks,

Rashmi.

0 Kudos
Reply
1 Reply

603 Views
Yuri
NXP Employee
NXP Employee

I am under impression, that hardware (CAAM) encryption is not really working in the case - looks like just a software cryptodev

is implemented.

0 Kudos
Reply