Bridgeport Retrofit - keyboard input delays noted
- kramdradoow
- Offline
- Senior Member
- Posts: 56
- Thank you received: 1
Mark
Please Log in or Create an account to join the conversation.
- kramdradoow
- Offline
- Senior Member
- Posts: 56
- Thank you received: 1
Any of that useful to the gurus out there?
Mark
Please Log in or Create an account to join the conversation.
It might help to post your HAL and INI files in case a HAL guru can spot a configuration error of some kind
Please Log in or Create an account to join the conversation.
Not sure what the means except its not an obvious user process hogging all the CPU
It might help to post your HAL and INI files in case a HAL guru can spot a configuration error of some kind
Following this thread with great interest because I am Marks friend that also experienced the problem with a lathe retrofit I did. (same Atom PC and MESA boards). I am in the process now of retrofitting a mill and have another Atom pc which I planned to use.
I am confused a bit here, perhaps Pete can comment. The PC shows high cpu usage during normal operations but trucks along nicely, running and making parts no problem, during such times CPU usage is say 75-90%. Then, when just sitting at rest, doing a simple move with the MDI, the occasional long delay happens, DURING this delay, cpu usage shows it drops to maybe 10% or so. After the delay cpu usage returns to its previous high level and all is fine.
It seems to me that the issue is not something hogging CPU usage causing the delay, the cpu is only running at 10% or so DURING the delay. It seems the cpu is greatly UNDER utilized at this time, causing the delay. There are no apparent problems when CPU usage is showing a high utilization.
Maybe I am missing something here. I would also like to get to the bottom of this issue.
George
Please Log in or Create an account to join the conversation.
- kramdradoow
- Offline
- Senior Member
- Posts: 56
- Thank you received: 1
Thanks for the assistance. I am swimming in deep water.
Mark
Please Log in or Create an account to join the conversation.
One thing that makes this difficult is that the time used in the real time portion
does no show up with the normal CPU monitoring tools.
It might be valuable to do the halrun capture when the delay is happening
Please Log in or Create an account to join the conversation.
It seems to me that the issue is not something hogging CPU usage causing the delay, the cpu is only running at 10% or so DURING the delay. It seems the cpu is greatly UNDER utilized at this time, causing the delay.
The Intel atom is a dual core processor, are you running with isolcpus=1 on the kernel parameter line or a CPU hog?
The problem may be as Peter was suggesting, that the displayed CPU usage, is only measuring userspace threads and when they are low, could be co-inciding with high realtime usage.
There are dozens of Atom variants available as Foxcomm machines, can you be specific as to which board you have?
The video chip is another factor, there are a lot of dodgy ones in this series of MBs, would be good to know what chip that is and what driver is being used
(lspci -vv)
regards
Please Log in or Create an account to join the conversation.
This screenshot was of my computer running axis_mm sim and the default carving gcode
Even with shutter running as well to do the screenshot, xorg is well below Axis. On normal running prior to taking the shot, xorg was between 0.5% and 1% consistantly with Axis around 8% and milltask at 1.5%ish
This obviously is a much faster CPU, but percentage wise, xorg never gets near your 3 x cpu usage of axis
Please Log in or Create an account to join the conversation.
- kramdradoow
- Offline
- Senior Member
- Posts: 56
- Thank you received: 1
I turned the system on as normal. Opened a terminal window and executed "halrun". The machine turned off. Axis screen disappeared.
So then I executed "halrun" in a terminal window. Saw a command prompt "halcmd:". Then fired up LinuxCNC. I saw an error message regarding real time error and told me to run latency test before proceeding. Unfortunately I didn't capture that and ignored it. I then homed the machine. Went back to the terminal window and saw nothing had changed on the screen.
I attempted this a 2nd time and got a whole different set of results. Again, I did not capture it but I received a string of error messages (similar to what I would see if i were to attempt to start LinuxCNC without my field supply turned on).
I assume from reading the man page for halrun, there are some parameters you assumed that I might know. I guess the bottom line is, can you be very specific how you wish me to do the "halrun capture"? I am missing something.
Mark
Please Log in or Create an account to join the conversation.
halcmd show all > allhal.txt
and post the allhal.txt file here again
Please Log in or Create an account to join the conversation.