Network communication fail

More
18 Jul 2023 15:01 #275742 by PCW
Replied by PCW on topic Network communication fail
I'm curious why ping does not work.

This is what I get for a short test:

sudo chrt 99 ping -i .001 -q 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
^C
--- 10.10.10.10 ping statistics ---
7225 packets transmitted, 7224 received, 0.0138408% packet loss, time 7224ms
rtt min/avg/max/mdev = 0.103/0.105/0.123/0.001 ms

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

More
24 Jul 2023 12:45 #276150 by Hannes_P64
I could post more information about my linux but you will have to give me the commands.

linuxcnc version is 2.8.1

I did not build it from source, I downloaded it.

I thought that latency and jitter would not be that critical when using a MESA-card,
but it occures that i was wrong about that.
Attachments:

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

More
24 Jul 2023 13:09 - 24 Jul 2023 13:12 #276151 by PCW
Replied by PCW on topic Network communication fail
The latency must be good enough so that the communication
time-out limit is not exceeded repeatedly (default timeout limit 
is 80% of the servo thread period or 0.8 ms for a 1 ms servo thread)

With a RPI4, I would try:

1. Setting isolcpus to 1,2,3
2. Making sure force_turbo mode is set
3. Run the latency histogram as rmu suggested
4. You may need to increase the servo thread
period to say 2000000 ns (2 ms) with a RPI
Last edit: 24 Jul 2023 13:12 by PCW.

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

More
28 Jul 2023 07:56 #276442 by Hannes_P64
Hello dear helpers

I don't want to be too confident now, but I had no more watchdog bite for the
last three evenings.Thanks a lot for your help.

@PCW -thanks for the repeated reference to the isolcpus.
That`s what it took me to understand that you can put it on all three.

In case that anyone has the same problem, I have done the following

1. isolcpus to 1,2,3
2. force_turbo to True
3. WiFi off

servo thread is currently still at 1000000 ns
and the latency was unchanged at first glance,
but i haven't had any failures so far

Thank you a lot for your help and have a nice weekend

Hannes

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

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