Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    SD card read speed on Duet 3 Mini 5+ lower than write?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    5
    308
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • j3dundefined
      j3d
      last edited by

      Hi everyone, I was wondering if anyone else was experiencing this. I am using the SD card that was provided with my Duet 3 Mini 5+. When I test it, it seems that the write speed is faster than the read speed?

      M122 P104 S25
      Testing SD card write speed...
      SD write speed for 25.0Mbyte file was 3.74Mbytes/sec
      Testing SD card read speed...
      SD read speed for 25.0Mbyte file was 0.64Mbytes/sec
      
      M122
      ...
      === Storage ===
      Free file entries: 10
      SD card 0 detected, interface speed: 22.5MBytes/sec
      SD card longest read time 4.3ms, write time 166.2ms, max retries 0
      ...
      

      What kinds of speeds are you all experiencing? I'm running 3.4.0beta5.

      Alex.crundefined o_lampeundefined dc42undefined 3 Replies Last reply Reply Quote 0
      • Alex.crundefined
        Alex.cr @j3d
        last edited by

        @j3d

        Your SD socket might be failing. Is everything working correctly?

        There are several comments about read/write speeds here:
        https://duet3d.dozuki.com/Wiki/SD_Card#Section_SD_Card

        Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

        j3dundefined 1 Reply Last reply Reply Quote 0
        • j3dundefined
          j3d @Alex.cr
          last edited by

          @alex-cr Everything seems to be working to the best of my knowledge.

          1 Reply Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @j3d
            last edited by o_lampe

            @j3d I can copy that with RRF3.3 on a STM board. (Duet2 is the same 1:3 factor between read/write)
            The reason might be, that reading data always loops through the gcode parser/planner? Just guessing...

            Did you try to upload/download a huge file through DWC and count seconds? IMHO, that should be more equal.

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @j3d
              last edited by

              @j3d the reason is that we want file uploads to be as fast as possible, and SD cards prefer large block writes; so RRF uses a 8K write buffer. In contrast, it's rare to download files from the Duet, and other file reads from the SD card don't need large blocks of data in one go; so RRF uses much smaller read buffers.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA