performance issue with disk encryption

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

performance issue with disk encryption

402 Views
Versenkt
Contributor II

Hi everyone,

I'm having performance issues with disk encryption. 

SOC: i.MX8 MP

Storage: 16GB eMMC 64GB microSD

RAM: 4GB LPDDR4 4000MT

I ported the latest bsp to this platform and most of the features work fine. According to the content of Chapter 10.5.3.2 in the IMXLUG document, I successfully created an encrypted partition. 

When I used fio to read and write the encrypted partition, I found that in addition to the slow reading and writing speed, the jr-engine process was also taking up a lot of CPU resources.

Versenkt_0-1707105313515.png

Is this normal performance? This doesn't quite meet my expectations for "crypto acceleration" mentioned in the document.

A similar situation also occurred in the openssl offload test. The result using cryptodev is two orders of magnitude slower than without it.

Versenkt_2-1707106416062.png

Versenkt_1-1707106394111.png

Is there a way to use software disk encryption and decryption to compare performance when using tagged keys?

如果我的英语表达有问题,您也可以尝试用中文与我交流

0 Kudos
Reply
0 Replies