feat(crypto): Add crypto perf table for different hardware#652
feat(crypto): Add crypto perf table for different hardware#652jsuhaas22 wants to merge 1 commit intoTexasInstruments:masterfrom
Conversation
|
New issues found with check_toc_txt.py: |
|
New warnings found with rstcheck: |
10b4891 to
5765ba4
Compare
| .. csv-table:: AES-128-CBC Performance | ||
| :header: "Size (bytes)", "DTHEv2 Accelerator", "ARM CE", "ARM" | ||
| :widths: 30, 30, 30, 30 | ||
|
|
||
| "16", "0.28", "86.86", "28.02" | ||
| "64", "1.16", "271.43", "35.57" | ||
| "256", "4.63", "568.25", "38.33" | ||
| "1024", "17.15", "800.83", "39.08" | ||
| "8192", "82.06", "908.72", "39.31" | ||
| "16384", "112.48", "917.23", "39.02" | ||
| "CPU Usage %", "18", "99", "99" | ||
|
|
There was a problem hiding this comment.
Maybe I'm just a stickler for this, but what unit is that 0.28 and other measurements reported for the given size? I assume it's some unit of time, but it's not particularly clear.
There was a problem hiding this comment.
Its MB/s. I have mentioned it in column headings now.
| ******************************* | ||
| Hardware Performance Comparison | ||
| ******************************* | ||
|
|
||
| The following table shows AES-128-CBC throughput measured using ``openssl speed`` | ||
| across the SA2UL hardware accelerator, ARM Cryptographic Extension (CE), and | ||
| baseline ARM CPU. | ||
|
|
||
| .. ifconfig:: CONFIG_part_variant in ('AM62X') | ||
|
|
||
| .. include:: ../../../../../devices/AM62X/linux/_Crypto_Perf_AES_128_CBC.rst | ||
|
|
||
| .. ifconfig:: CONFIG_part_variant in ('AM62PX') | ||
|
|
||
| .. include:: ../../../../../devices/AM62PX/linux/_Crypto_Perf_AES_128_CBC.rst | ||
|
|
||
| .. ifconfig:: CONFIG_part_variant in ('AM64X') | ||
|
|
||
| .. include:: ../../../../../devices/AM64X/linux/_Crypto_Perf_AES_128_CBC.rst | ||
|
|
There was a problem hiding this comment.
Is there a particular reason this is getting special treatment and not being included in the platform specific performance report that's automatically generated from our test infra?
There was a problem hiding this comment.
We don't have a test ready right now which compares the performance of crypto operations over the 3 hardware options. It's WIP.
Add a performance table which contains the output of `openssl speed ...` command over the 3 different hardware options: SA2UL/DTHEv2 accelerator, ARM CE, and base ARM, for AES-128-CBC algorithm. This gives a clear picture of how crypto operations fare over each IP option. Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
5765ba4 to
ed36189
Compare
Add a performance table which contains the output of
openssl speed ...command over the 3 different hardware options: SA2UL/DTHEv2 accelerator, ARM CE, and base ARM, for AES-128-CBC algorithm. This gives a clear picture of how crypto operations fare over each IP option.