<?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>topic Re: about s32G sd card read write slow in S32G</title>
    <link>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1658127#M3391</link>
    <description>&lt;P&gt;BTW :&amp;nbsp; BSP is 35.0&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 06:34:07 GMT</pubDate>
    <dc:creator>hardy2023</dc:creator>
    <dc:date>2023-05-26T06:34:07Z</dc:date>
    <item>
      <title>about s32G sd card read write slow</title>
      <link>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1657536#M3372</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;we now is using&amp;nbsp;s32G , and find fileIO is realy slow.&lt;/P&gt;&lt;P&gt;we use sd card which spec with 120-190M/s for reading . but we&amp;nbsp; test only get 14.7 M/s.&lt;/P&gt;&lt;P&gt;sd card is &lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;SanDisk）64GB TF（MicroSD）存储卡 U1 C10 A1 至尊高速移动版内存卡 读速140MB/s&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;and we install sysbench and do IO testing , only get read speed 14.7 M /s. also we test random write speed get 3.42M/S.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;BTW. we have a OS run at emmc which get&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;Read 81 M/S&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Write 84.74M/S .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;t@ubuntu-s32g399ardb3:~$ sysbench --test=fileio --file-num=16 --file-total-size=1G prepare&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;16 files, 65536Kb each, 1024Mb total&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating files for the test...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Extra file open flags: 0&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.0&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.1&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.2&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.3&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.4&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.5&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.6&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.7&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.8&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.9&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.10&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.11&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.12&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.13&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.14&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Creating file test_file.15&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;1073741824 bytes written in 113.74 seconds (9.00 MiB/sec).&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;t@ubuntu-s32g399ardb3:~$ sysbench --test=fileio --file-total-size=1G --file-test-mode=rndrd --max-time=180 --max-requests=100000000 --num-threads=16 --file-num=16 --file-extra-flags=direct --file-fsync-freq=0 --file-block-size=16384 run&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;WARNING: --num-threads is deprecated, use --threads instead&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;WARNING: --max-requests is deprecated, use --events instead&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;WARNING: --max-time is deprecated, use --time instead&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Running the test with following options:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Number of threads: 16&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Initializing random number generator from current time&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Extra file open flags: 3&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;16 files, 64MiB each&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;1GiB total file size&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Block size 16KiB&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Number of IO requests: 100000000&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Read/Write ratio for combined random IO test: 1.50&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Calling fsync() at the end of test, Enabled.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Using synchronous I/O mode&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Doing random read test&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Initializing worker threads...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Threads started!&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;File operations:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;reads/s: 941.68&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;writes/s: 0.00&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;fsyncs/s: 0.00&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Throughput:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;read, MiB/s: 14.71&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;written, MiB/s: 0.00&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;General statistics:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;total time: 180.0166s&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;total number of events: 169524&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Latency (ms):&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;min: 3.92&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;avg: 16.99&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;max: 52.89&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;95th percentile: 24.83&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;sum: 2879865.98&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;Threads fairness:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;events (avg/stddev): 10595.2500/30.58&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#808080"&gt;execution time (avg/stddev): 179.9916/0.00&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 May 2023 09:21:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1657536#M3372</guid>
      <dc:creator>hardy2023</dc:creator>
      <dc:date>2023-05-25T09:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: about s32G sd card read write slow</title>
      <link>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1657849#M3382</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Which voltage are you supplying to the SD interface? Also, which BSP version are you using?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HS card requires&amp;nbsp;IO&amp;nbsp;voltage&amp;nbsp;to be switched from&amp;nbsp;3.3V to 1.8V&amp;nbsp;to work in&amp;nbsp;UHS mode.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 17:18:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1657849#M3382</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-05-25T17:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: about s32G sd card read write slow</title>
      <link>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1658058#M3389</link>
      <description>&lt;P&gt;hi Daniel, thanks for your suggestion .&lt;/P&gt;&lt;P&gt;we found at&amp;nbsp;RMS32G-VNP-RDB3.pdf maybe PD_09 pin could&amp;nbsp; change the 3.3 to 1.8V .&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Users can select the connection of the SD card or eMMC by SW3. When SW3 is set to “ON” status, the&lt;BR /&gt;S32G399A is connected to SD card interface, and IO level can be selected by VSELECT(PD_09) pin. If&lt;BR /&gt;VSELECT pin is low level or Hi-Z state, the uSDHC IO level is 3.3V; if VSELECT is high level, the uSDHC IO&lt;BR /&gt;level is 1.8V. When SW3 is set to “OFF” status, the S32G399A is connected to eMMC, the IO level is always&lt;BR /&gt;1.8V.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Now we try to install&amp;nbsp;libgpiod-tools to set&amp;nbsp; PD_09 pin . and got error with &lt;STRONG&gt;" cannot find line" .&amp;nbsp;&lt;/STRONG&gt; do you have&amp;nbsp; any sugestion ?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;t@ubuntu-s32g399ardb3:/ssd/libgpio/libgpiod$ sudo gpiodetect&lt;BR /&gt;gpiochip0 [4009d700.siul2-gpio] (191 lines)&lt;BR /&gt;gpiochip1 [0-0022] (24 lines)&lt;BR /&gt;gpiochip2 [SJA1110-gpiochip] (16 lines)&lt;BR /&gt;t@ubuntu-s32g399ardb3:/ssd/libgpio/libgpiod$ sudo gpioinfo gpiochip0&lt;BR /&gt;gpioinfo: cannot find line 'gpiochip0'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;t@ubuntu-s32g399ardb3:/ssd/libgpio/libgpiod$ sudo gpioinfo&lt;BR /&gt;gpiochip0 - 191 lines:&lt;BR /&gt;line 0: "PA_00" input&lt;BR /&gt;line 1: "PA_01" input&lt;BR /&gt;line 2: "PA_02" input&lt;BR /&gt;line 3: "PA_03" input&lt;BR /&gt;line 4: "PA_04" input&lt;BR /&gt;line 5: "PA_05" input&lt;BR /&gt;line 6: "PA_06" input&lt;BR /&gt;line 7: "PA_07" input&lt;BR /&gt;line 8: "PA_08" input&lt;BR /&gt;line 9: "PA_09" input&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;t@ubuntu-s32g399ardb3:/ssd/libgpio/libgpiod$ sudo gpioget --bias=pull-up gpiochip0 73&lt;BR /&gt;gpioget: cannot find line 'gpiochip0'&lt;BR /&gt;gpioget: cannot find line '73'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 04:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1658058#M3389</guid>
      <dc:creator>hardy2023</dc:creator>
      <dc:date>2023-05-26T04:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: about s32G sd card read write slow</title>
      <link>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1658127#M3391</link>
      <description>&lt;P&gt;BTW :&amp;nbsp; BSP is 35.0&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 06:34:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1658127#M3391</guid>
      <dc:creator>hardy2023</dc:creator>
      <dc:date>2023-05-26T06:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: about s32G sd card read write slow</title>
      <link>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1658597#M3401</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback.&lt;/P&gt;
&lt;P&gt;We see that you are using the ubuntu image. We are using the non-ubuntu image (the out-of-the-box BSP, with modifications) and by deleting the property of 'no-1-8-v' under the dts file we can obtain the following result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1685130591539.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225064i13D4C9DDDB402DE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1685130591539.png" alt="DanielAguirre_0-1685130591539.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We followed what it is stated under Chapter 3.3 of the AN13667 [Page 11, eMMC Enablement and Debugging Tips, Rev. 1, 08/2022] to modify the dts file. Once compiled, we replaced the DTB file that is located under the boot partition of the SD card.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 19:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/about-s32G-sd-card-read-write-slow/m-p/1658597#M3401</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-05-26T19:53:46Z</dc:date>
    </item>
  </channel>
</rss>

