<?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>i.MX Processors中的主题 performance issue with disk encryption</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/performance-issue-with-disk-encryption/m-p/1801587#M219629</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm having performance issues with disk encryption.&amp;nbsp;&lt;/P&gt;&lt;P&gt;SOC: i.MX8 MP&lt;/P&gt;&lt;P&gt;Storage: 16GB eMMC 64GB microSD&lt;/P&gt;&lt;P&gt;RAM: 4GB LPDDR4 4000MT&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Versenkt_0-1707105313515.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261863iEA112609B5537611/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Versenkt_0-1707105313515.png" alt="Versenkt_0-1707105313515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this normal performance? This doesn't quite meet my expectations for "crypto acceleration" mentioned in the document.&lt;/P&gt;&lt;P&gt;A similar situation also occurred in the openssl offload test.&amp;nbsp;The result using cryptodev is two orders of magnitude slower than without it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Versenkt_2-1707106416062.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261871i5FAF9D9797E163B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Versenkt_2-1707106416062.png" alt="Versenkt_2-1707106416062.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Versenkt_1-1707106394111.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261870iA09808CB28CC38F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Versenkt_1-1707106394111.png" alt="Versenkt_1-1707106394111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way to use software disk encryption and decryption to compare performance when using tagged keys?&lt;/P&gt;&lt;P&gt;如果我的英语表达有问题，您也可以尝试用中文与我交流&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 04:23:47 GMT</pubDate>
    <dc:creator>Versenkt</dc:creator>
    <dc:date>2024-02-05T04:23:47Z</dc:date>
    <item>
      <title>performance issue with disk encryption</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/performance-issue-with-disk-encryption/m-p/1801587#M219629</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm having performance issues with disk encryption.&amp;nbsp;&lt;/P&gt;&lt;P&gt;SOC: i.MX8 MP&lt;/P&gt;&lt;P&gt;Storage: 16GB eMMC 64GB microSD&lt;/P&gt;&lt;P&gt;RAM: 4GB LPDDR4 4000MT&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Versenkt_0-1707105313515.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261863iEA112609B5537611/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Versenkt_0-1707105313515.png" alt="Versenkt_0-1707105313515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this normal performance? This doesn't quite meet my expectations for "crypto acceleration" mentioned in the document.&lt;/P&gt;&lt;P&gt;A similar situation also occurred in the openssl offload test.&amp;nbsp;The result using cryptodev is two orders of magnitude slower than without it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Versenkt_2-1707106416062.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261871i5FAF9D9797E163B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Versenkt_2-1707106416062.png" alt="Versenkt_2-1707106416062.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Versenkt_1-1707106394111.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261870iA09808CB28CC38F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Versenkt_1-1707106394111.png" alt="Versenkt_1-1707106394111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way to use software disk encryption and decryption to compare performance when using tagged keys?&lt;/P&gt;&lt;P&gt;如果我的英语表达有问题，您也可以尝试用中文与我交流&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 04:23:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/performance-issue-with-disk-encryption/m-p/1801587#M219629</guid>
      <dc:creator>Versenkt</dc:creator>
      <dc:date>2024-02-05T04:23:47Z</dc:date>
    </item>
  </channel>
</rss>

