Refresh large delays (axis)
11 Dec 2015 06:56 #66796
by emcPT
Refresh large delays (axis) was created by emcPT
I have several machines running linuxcnc. Configurations are quite different, linuxcnc versions are also different and hardware (PC and Mesa cards also different to suit each machine). Machines are lathes, a water jet and a plasma cutter.
Common to all machines are hand made components (but different between them), panel with encoder, buttons, ...
In most - or all - it is frequent to have large delays (5 - 10 seconds) when refreshing or loading gcode files in axis. In my case files are never large - maybe 300 lines of code. The delay is not consistent, for example if I reload the same file 10 times it can happen 2 or 8.
No problem during code execution.
I have searched the forum and I could not find anyone complaining about this, so I do not know if this is because my configuration (that I do not believe because they are different) or another thing that I am doing consistently wrong in all machines.
The delay seams graphically only, does not trigger any error, but freezes axis completely.
Any comment would be much appreciated.
Thank you
Common to all machines are hand made components (but different between them), panel with encoder, buttons, ...
In most - or all - it is frequent to have large delays (5 - 10 seconds) when refreshing or loading gcode files in axis. In my case files are never large - maybe 300 lines of code. The delay is not consistent, for example if I reload the same file 10 times it can happen 2 or 8.
No problem during code execution.
I have searched the forum and I could not find anyone complaining about this, so I do not know if this is because my configuration (that I do not believe because they are different) or another thing that I am doing consistently wrong in all machines.
The delay seams graphically only, does not trigger any error, but freezes axis completely.
Any comment would be much appreciated.
Thank you
Please Log in or Create an account to join the conversation.
11 Dec 2015 12:36 #66804
by cncbasher
Replied by cncbasher on topic Refresh large delays (axis)
i'd go along the lines of your motherboards or graphics cards are marginal . i dont have the problems you suggest .
i dont use high end mb's but i do make sure they have at least 2g memory and 512 graphics minium
over the last few years the requirements have grown considerably for linuxcnc .
however you do not mention which version of linuxcnc , not the approprate age or spec of the motherboards
however i feel a look at any external graphics might help . onboard graphics do tend to be low grade .
although a generalisation over all .
i dont use high end mb's but i do make sure they have at least 2g memory and 512 graphics minium
over the last few years the requirements have grown considerably for linuxcnc .
however you do not mention which version of linuxcnc , not the approprate age or spec of the motherboards
however i feel a look at any external graphics might help . onboard graphics do tend to be low grade .
although a generalisation over all .
The following user(s) said Thank You: emcPT
Please Log in or Create an account to join the conversation.
11 Dec 2015 13:16 #66805
by emcPT
Replied by emcPT on topic Refresh large delays (axis)
All motherboards are very recent. Bought on purpose for the work as I need to provide warranty on all parts that I install. I also install only SSDs. This happens with 2.6 to 2.7 to master versions (I have machines will all those versions).
Most systems have 4Gb memory, both most (or all) are using the internal graphics card - that are nowadays quite fast.
I will try to install a external graphics card on one of the machines to see if I still have the issue, or try to provide more memory to the on board graphics card.
Latest was a quadcore processor with a very good latency and general speed on all applications, so it is really strange the delays.
I will post again if something is found, but I would like to hear if someone else have the issue.
Most systems have 4Gb memory, both most (or all) are using the internal graphics card - that are nowadays quite fast.
I will try to install a external graphics card on one of the machines to see if I still have the issue, or try to provide more memory to the on board graphics card.
Latest was a quadcore processor with a very good latency and general speed on all applications, so it is really strange the delays.
I will post again if something is found, but I would like to hear if someone else have the issue.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Online
- Platinum Member
-
Less
More
- Posts: 4978
- Thank you received: 1376
11 Dec 2015 13:48 #66810
by Todd Zuercher
Replied by Todd Zuercher on topic Refresh large delays (axis)
Are the machines software stepping machines with very fast base-threads? At some point if the base-thread gets too fast it can consume too much of the computers resources, slowing things to a crawl. Otherwise it might be an OpenGL hiccup, that a different graphics possessor or drivers might help.
The following user(s) said Thank You: emcPT
Please Log in or Create an account to join the conversation.
11 Dec 2015 19:48 #66849
by emcPT
Replied by emcPT on topic Refresh large delays (axis)
All the machines are hardware (Mesa) based. The refresh or load is always done with the machine in idle mode, so no motion to consume resources.
In the meanwhile after cncbasher reply, I placed 512Mb in shared memory on a machine that is now with me (with onboard graphics - before it was in AUTO mode the shared memory) and it seams for today that it was ok.
Probably to soon to mark as solved, but it looks promising.
In the meanwhile after cncbasher reply, I placed 512Mb in shared memory on a machine that is now with me (with onboard graphics - before it was in AUTO mode the shared memory) and it seams for today that it was ok.
Probably to soon to mark as solved, but it looks promising.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18512
- Thank you received: 6183
12 Dec 2015 23:16 #66903
by tommylight
Replied by tommylight on topic Refresh large delays (axis)
Also you should check the SSD random access time, use a benchmark of some type there are plenty, and if you see something fuzzy, go into BIOS and change the SATA mode, or just try it without benchmarking.
The only time that i remember having that exact problem was on a laptop with IDE controller problems, even after removing the HDD and starting it from a USB it would still do that 2 to 20 second freeze depending on how big was the gcode file.
Regards,
Tom
The only time that i remember having that exact problem was on a laptop with IDE controller problems, even after removing the HDD and starting it from a USB it would still do that 2 to 20 second freeze depending on how big was the gcode file.
Regards,
Tom
The following user(s) said Thank You: emcPT
Please Log in or Create an account to join the conversation.
13 Dec 2015 12:24 #66922
by emcPT
Replied by emcPT on topic Refresh large delays (axis)
Like I told, since Friday I changed the onboard video card memory and it looks ok, maybe a few more days of testing will be conclusive. But I also like the idea of a issue with the SSD, at least it would be consistent with the issue as it occurs only in loading or refreshing a code.
Please Log in or Create an account to join the conversation.
Time to create page: 0.124 seconds