Latency, error finishing read, and IRQ affinity

More
12 May 2024 16:20 #300450 by Swag
I thought I had, I edited the section with the IP address to my card IP address of 10.10.10.11. Obviously I’ve made a mistake, I’ll go back through it again to see.

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

More
12 May 2024 16:29 #300452 by PCW
Yeah, A bit of error/status reporting would improve that script

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

More
12 May 2024 16:39 #300456 by Swag
I think I see my mistake, I only changed the second instance (line 145) to 10.10.10.11 and overlooked line 117. Sorry for the trouble and thanks for the help!

I knew it was something I had missed. Odd that the old debian 10 vanilla install just worked, but the debian 12 was so finicky about having the cpu isolated and irq pinned.

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

More
12 May 2024 16:54 #300458 by PCW
Yes, I think  some kernel change made Ethernet latency more sensitive to IRQ pinning

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

More
12 May 2024 18:17 #300464 by Swag
If I rerun rt_setup.sh, it is not updating the two files in /etc/linuxcnc and manually editing the lcnc_setirqaffinities.sh to have the correct IP does not result in the IRQ being pinned to the correct CPU (2 instead of 8, still). So looks like I still have some investigations to do, but at least I now know what needs to be accomplished.
The following user(s) said Thank You: DHeineck

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

More
30 May 2024 02:23 #301800 by BryceJ
Thanks for the script! Had been fighting this issue for a few days with errors talking to a mesa board on a N100 that I was setting up. Worked great on once I fixed the same issue Swag had.  My static IP had been 10.10.10.11.  Changed it to 10.10.10.1 and the ping to 10.10.10.10 was good, previously I was getting random 3ms spikes.

ping 10.10.10.10 -i .02
...
325 packets transmitted, 325 received, 0% packet loss, time 8151ms
rtt min/avg/max/mdev = 0.080/0.101/0.127/0.007 ms

 
The following user(s) said Thank You: tommylight

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

Time to create page: 0.104 seconds
Powered by Kunena Forum