error finishing read!

More
02 Jun 2024 16:07 #302170 by Anton
Replied by Anton on topic error finishing read!
I have run the long ping test 3 times. Here are the 3 results for max:
First ping test: 4.2ms 
Second ping test : 3.4ms
Third ping test: 15.9ms

So it didn't get any better.

Above in the attachment I had shown file /etc/network/interfaces.
There I had inserted lines for eth0 as described in man hm2_eth. Do I have to replace eth0 with enp5s0?

Greetings Anton

Please Log in or Create an account to join the conversation.

More
02 Jun 2024 16:25 #302172 by tommylight
Replied by tommylight on topic error finishing read!
Did you do the network manager stuff?

Please Log in or Create an account to join the conversation.

More
02 Jun 2024 17:15 #302180 by Anton
Replied by Anton on topic error finishing read!
yes of course
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
02 Jun 2024 18:53 #302189 by chris@cnc
Replied by chris@cnc on topic error finishing read!
the screenshot you sent, it shows "no_isolcpus". I would try „isolcpus=5.7“ in grub command line. 

Please Log in or Create an account to join the conversation.

More
02 Jun 2024 20:23 #302194 by Anton
Replied by Anton on topic error finishing read!
Hi unfortunately grub command line doesn't tell me anything. how do i get there and what command do i have to enter there?

Please Log in or Create an account to join the conversation.

More
03 Jun 2024 03:57 #302222 by chris@cnc
Replied by chris@cnc on topic error finishing read!
edit the grub command boot file

sudo nano /etc/default/grub

Find the line: GRUB_CMDLINE_LINUX_DEFAULT=""
edit to : GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=5,7"

Then save and exit: ctrl+x then press "y" to confirm

sudo update-grub

sudo reboot

Please Log in or Create an account to join the conversation.

More
03 Jun 2024 04:42 #302223 by Anton
Replied by Anton on topic error finishing read!
Thank you for the information.
I thought it would be more complicated.
If I have understood correctly, then cores 5 to 7 are isolated. But what are these cores used for?
Don't you still have to assign the IRQ from the network card to a core?
I'll try later to see if Chris's instructions lead to an improvement. 

Please Log in or Create an account to join the conversation.

More
03 Jun 2024 11:44 #302235 by Anton
Replied by Anton on topic error finishing read!
Unfortunately, the behaviour has deteriorated again. After starting LinuxCNC, the finishing read error now appears immediately. The motors can no longer be moved at all. Perhaps this laptop is simply not suitable.
Attached is the histogram and the ping with isolcpus=5.7.
Attachments:

Please Log in or Create an account to join the conversation.

More
08 Jun 2024 10:30 - 08 Jun 2024 11:43 #302618 by Anton
Replied by Anton on topic error finishing read!
I have installed LinuxCNC on 3 computers so far. 
1) Laptop i7: Very good latency times, very poor ping times - > unusable
2) Esprimo Q956 Mini PC with i5: poor latency, good ping - > unusable
3) DELL Optiplex 7010 Mini PC with Intel Celeron G2030 (by far the weakest processor): good latency, good ping (see appendix) -> usable
 
So the worst of the 3 processors is the best for real-time Linux in terms of latency and ping!!!???
So it must also be due to the mainboard, possibly the memory, ... !?

sunny greetings

 
Attachments:
Last edit: 08 Jun 2024 11:43 by Anton.

Please Log in or Create an account to join the conversation.

More
08 Jun 2024 15:51 #302634 by PCW
Replied by PCW on topic error finishing read!
Most common cause of really terrible network latency
(ping times > 1 ms) is power management setup

Pining the IRQ can help if you are close but if you have 4 ms ping times
the host most likely has power management/speed switching still enabled


 

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.090 seconds
Powered by Kunena Forum