Linuxcnc getting very slow
- MarcoGaspar
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 2
28 Jan 2019 21:10 #125099
by MarcoGaspar
Linuxcnc getting very slow was created by MarcoGaspar
Hello,
Don't know if is only my linuxcnc or is a defect.
My linuxcnc (2.7.14) after running big programs and with may hours of gcode gets very slow (only the linuxcnc interface)... if i try to do joging it don't respond instantly and when releasing key jog the machine continues moving some seconds if i do start again the machine runs normaly but all visual things of linuxcnc is very slow..... if i close linuxcnc and start it again it's normal again.
my normal programs are like this: marcogaspar.net/linuxcnc/10_01.zip about 14h running
i atached my config files.
My Hardware:
Gibabyte h310m with Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)
Connected directy to 7i76e
Don't know if is only my linuxcnc or is a defect.
My linuxcnc (2.7.14) after running big programs and with may hours of gcode gets very slow (only the linuxcnc interface)... if i try to do joging it don't respond instantly and when releasing key jog the machine continues moving some seconds if i do start again the machine runs normaly but all visual things of linuxcnc is very slow..... if i close linuxcnc and start it again it's normal again.
my normal programs are like this: marcogaspar.net/linuxcnc/10_01.zip about 14h running
i atached my config files.
My Hardware:
Gibabyte h310m with Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)
Connected directy to 7i76e
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
Less
More
- Posts: 2254
- Thank you received: 1995
28 Jan 2019 21:24 - 28 Jan 2019 21:27 #125100
by Grotius
Replied by Grotius on topic Linuxcnc getting very slow
Hi,
If linuxcnc start's, what kind of warnings are diplayed in terminal display?
If you don't get warning's at startup, i don't suggest any buffer's that would be come overloaded.
Another suggestion is, try the same program with a fresh pc and concider the differcence in output level.
Do you have goto statement's in your code?
If linuxcnc start's, what kind of warnings are diplayed in terminal display?
If you don't get warning's at startup, i don't suggest any buffer's that would be come overloaded.
Another suggestion is, try the same program with a fresh pc and concider the differcence in output level.
Do you have goto statement's in your code?
Last edit: 28 Jan 2019 21:27 by Grotius.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
Less
More
- Posts: 504
- Thank you received: 157
28 Jan 2019 21:32 #125101
by Hakan
Replied by Hakan on topic Linuxcnc getting very slow
I suspect there is a tad to little memory in the machine. How much is there?
Please Log in or Create an account to join the conversation.
- MarcoGaspar
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 2
28 Jan 2019 21:33 #125102
by MarcoGaspar
Replied by MarcoGaspar on topic Linuxcnc getting very slow
This is a new pc it was the same with the other one.
No goto statemens only pure gcode g0,g01,g02,g03
No goto statemens only pure gcode g0,g01,g02,g03
Please Log in or Create an account to join the conversation.
- MarcoGaspar
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 2
28 Jan 2019 21:41 #125103
by MarcoGaspar
mjg@mjg:~$ free -m
total used free shared buff/cache available
Mem: 7847 4799 2428 15 620 2926
Swap: 8050 0 8050
mjg@mjg:~$ vmstat -s
8036268 K total memory
4914696 K used memory
5117340 K active memory
224476 K inactive memory
2485976 K free memory
115504 K buffer memory
520092 K swap cache
8244220 K total swap
0 K used swap
8244220 K free swap
4153683 non-nice user cpu ticks
24 nice user cpu ticks
28375 system cpu ticks
14818533 idle cpu ticks
4357 IO-wait cpu ticks
0 IRQ cpu ticks
481 softirq cpu ticks
0 stolen cpu ticks
495703 pages paged in
471627 pages paged out
0 pages swapped in
0 pages swapped out
473911939 interrupts
1006311229 CPU context switches
1548663508 boot time
145936 forks
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x003B, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x003A
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 8192 MB
Form Factor: DIMM
Set: None
Locator: ChannelA-DIMM0
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous
Speed: 2133 MHz
Manufacturer: Kingston
Serial Number: 8E0B7402
Asset Tag: 9876543210
Part Number: KHX2133C14/8G
Rank: 1
Configured Clock Speed: 2133 MHz
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Replied by MarcoGaspar on topic Linuxcnc getting very slow
I suspect there is a tad to little memory in the machine. How much is there?
mjg@mjg:~$ free -m
total used free shared buff/cache available
Mem: 7847 4799 2428 15 620 2926
Swap: 8050 0 8050
mjg@mjg:~$ vmstat -s
8036268 K total memory
4914696 K used memory
5117340 K active memory
224476 K inactive memory
2485976 K free memory
115504 K buffer memory
520092 K swap cache
8244220 K total swap
0 K used swap
8244220 K free swap
4153683 non-nice user cpu ticks
24 nice user cpu ticks
28375 system cpu ticks
14818533 idle cpu ticks
4357 IO-wait cpu ticks
0 IRQ cpu ticks
481 softirq cpu ticks
0 stolen cpu ticks
495703 pages paged in
471627 pages paged out
0 pages swapped in
0 pages swapped out
473911939 interrupts
1006311229 CPU context switches
1548663508 boot time
145936 forks
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x003B, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x003A
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 8192 MB
Form Factor: DIMM
Set: None
Locator: ChannelA-DIMM0
Bank Locator: BANK 0
Type: DDR4
Type Detail: Synchronous
Speed: 2133 MHz
Manufacturer: Kingston
Serial Number: 8E0B7402
Asset Tag: 9876543210
Part Number: KHX2133C14/8G
Rank: 1
Configured Clock Speed: 2133 MHz
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
Less
More
- Posts: 2254
- Thank you received: 1995
28 Jan 2019 21:48 - 28 Jan 2019 21:56 #125104
by Grotius
Replied by Grotius on topic Linuxcnc getting very slow
Haha 3.7 milion lines of gcode.
Hmm, small piece 100mm. 18000 spindle speed. Looks like a difficult part, hard surface.
Still not loading. Tool 3 not found, If i add tool 3, no loading.
Hmm, small piece 100mm. 18000 spindle speed. Looks like a difficult part, hard surface.
Still not loading. Tool 3 not found, If i add tool 3, no loading.
Last edit: 28 Jan 2019 21:56 by Grotius.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17991
- Thank you received: 4838
28 Jan 2019 22:01 #125106
by PCW
Replied by PCW on topic Linuxcnc getting very slow
My suspicion would be that this is backplot related
Do you need the backplot?
Have you checked the behaviour with the backplot disabled or limited?
Running top might give some more insight into where all your CPU cycles are going...
Do you need the backplot?
Have you checked the behaviour with the backplot disabled or limited?
Running top might give some more insight into where all your CPU cycles are going...
Please Log in or Create an account to join the conversation.
- MarcoGaspar
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 2
28 Jan 2019 22:05 #125108
by MarcoGaspar
No i do not need backplot.
How to disable or limit it?
Replied by MarcoGaspar on topic Linuxcnc getting very slow
My suspicion would be that this is backplot related
Do you need the backplot?
Have you checked the behaviour with the backplot disabled or limited?
Running top might give some more insight into where all your CPU cycles are going...
No i do not need backplot.
How to disable or limit it?
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
Less
More
- Posts: 2254
- Thank you received: 1995
28 Jan 2019 22:12 - 28 Jan 2019 22:18 #125109
by Grotius
Replied by Grotius on topic Linuxcnc getting very slow
Attachments:
Last edit: 28 Jan 2019 22:18 by Grotius.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17991
- Thank you received: 4838
28 Jan 2019 22:19 - 28 Jan 2019 22:31 #125110
by PCW
Replied by PCW on topic Linuxcnc getting very slow
You can turn off the backplot by hand via the GUI (in axis these options are in the view menu)
You can also disable the preview with a gcode comment (AXIS,hide)
You can also disable the preview with a gcode comment (AXIS,hide)
Last edit: 28 Jan 2019 22:31 by PCW.
Please Log in or Create an account to join the conversation.
Time to create page: 0.094 seconds