Error while Running Linuxcnc
18 Sep 2024 01:25 #310351
by rajsekhar
Replied by rajsekhar on topic Error while Running Linuxcnc
Well, one thing I want to understand i.e latency spike is solely due to computer hardware failure and not due to communication failure with mesa card, am I correct?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
18 Sep 2024 01:34 #310352
by tommylight
Replied by tommylight on topic Error while Running Linuxcnc
Yes you are correct.
Things that can cause sudden latency spikes are, in order:
-CPU overheating and throttling down
-failing power supply
-failing motherboard capacitors
-failing hard drive (as Todd mentioned)
-failing memory modules
-
To check temperatures and sometimes voltages, in a terminal
sensors
while LinuxCNC is running
In case the spikes are at exact intervals, say every 5 or 15 or 30 or 60 minutes, USB devices that can not go into sleep mode when requested by the PC, usually WiFi or bluetooth or cameras. Use the latency-plot if you suspect this might be the cause.
Things that can cause sudden latency spikes are, in order:
-CPU overheating and throttling down
-failing power supply
-failing motherboard capacitors
-failing hard drive (as Todd mentioned)
-failing memory modules
-
To check temperatures and sometimes voltages, in a terminal
sensors
while LinuxCNC is running
In case the spikes are at exact intervals, say every 5 or 15 or 30 or 60 minutes, USB devices that can not go into sleep mode when requested by the PC, usually WiFi or bluetooth or cameras. Use the latency-plot if you suspect this might be the cause.
Please Log in or Create an account to join the conversation.
19 Sep 2024 05:09 #310422
by rajsekhar
Replied by rajsekhar on topic Error while Running Linuxcnc
Well, I run sensor in terminal and output is in below:
==============================================================
raycnc1@debian:~/Desktop$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +56.0°C (high = +84.0°C, crit = +100.0°C)
Core 0: +56.0°C (high = +84.0°C, crit = +100.0°C)
Core 1: +54.0°C (high = +84.0°C, crit = +100.0°C)
acpitz-acpi-0
Adapter: ACPI interface
temp1: +16.8°C (crit = +20.8°C)
temp2: +27.8°C (crit = +119.0°C)
temp3: +29.8°C (crit = +119.0°C)
radeon-pci-0100
Adapter: PCI adapter
temp1: +60.5°C (crit = +120.0°C, hyst = +90.0°C)
raycnc1@debian:~/Desktop$
=================================================================
Now the max jotter is 7000ns (servo thread) and 11880ns(base thread). If any thing abnormal in above data, please reply.
I am waiting for the spike to happen again and check sensor data again.
==============================================================
raycnc1@debian:~/Desktop$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +56.0°C (high = +84.0°C, crit = +100.0°C)
Core 0: +56.0°C (high = +84.0°C, crit = +100.0°C)
Core 1: +54.0°C (high = +84.0°C, crit = +100.0°C)
acpitz-acpi-0
Adapter: ACPI interface
temp1: +16.8°C (crit = +20.8°C)
temp2: +27.8°C (crit = +119.0°C)
temp3: +29.8°C (crit = +119.0°C)
radeon-pci-0100
Adapter: PCI adapter
temp1: +60.5°C (crit = +120.0°C, hyst = +90.0°C)
raycnc1@debian:~/Desktop$
=================================================================
Now the max jotter is 7000ns (servo thread) and 11880ns(base thread). If any thing abnormal in above data, please reply.
I am waiting for the spike to happen again and check sensor data again.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
19 Sep 2024 14:26 #310457
by tommylight
Replied by tommylight on topic Error while Running Linuxcnc
Graphic card is way to hot while doing nothing, is it an add on or built in?
That is the Radeon thingy, made by AMD.
That is the Radeon thingy, made by AMD.
Please Log in or Create an account to join the conversation.
20 Sep 2024 05:21 #310489
by rajsekhar
Replied by rajsekhar on topic Error while Running Linuxcnc
Graphics card is added, not built-in. Without graphics card, max jitter comes in the range of 50,000ns~80,000ns.
And this morning I faced new error situation. Screen shot attached. It is reading error as message says. What exactly causes it? Machine inputs and outputs stops working with this error.
.
And this morning I faced new error situation. Screen shot attached. It is reading error as message says. What exactly causes it? Machine inputs and outputs stops working with this error.
.
Please Log in or Create an account to join the conversation.
20 Sep 2024 13:42 #310514
by rajsekhar
Replied by rajsekhar on topic Error while Running Linuxcnc
Well today I measured temperature readings with Infrared thermometer as follows:
Ambient 32 degree C.
7i92 on FPGA chip(black/square shape)= 45~47 degree C.
7i76, 7i84= 39~42 degree C.
Stepper drivers=40~43 degree C.
SMPS=39~42 degree C.
Note-1) I had intentionally kept the cooling fan of the panels off to check the maximum temperature rise pattern.
Note-2) ambient temp easily goes upto 45 Degree C in summer (Now Autum here) and considering its application i.e oxyfuel cutting for intended 12~16 hour per day in Industrial environment, ambient will reach upto 50 degreeC.
Now, is such temperature are suitable for Mesa and computer hardwares? What shall be the maximum allowable limit as I am planning to install temperature switch in Panel.
Ambient 32 degree C.
7i92 on FPGA chip(black/square shape)= 45~47 degree C.
7i76, 7i84= 39~42 degree C.
Stepper drivers=40~43 degree C.
SMPS=39~42 degree C.
Note-1) I had intentionally kept the cooling fan of the panels off to check the maximum temperature rise pattern.
Note-2) ambient temp easily goes upto 45 Degree C in summer (Now Autum here) and considering its application i.e oxyfuel cutting for intended 12~16 hour per day in Industrial environment, ambient will reach upto 50 degreeC.
Now, is such temperature are suitable for Mesa and computer hardwares? What shall be the maximum allowable limit as I am planning to install temperature switch in Panel.
Please Log in or Create an account to join the conversation.
20 Sep 2024 15:11 #310520
by PCW
Replied by PCW on topic Error while Running Linuxcnc
Those temperatures are all fine.
I would suspect failing PC hardware with the 49 ms latency spike
Can you try without the graphic card installed?
I would suspect failing PC hardware with the 49 ms latency spike
Can you try without the graphic card installed?
Please Log in or Create an account to join the conversation.
21 Sep 2024 04:11 #310527
by rajsekhar
Replied by rajsekhar on topic Error while Running Linuxcnc
Today I removed the graphics card and ran the machine.
Latency data in attached screen shot. Latency test and Linuxcnc run together.
I increased the servo period.
but "error finishing read" continues.
What to do?
Latency data in attached screen shot. Latency test and Linuxcnc run together.
I increased the servo period.
but "error finishing read" continues.
What to do?
Please Log in or Create an account to join the conversation.
21 Sep 2024 16:56 #310558
by PCW
Replied by PCW on topic Error while Running Linuxcnc
Have you disabled all power saving in the BIOS? (C states >C1, any turbo mode etc)
What actual PC hardware are you using?
It may be that it is not suited to real time
(a 49 ms real time delay is fatal for any LinuxCNC installation running actual motion hardware)
What actual PC hardware are you using?
It may be that it is not suited to real time
(a 49 ms real time delay is fatal for any LinuxCNC installation running actual motion hardware)
Please Log in or Create an account to join the conversation.
21 Sep 2024 17:48 #310562
by rajsekhar
Replied by rajsekhar on topic Error while Running Linuxcnc
Bios power saving options already disabled. It is a dual core processor, isolcpus=1 set, latency max jitter comes 50,000ns to 85,000ns(as the graphics card already removed), ping test data already given in this topic earlier. What else to check?
One more question: I have a Raspberry pi4, 2GB ram in stock. Any better result expected with that?
One more question: I have a Raspberry pi4, 2GB ram in stock. Any better result expected with that?
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds