You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/02 13:24:34 UTC

[GitHub] [incubator-nuttx] davids5 commented on pull request #3760: Fix calculation of free clusters at mounting a fat partition

davids5 commented on pull request #3760:
URL: https://github.com/apache/incubator-nuttx/pull/3760#issuecomment-872996312


   @retogaeh - Just as a second data point: 
   
   HW using SDMMC interface, F4 core.
   
   Depending on the brand/class of SD card I can see from a slight (.57 Sec) a very noticeable delay (4+ Sec) on the same F4 hardware, with small (8G) SD cards. 
   
   Kigston 8G adds **4.02** Seconds to boot
   ```
   nsh> sd_bench
   INFO  [sd_bench] Using block size = 4096 bytes, sync=0
   INFO  [sd_bench]
   INFO  [sd_bench] Testing Sequential Write Speed...
   INFO  [sd_bench]   Run  0:   139.73 KB/s, max write time: 101 ms (=  39.60 KB/s), fsync: 16 ms
   INFO  [sd_bench]   Run  1:   141.05 KB/s, max write time: 110 ms (=  36.36 KB/s), fsync: 17 ms
   INFO  [sd_bench]   Run  2:   130.24 KB/s, max write time: 141 ms (=  28.37 KB/s), fsync: 17 ms
   INFO  [sd_bench]   Run  3:   138.25 KB/s, max write time: 143 ms (=  27.97 KB/s), fsync: 15 ms
   INFO  [sd_bench]   Run  4:   126.14 KB/s,
   ```
   SanDisk 8G - adds **0.57** Seconds to boot
   ```
   nsh> sd_bench
   INFO  [sd_bench] Using block size = 4096 bytes, sync=0
   INFO  [sd_bench]
   INFO  [sd_bench] Testing Sequential Write Speed...
   INFO  [sd_bench]   Run  0:   523.11 KB/s, max write time: 20 ms (= 200.00 KB/s), fsync: 4 ms
   INFO  [sd_bench]   Run  1:   516.35 KB/s, max write time: 13 ms (= 307.69 KB/s), fsync: 4 ms
   INFO  [sd_bench]   Run  2:   338.55 KB/s, max write time: 675 ms (=   5.93 KB/s), fsync: 4 ms
   INFO  [sd_bench]   Run  3:   520.07 KB/s, max write time: 12 ms (= 333.33 KB/s), fsync: 4 ms
   INFO  [sd_bench]   Run  4:   403.92 KB/s, max write time: 458 ms (=   8.73 KB/s), fsync: 6 ms
   INFO  [sd_bench]   Avg   :   460.39 KB/s
   ```
   
   To be fair this is 10.0.0 nuttx compared to master.  But seeing the delay is at boot I would assume it is the scan. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org