Upload of Gcode is fast, copy to printer is very slow.
 
Notifications
Clear all

Upload of Gcode is fast, copy to printer is very slow.  

  RSS
DaveGadgeteer
(@davegadgeteer)
Eminent Member
Upload of Gcode is fast, copy to printer is very slow.

I'm unclear where the file lives at various stages in the process.

The final step before printing is a very slow upload to printer. Painfully slow. Original upload of gcode file is very fast.

I clearly don't understand something correctly, as I find it frustrating to finish one print and begin another. I seem to have to confirm the printer is ready 3 or 4 times, and both on computer and printer hardware. What's the smoothest routine to finish one print, then clear the plate and start another, using Connect? Using wifi.

Opublikowany : 08/06/2023 8:47 pm
Tojik
(@tojik)
Member Moderator
RE: Upload of Gcode is fast, copy to printer is very slow.

Hi, so now you have to clean the bed and then get to the main menu, then you can set the printer to ready from Connect and it should print. In the next update, I think it won't need to be in the main menu to accept a print request.

The first upload is from you to Connect, the second moves the file into the printer. That one is slow. We are working on it. The most you can do right now is connect the printer through ethernet if you've using wifi, but the speed boost won't be that big anyways.
Sorry about that

Opublikowany : 08/06/2023 8:59 pm
Tysonsw polubić
Corey Ward
(@corey-ward)
Member
RE: Upload of Gcode is fast, copy to printer is very slow.

I'm having this issue too where uploading files directly to the printer over gigabit ethernet is painfully slow—we're talking about ~16KB/s. I have a reasonably fast USB drive (15Mb write, 30+MB read, as verified by Blackmagic Disk Speed Test) in the printer freshly formatted as FAT32. This happens when using PrusaLink or the Physical Printer interface in PrusaSlicer (with a local IP address), so Connect isn't a bottleneck or factor I don't believe.

Opublikowany : 20/08/2023 11:54 pm
Tojik
(@tojik)
Member Moderator
RE: Upload of Gcode is fast, copy to printer is very slow.

Hi, the uploads are usually slow, but not THAT slow. We should be getting to around 200 - 300 KB/s. I develop PrusaLink for the MK3 so I don't see into the FW code. I'll ask my colleagues.
One thing to verify is whether the printer is set to use the ethernet, or is still trying to get the file over wifi, if you've configured that previously. Our printers lack automatic switching for that.
Also, what firmware are you on? The Alpha or 4.7.2? Assuming you're using the MK4. The FW team is trying their best to make the speeds not a problem anymore, so the code is changing and it might be unstable in the Alpha as a result of that.

Opublikowany : 21/08/2023 11:01 am
Corey Ward
(@corey-ward)
Member
RE: Upload of Gcode is fast, copy to printer is very slow.

It used to be faster, but has been going much slower lately. MK4 on 5.0.0-RC (latest). I confirmed the printer is set to Eth in the Network settings, and the IP address I am using to connect is showing as directly connected in my gateway/router software. It is about twice as fast if I use PrusaLink directly, but still painfully slow.

Is there a reason the bandwidth caps out so low? It seems like it would be viable to support at least 1MB/s (8mbps).

Opublikowany : 21/08/2023 1:43 pm
Tojik
(@tojik)
Member Moderator
RE: Upload of Gcode is fast, copy to printer is very slow.

I do not understand how it's connected internally but we're limited by the interconnect speed Ethernet/Wi-Fi -> USB. My hunch is that ethernet could do more, but getting it to the USB is the bottleneck. The Wi-Fi itself is probably slower? IDK

The target was 2.4Mbit. We are also working on making the gcode files smaller as well as another way that would make the download speed not matter almost at all. All this is tbd and is not official yet.

For the time being, please try reverting back to 4.7.2 to see if the speed is "ok" there.

Opublikowany : 21/08/2023 1:58 pm
Mrgigg
(@mrgigg)
Member
RE: Upload of Gcode is fast, copy to printer is very slow.

Agree with the OP, feeling the frustration of the slow speeds and am glad to hear it is being worked on. It is almost instant on my MK3S+ using a Rasberry PI 3B running PrusaLink/Connect, whereas on the MK4 it takes a few minutes to upload and then download even the smallest of files.

Opublikowany : 21/08/2023 6:51 pm
Bullseye3d
(@bullseye3d)
Eminent Member
RE:

No way it's the USB bottlenecking the thing, unless the usb port on the mk4 side is the problem, because no usb flash drive is THAT slow. 

Right now when I want to print larger files I get the usb stick in my PC and load it from there, then put the drive back in the mk4, it takes a minute, versus 10 minutes when trying to upload from prusaconnect 🙁 

Hoping they fix that soon 🙁

Opublikowany : 22/08/2023 2:00 am
Tojik
(@tojik)
Member Moderator
RE: Upload of Gcode is fast, copy to printer is very slow.

The printer is running on a microcontroller, the standard usb and ethernet speeds don't apply. The printer is the bottleneck. Just saying that the usb implementation on that STM32F4 is slowing stuff down. And I am not even sure to what degree.

Opublikowany : 22/08/2023 10:05 am
Share: