Linuxcnc getting very slow

More
6 years 9 months ago #153929 by aleksamc
Replied by aleksamc on topic Linuxcnc getting very slow
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.

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago - 6 years 8 months ago #158855 by Muz94
Replied by Muz94 on topic Linuxcnc getting very slow
Did you find a solution?
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?
Last edit: 6 years 8 months ago by Muz94.

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #158951 by aleksamc
Replied by aleksamc on topic Linuxcnc getting very slow

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.

More
6 years 7 months ago #159021 by Muz94
Replied by Muz94 on topic Linuxcnc getting very slow
I'm on 2.8 now. However I just ordered the component of my new pc, so i'll test again with a pc with at least enough ram to fit the program and i'll decide what to do.
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.

More
6 years 7 months ago #159199 by andypugh
Replied by andypugh on topic Linuxcnc getting very slow
I think that the slow part might be the graphical preview.

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.

More
6 years 7 months ago #159246 by Muz94
Replied by Muz94 on topic Linuxcnc getting very slow
I tryed.
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.

Time to create page: 0.122 seconds
Powered by Kunena Forum