<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LayerscapeのトピックRe: LX2160ARDB Cryptographic Functions Benchmark</title>
    <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1312983#M8535</link>
    <description>&lt;P&gt;Thanks for the help,&amp;nbsp;&lt;SPAN&gt;yipingwang.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I just run the tests, but I'm still getting the poor results (see attached file).&lt;/P&gt;&lt;P&gt;All caam drivers report a similar performance ~200MBs.&lt;/P&gt;&lt;P&gt;There is a ce driver that is reporting up to 1.2GBs (better, but still pretty slow if I want to use the LX2160ARDB 10, 25 or 40 Gbs interface).&lt;/P&gt;&lt;P&gt;Any other option to get the max throughput?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 04:28:05 GMT</pubDate>
    <dc:creator>lucasgm</dc:creator>
    <dc:date>2021-07-26T04:28:05Z</dc:date>
    <item>
      <title>LX2160ARDB Cryptographic Functions Benchmark</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1309929#M8479</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've just acquired an LX2160ARDB and I'd like to run a benchmark of the cryptographic functions (mainly AES encryption and RSA signatures) provided by the LX2160A processor. I already have the LSDK OS installed (via flex-installer).&lt;/P&gt;&lt;P&gt;I tried to benchmark using the cryptodev driver + openssl (speed and tls server) and also with cryptodev test binaries (the ones inside the cryptodev source code). However, all tests report a lower performance than the tests performed without the cryptodev driver.&lt;/P&gt;&lt;P&gt;Is there any reason why I'm getting these results? Is there another (easy) way to run this benchmark with the LSDK?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 14:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1309929#M8479</guid>
      <dc:creator>lucasgm</dc:creator>
      <dc:date>2021-07-19T14:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB Cryptographic Functions Benchmark</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1310249#M8484</link>
      <description>&lt;P&gt;The driver's capabilities can also be tested with tcrypt testing framework&lt;BR /&gt;available in linux kernel by selecting "Cryptographic API -&amp;gt; Testing module" (also Disable run-time self tests should be unchecked). A kernel module will be generated: crypto/tcrypt.ko. This has to be copied on the target. Then on target, after a dpseci object is registered:&lt;BR /&gt;$ insmod tcrypt.ko mode=10&lt;/P&gt;
&lt;P&gt;Please refer to the attached test log.&lt;/P&gt;
&lt;P&gt;For details, please refer to section "How to test the driver" in page 859 of LSDK 2012 user manual.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 07:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1310249#M8484</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-07-20T07:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB Cryptographic Functions Benchmark</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1312983#M8535</link>
      <description>&lt;P&gt;Thanks for the help,&amp;nbsp;&lt;SPAN&gt;yipingwang.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I just run the tests, but I'm still getting the poor results (see attached file).&lt;/P&gt;&lt;P&gt;All caam drivers report a similar performance ~200MBs.&lt;/P&gt;&lt;P&gt;There is a ce driver that is reporting up to 1.2GBs (better, but still pretty slow if I want to use the LX2160ARDB 10, 25 or 40 Gbs interface).&lt;/P&gt;&lt;P&gt;Any other option to get the max throughput?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 04:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1312983#M8535</guid>
      <dc:creator>lucasgm</dc:creator>
      <dc:date>2021-07-26T04:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB Cryptographic Functions Benchmark</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1313587#M8548</link>
      <description>&lt;P&gt;Please configure Linux Kernel as the following.&lt;/P&gt;
&lt;PRE&gt;root@localhost:~# zcat /proc/config.gz | grep -i CONFIG_CRYPTO_TEST
CONFIG_CRYPTO_TEST=m
root@localhost:~# zcat /proc/config.gz | grep -i caam
CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON=y
CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC=y
CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC=y
CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y
CONFIG_CRYPTO_DEV_FSL_CAAM=y
# CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG is not set
# CONFIG_CRYPTO_DEV_FSL_CAAM_JR is not set
CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM=y&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Jul 2021 06:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1313587#M8548</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-07-27T06:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB Cryptographic Functions Benchmark</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1314009#M8561</link>
      <description>&lt;P&gt;I have all these flags set and some more. Should I disable something? Or maybe enable CAAM_DMA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;user@localhost:~$ zcat /proc/config.gz | grep -i CONFIG_CRYPTO_TEST 
CONFIG_CRYPTO_TEST=m 
user@localhost:~$ zcat /proc/config.gz | grep -i caam 
# CONFIG_CRYPTO_DEV_FSL_CAAM_DMA is not set 
CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON=y
CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC=y 
CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC=y 
CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y 
CONFIG_CRYPTO_DEV_FSL_CAAM=y 
# CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG is not set 
CONFIG_CRYPTO_DEV_FSL_CAAM_JR=y 
CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE=9 
# CONFIG_CRYPTO_DEV_FSL_CAAM_INTC is not set 
CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API=y 
CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI=y 
CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API=y 
CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API=y 
CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=y 
# CONFIG_CRYPTO_DEV_FSL_CAAM_TK_API is not set 
# CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_TEST is not set 
CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
CONFIG_CRYPTO_DEV_FSL_CAAM_SM_SLOTSIZE=7 
CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=m 
CONFIG_CRYPTO_DEV_FSL_CAAM_JR_UIO=y
CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM=y&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 15:58:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1314009#M8561</guid>
      <dc:creator>lucasgm</dc:creator>
      <dc:date>2021-07-27T15:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB Cryptographic Functions Benchmark</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1314384#M8571</link>
      <description>&lt;P&gt;Please disable&amp;nbsp;CONFIG_CRYPTO_DEV_FSL_CAAM_JR in your Linux Kernel configuration file.&lt;/P&gt;
&lt;P&gt;Please refer to my attached Kernel configuration file.&lt;/P&gt;
&lt;P&gt;Please go to folder&amp;nbsp;flexbuild_lsdk2012/build/linux/linux/arm64/LS/output/LSDK-20.12-V5.4/, save the attached file as .config, run "make ARCH=arm64 menuconfig".&lt;/P&gt;
&lt;P&gt;Go back to folder&amp;nbsp;flexbuild_lsdk2012 to rebuild Linux Kernel with the following command.&lt;/P&gt;
&lt;P&gt;$ flex-builder -c linux -a arm64&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 08:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-Cryptographic-Functions-Benchmark/m-p/1314384#M8571</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-07-28T08:20:03Z</dc:date>
    </item>
  </channel>
</rss>

