Solved Slow project upload speeds using DWC
-
I have my PC and Duet 6hc wired to my router and am only getting ~180 Kb/s transfer speeds. Not that this is a huge issue but I think it should be much faster. Any suggestions?
-
What kind of SD card is in there?
-
@wwak84 the bottleneck could be the network or the SD card. To find out which, send M122 P104 which will report the speed of writing to the SD card. Then take a copy of a large GCode file on your PC, change the file extension from .gcode to .dummy and upload it to the Duet, watching the upload speed reported by DWC as it nears completion. That will be the network speed because files with extension .dummy are not written to the SD card.
-
@dc42 @Phaedrux Thank you for the responses. I will double check the SD card/network speeds and see where the bottleneck is. Off the top of my head it is a 16gb class 10 card.
I should have stated that the SD card I am writing to is in the PanelDue. I don't know if that would have much impact but I will try writing to the card in the 6HC also.
-
@wwak84 Have you wired the SD card as outlined here? https://docs.duet3d.com/User_manual/Connecting_hardware/Display_PanelDue#duet-3-mb6hc-using-ribbon-cable
Has it always been slow? It is expected that external SD sockets will be slower than the internal one.Ian
-
@droftarts I just got it running so I haven't experienced any change. I have the 4 wire on an IO port and the ribbon cable (conductors 1, 9, 10 severed) on the SPI connecting the paneldue to the 6hc.
I didn't really think of this at the time I made the post but it makes sense that the writes to the external SD would be slower. I guess I was compartmentalizing things too much in thinking of keeping a "system" drive and a "job" drive. I need to test DWC transfers to my "system" drive
-
For anyone later reading this thread having similar issue:
My SD card is Class 10 (rated at 10 Mb/s write) Running M122 P104 reports 10 Mb/s write 0.8 Mb/s read on my machine.
Writing to internal SD card on 6HC main board via DWC yields transfer rates of ~1Mb/s while writing to same SD card inserted into PanelDue slot has ~180 Kb/s transfer rates. Moral of the story is: use the external socket on the PanelDue as an external/removable socket not for DWC transfers. Profound, I know
-
-
-