AnsweredAssumed Answered

CAAM: AES results after applying new patches.

Question asked by rashmi on Dec 6, 2013
Latest reply on Feb 6, 2014 by tera teller

Hi Yuri,

 

For my SR 1-1227391051, I have received new patches to improve the CAAM performance. But We do not find any significant changes in the CAAM's performance on i.MX6Q SABRE board after applying new patches. Below are the results of performing AES before and after applying the patches using openssl with AF_ALG user interface.

Could you suggest on improving CAAM's performance?

 

CAAM ENCRYPTION:


Before Applying patches: CAAM ENCRYPTION

root@imx6qsabrelite:~# openssl speed -evp aes-256-cbc -engine af_alg

engine "af_alg" set.

 

Doing aes-256-cbc for 3s on 16 size blocks: 2914 aes-256-cbc's in 0.00s

Doing aes-256-cbc for 3s on 64 size blocks: 2919 aes-256-cbc's in 0.01s

Doing aes-256-cbc for 3s on 256 size blocks: 2927 aes-256-cbc's in 0.00s

Doing aes-256-cbc for 3s on 1024 size blocks: 2774 aes-256-cbc's in 0.01s

Doing aes-256-cbc for 3s on 8192 size blocks: 2134 aes-256-cbc's in 0.00s

OpenSSL 1.0.1e 11 Feb 2013

 

Applied patches: CAAM ENCRYPTION

root@imx6qsabrelite:~# openssl speed -evp aes-256-cbc -engine af_alg

engine "af_alg" set.

 

Doing aes-256-cbc for 3s on 16 size blocks: 2842 aes-256-cbc's in 0.00s

Doing aes-256-cbc for 3s on 64 size blocks: 2833 aes-256-cbc's in 0.01s

Doing aes-256-cbc for 3s on 256 size blocks: 2801 aes-256-cbc's in 0.01s

Doing aes-256-cbc for 3s on 1024 size blocks: 2647 aes-256-cbc's in 0.01s

Doing aes-256-cbc for 3s on 8192 size blocks: 1916 aes-256-cbc's in 0.00s

 

Thanks,

Rashmi.

Outcomes