- Posts: 570
- Thank you received: 67
Linuxcnc getting very slow
As for me, I divide my program on the small parts that suits me.
You can use such O-codes: "o<myfile> call" in main program.
What program are you using for generating G-code? Some programs can divide G-code files automatical after making correspondent settings in post processor.
Please Log in or Create an account to join the conversation.
I use linuxcnc to control a 3d printer, and it's not unusual to have prints that last multiple days.
The control software should only load a small portion of the code and dinamically retrieve more code as it runs.
I know that my pc is quite old, but i don't think it's normal that i have to wait 20 minutes to load a program (without backplot) and then having to use a laggy, constantly swapping pc with full ram.
edit: I just discovered that tklinuxcnc GUI actually DOES load the program dinamically. I loaded the program in 10 seconds without any issues.
Can't this behaviour be ported to gmoccapy or axis?
Please Log in or Create an account to join the conversation.
aleksamc wrote: I also have such sloweness in my program when the size of it become big. I see such problem at program size biger than 10Mb. Yes, I have old PC.
As for me, I divide my program on the small parts that suits me.
You can use such O-codes: "o<myfile> call" in main program.
What program are you using for generating G-code? Some programs can divide G-code files automatical after making correspondent settings in post processor.
It was my solutins. But new update of linuxcnc - v.2.7.15 looks like loads faster. Have you tried it?
Please Log in or Create an account to join the conversation.
Dividing the program isn't that easy on a 3d printer, but I guess I could write a script myself if I need it.
Please Log in or Create an account to join the conversation.
You could try adding the (AXIS, STOP) magic comment to the files.
(See the Axis GUI documentation for details)
Please Log in or Create an account to join the conversation.
It helps, but i still fill 1GB of RAM and my pc starts swapping.
I'll try again as soon as i receive my new motherboard with 8GB of ram
Please Log in or Create an account to join the conversation.