AnsweredAssumed Answered

NAND Flash Has Poor Read Performance

Question asked by 志林 韩 on Mar 1, 2019
Latest reply on Mar 1, 2019 by igorpadykov

Hello:

   We use NAND Flash : Winbond W29N02GVSIAA, but it has poor read performance.

   I did a simple read performance test:

 

dd if=/dev/mtdblock3 of=/dev/null bs=512 count=200000

200000+0 records in

200000+0 records out

102400000 bytes (97.7MB) copied, 30.378243 seconds, 3.2MB/s

   Then I found kernel startup log:

      [    0.415944] nand: Unknown W29N02GV

      [    0.415954] nand: 256MiB, SLC, page size: 2048, OOB size: 64  

      [    0.416336] gpmi-nand 112000.gpmi-nand: mode:4 ,failed in set feature.

   So I forced the nand to be in EDO mode 4. Then the read speed reached 10.6MB/s

      dd if=/dev/mtdblock3 of=/dev/null bs=512 count=200000

      200000+0 records in

      200000+0 records out

      102400000 bytes (97.7MB) copied, 9.188045 seconds, 10.6MB/s

   But it's still too slow for us,.

 

   Thanks for anyone could give me some advice to improve the read performance.

Outcomes