- Posts: 255
- Thank you received: 0
Guidance Needed! Initial LinuxCNC/PncConf setup
3 years 8 months ago #265139
by Sray69
Replied by Sray69 on topic Guidance Needed! Initial LinuxCNC/PncConf setup
I ran the same latency test (latency-histogram --nobase --sbinsize 5000) as mentioned previously. I ran it for 52 minutes with 5 glxgears running, browser with about 20 tabs open.
Attachment not found
Please Log in to join the conversation.
3 years 8 months ago #265144
by 0x2102
Replied by 0x2102 on topic Guidance Needed! Initial LinuxCNC/PncConf setup
You might want to try a different kernel to see if that helps or not. I have had issues with 5.10.xx-rt and upgraded to 6.0.0-rt.
sudo apt search linux-image*
I am on 6.0 (bullseye).
linux-image-6.0.0-0.deb11.6-rt-amd64/now 6.0.12-1~bpo11+1 amd64 [installed,local]
sudo apt search linux-image*
I am on 6.0 (bullseye).
linux-image-6.0.0-0.deb11.6-rt-amd64/now 6.0.12-1~bpo11+1 amd64 [installed,local]
Please Log in to join the conversation.
3 years 8 months ago #265145
by Sray69
Replied by Sray69 on topic Guidance Needed! Initial LinuxCNC/PncConf setup
I ran:
sudo apt search linux-image*
Results:
I do not see a 6.0 but there is a 6.1.0-3. Which one would I install? And do I need to also install the headers or will they be installed with the kernel?
It has been a while since I installed my current kernel, what is the easiest way to install?
sudo apt search linux-image*
Results:
Attachment not found
I do not see a 6.0 but there is a 6.1.0-3. Which one would I install? And do I need to also install the headers or will they be installed with the kernel?
It has been a while since I installed my current kernel, what is the easiest way to install?
Please Log in to join the conversation.
3 years 8 months ago #265151
by 0x2102
Replied by 0x2102 on topic Guidance Needed! Initial LinuxCNC/PncConf setup
Then try 6.1.0.3
sudo apt install -y linux-image-6.1.0.3-rt-amd64 linux-headers-6.1.0.3-rt-amd linux-image-6.1.0.3-rt-amd64-dbg
sudo apt install -y linux-image-6.1.0.3-rt-amd64 linux-headers-6.1.0.3-rt-amd linux-image-6.1.0.3-rt-amd64-dbg
Please Log in to join the conversation.
3 years 8 months ago #265176
by Sray69
Replied by Sray69 on topic Guidance Needed! Initial LinuxCNC/PncConf setup
I have updated the kernel and reran the tests. The latency test appears pretty much the same as above and the network latency test is right around the same as well.
So what does that mean? Is the biggest concern the network latency? Or do both look bad?
What can I do to fix this? Add a network card?
So what does that mean? Is the biggest concern the network latency? Or do both look bad?
What can I do to fix this? Add a network card?
Please Log in to join the conversation.
3 years 8 months ago #265194
by PCW
Replied by PCW on topic Guidance Needed! Initial LinuxCNC/PncConf setup
The network latency is the issue (if its still multiple ms)
You can try running the system with more relaxed timeouts
and see how you do. (set the WD timeout to say 10 ms and
the packet error limit to say 20)
Adding an Intel network card may help
You can try running the system with more relaxed timeouts
and see how you do. (set the WD timeout to say 10 ms and
the packet error limit to say 20)
Adding an Intel network card may help
Please Log in to join the conversation.
3 years 8 months ago #265207
by Sray69
Replied by Sray69 on topic Guidance Needed! Initial LinuxCNC/PncConf setup
It looks like this is a known problem with all kernels past 4.9. I have not read the links that Rod included in his post to see if there is any workaround or solution yet. It is late. Will read more tomorrow.
Network latency breaks Mesa ethernet connection #2281
Network latency breaks Mesa ethernet connection #2281
Please Log in to join the conversation.
3 years 8 months ago #265208
by rodw

This is whay I'm trying to get linuxcnc runnig on ARM hardware but its slow going.
Replied by rodw on topic Guidance Needed! Initial LinuxCNC/PncConf setup
I'm just a disciple studying under the grand master PCW !It looks like this is a known problem with all kernels past 4.9. I have not read the links that Rod included in his post to see if there is any workaround or solution yet. It is late. Will read more tomorrow.
Network latency breaks Mesa ethernet connection #2281
This is whay I'm trying to get linuxcnc runnig on ARM hardware but its slow going.
Please Log in to join the conversation.
3 years 8 months ago #265240
by PCW
Replied by PCW on topic Guidance Needed! Initial LinuxCNC/PncConf setup
In my experience the kernel network issues started past kernel 4.19.x.
The issue is quite hardware dependent and the 6.X kernels work acceptably
on most of my test machines (6.2 seems a bit better than 6.1)
What Ethernet hardware is on your motherboard?
Also your latency histogram shows only one core. why is that?
That will likely make your network latency worse...
The issue is quite hardware dependent and the 6.X kernels work acceptably
on most of my test machines (6.2 seems a bit better than 6.1)
What Ethernet hardware is on your motherboard?
Also your latency histogram shows only one core. why is that?
That will likely make your network latency worse...
Please Log in to join the conversation.
3 years 8 months ago #265244
by Sray69
LAN Controller: Realtek RTL8111E
Ethernet Interface Type: Gigabit Ethernet
Yeah I noticed the single core on the histogram. I am not sure why it is only running one core. Any suggestions on how to fix that?
Replied by Sray69 on topic Guidance Needed! Initial LinuxCNC/PncConf setup
It looks like the Ethernet hardware is as follows:In my experience the kernel network issues started past kernel 4.19.x.
The issue is quite hardware dependent and the 6.X kernels work acceptably
on most of my test machines (6.2 seems a bit better than 6.1)
What Ethernet hardware is on your motherboard?
Also your latency histogram shows only one core. why is that?
That will likely make your network latency worse...
LAN Controller: Realtek RTL8111E
Ethernet Interface Type: Gigabit Ethernet
Yeah I noticed the single core on the histogram. I am not sure why it is only running one core. Any suggestions on how to fix that?
Please Log in to join the conversation.
Time to create page: 0.116 seconds
