Unexpected realtime delay on task 0 with period 1000000
14 Nov 2023 20:25 #285418
by Mecanix
Replied by Mecanix on topic Unexpected realtime delay on task 0 with period 1000000
"Ctrl + C" will cancel the ping operation. And yes, of course, replace the example 10.x.x.x with your card IP address.
$ ping 192.168.1.121
"Ctrl + C" after 2~3min, post packet loss and stats
$ sudo ping -f 192.168.1.121
"Ctrl + C" after 2~3min, post packet loss and stats
$ ping 192.168.1.121
"Ctrl + C" after 2~3min, post packet loss and stats
$ sudo ping -f 192.168.1.121
"Ctrl + C" after 2~3min, post packet loss and stats
Please Log in or Create an account to join the conversation.
14 Nov 2023 20:48 - 14 Nov 2023 20:56 #285420
by Muecke
Replied by Muecke on topic Unexpected realtime delay on task 0 with period 1000000
The forum software is driving me crazy.
I don't understand in the manual how I have to set this so that the card speaks to 10.10.10.10.
Quote from the manual:
HARDWARE CONFIGURATION
IP ADDRESS SELECTION
The 7I95 has three options for selecting its IP address. These options are selected
by Jumpers W16 and W17.
cnc@debian:~$ ping 192.168.1.121
~3min
$ sudo ping -f 192.168.1.121
~3min
I don't understand in the manual how I have to set this so that the card speaks to 10.10.10.10.
Quote from the manual:
HARDWARE CONFIGURATION
IP ADDRESS SELECTION
The 7I95 has three options for selecting its IP address. These options are selected
by Jumpers W16 and W17.
W16 W17 IP ADDRESS
DOWN DOWN FIXED 192.168.1.121 (DEFAULT)
DOWN UP FIXED FROM EEPROM
UP DOWN BOOTP
UP UP INVALID
cnc@debian:~$ ping 192.168.1.121
~3min
cnc@debian:~$ ping 192.168.1.121
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.
64 bytes from 192.168.1.121: icmp_seq=1 ttl=64 time=0.221 ms
64 bytes from 192.168.1.121: icmp_seq=2 ttl=64 time=0.209 ms
64 bytes from 192.168.1.121: icmp_seq=3 ttl=64 time=0.200 ms
64 bytes from 192.168.1.121: icmp_seq=4 ttl=64 time=0.213 ms
64 bytes from 192.168.1.121: icmp_seq=5 ttl=64 time=0.199 ms
64 bytes from 192.168.1.121: icmp_seq=6 ttl=64 time=0.151 ms
64 bytes from 192.168.1.121: icmp_seq=7 ttl=64 time=0.262 ms
64 bytes from 192.168.1.121: icmp_seq=8 ttl=64 time=0.197 ms
64 bytes from 192.168.1.121: icmp_seq=9 ttl=64 time=0.198 ms
64 bytes from 192.168.1.121: icmp_seq=10 ttl=64 time=0.106 ms
64 bytes from 192.168.1.121: icmp_seq=11 ttl=64 time=0.165 ms
64 bytes from 192.168.1.121: icmp_seq=12 ttl=64 time=0.204 ms
64 bytes from 192.168.1.121: icmp_seq=13 ttl=64 time=0.206 ms
64 bytes from 192.168.1.121: icmp_seq=14 ttl=64 time=0.234 ms
64 bytes from 192.168.1.121: icmp_seq=15 ttl=64 time=0.193 ms
64 bytes from 192.168.1.121: icmp_seq=16 ttl=64 time=0.155 ms
64 bytes from 192.168.1.121: icmp_seq=17 ttl=64 time=0.104 ms
64 bytes from 192.168.1.121: icmp_seq=18 ttl=64 time=0.170 ms
64 bytes from 192.168.1.121: icmp_seq=19 ttl=64 time=0.172 ms
64 bytes from 192.168.1.121: icmp_seq=20 ttl=64 time=0.153 ms
64 bytes from 192.168.1.121: icmp_seq=21 ttl=64 time=0.171 ms
64 bytes from 192.168.1.121: icmp_seq=22 ttl=64 time=0.158 ms
64 bytes from 192.168.1.121: icmp_seq=23 ttl=64 time=0.172 ms
64 bytes from 192.168.1.121: icmp_seq=24 ttl=64 time=0.182 ms
64 bytes from 192.168.1.121: icmp_seq=25 ttl=64 time=0.185 ms
64 bytes from 192.168.1.121: icmp_seq=26 ttl=64 time=0.203 ms
64 bytes from 192.168.1.121: icmp_seq=27 ttl=64 time=0.174 ms
64 bytes from 192.168.1.121: icmp_seq=28 ttl=64 time=0.168 ms
64 bytes from 192.168.1.121: icmp_seq=29 ttl=64 time=0.202 ms
64 bytes from 192.168.1.121: icmp_seq=30 ttl=64 time=0.245 ms
64 bytes from 192.168.1.121: icmp_seq=31 ttl=64 time=0.167 ms
64 bytes from 192.168.1.121: icmp_seq=32 ttl=64 time=0.196 ms
64 bytes from 192.168.1.121: icmp_seq=33 ttl=64 time=0.152 ms
64 bytes from 192.168.1.121: icmp_seq=34 ttl=64 time=0.170 ms
64 bytes from 192.168.1.121: icmp_seq=35 ttl=64 time=0.200 ms
64 bytes from 192.168.1.121: icmp_seq=36 ttl=64 time=0.197 ms
64 bytes from 192.168.1.121: icmp_seq=37 ttl=64 time=0.207 ms
64 bytes from 192.168.1.121: icmp_seq=38 ttl=64 time=0.198 ms
64 bytes from 192.168.1.121: icmp_seq=39 ttl=64 time=0.157 ms
64 bytes from 192.168.1.121: icmp_seq=40 ttl=64 time=0.137 ms
64 bytes from 192.168.1.121: icmp_seq=41 ttl=64 time=0.203 ms
64 bytes from 192.168.1.121: icmp_seq=42 ttl=64 time=0.215 ms
64 bytes from 192.168.1.121: icmp_seq=43 ttl=64 time=0.196 ms
64 bytes from 192.168.1.121: icmp_seq=44 ttl=64 time=0.210 ms
64 bytes from 192.168.1.121: icmp_seq=45 ttl=64 time=0.212 ms
64 bytes from 192.168.1.121: icmp_seq=46 ttl=64 time=0.206 ms
64 bytes from 192.168.1.121: icmp_seq=47 ttl=64 time=0.205 ms
64 bytes from 192.168.1.121: icmp_seq=48 ttl=64 time=0.194 ms
64 bytes from 192.168.1.121: icmp_seq=49 ttl=64 time=0.204 ms
64 bytes from 192.168.1.121: icmp_seq=50 ttl=64 time=0.198 ms
64 bytes from 192.168.1.121: icmp_seq=51 ttl=64 time=0.206 ms
64 bytes from 192.168.1.121: icmp_seq=52 ttl=64 time=0.192 ms
64 bytes from 192.168.1.121: icmp_seq=53 ttl=64 time=0.243 ms
64 bytes from 192.168.1.121: icmp_seq=54 ttl=64 time=0.201 ms
64 bytes from 192.168.1.121: icmp_seq=55 ttl=64 time=0.202 ms
64 bytes from 192.168.1.121: icmp_seq=56 ttl=64 time=0.199 ms
64 bytes from 192.168.1.121: icmp_seq=57 ttl=64 time=0.207 ms
64 bytes from 192.168.1.121: icmp_seq=58 ttl=64 time=0.208 ms
64 bytes from 192.168.1.121: icmp_seq=59 ttl=64 time=0.212 ms
64 bytes from 192.168.1.121: icmp_seq=60 ttl=64 time=0.209 ms
64 bytes from 192.168.1.121: icmp_seq=61 ttl=64 time=0.222 ms
64 bytes from 192.168.1.121: icmp_seq=62 ttl=64 time=0.201 ms
64 bytes from 192.168.1.121: icmp_seq=63 ttl=64 time=0.207 ms
64 bytes from 192.168.1.121: icmp_seq=64 ttl=64 time=0.202 ms
64 bytes from 192.168.1.121: icmp_seq=65 ttl=64 time=0.200 ms
64 bytes from 192.168.1.121: icmp_seq=66 ttl=64 time=0.199 ms
64 bytes from 192.168.1.121: icmp_seq=67 ttl=64 time=0.097 ms
64 bytes from 192.168.1.121: icmp_seq=68 ttl=64 time=0.195 ms
64 bytes from 192.168.1.121: icmp_seq=69 ttl=64 time=0.213 ms
64 bytes from 192.168.1.121: icmp_seq=70 ttl=64 time=0.199 ms
64 bytes from 192.168.1.121: icmp_seq=71 ttl=64 time=0.208 ms
64 bytes from 192.168.1.121: icmp_seq=72 ttl=64 time=0.209 ms
64 bytes from 192.168.1.121: icmp_seq=73 ttl=64 time=0.193 ms
64 bytes from 192.168.1.121: icmp_seq=74 ttl=64 time=0.199 ms
64 bytes from 192.168.1.121: icmp_seq=75 ttl=64 time=0.194 ms
64 bytes from 192.168.1.121: icmp_seq=76 ttl=64 time=0.207 ms
64 bytes from 192.168.1.121: icmp_seq=77 ttl=64 time=0.204 ms
64 bytes from 192.168.1.121: icmp_seq=78 ttl=64 time=0.189 ms
64 bytes from 192.168.1.121: icmp_seq=79 ttl=64 time=0.193 ms
64 bytes from 192.168.1.121: icmp_seq=80 ttl=64 time=0.202 ms
64 bytes from 192.168.1.121: icmp_seq=81 ttl=64 time=0.190 ms
64 bytes from 192.168.1.121: icmp_seq=82 ttl=64 time=0.200 ms
64 bytes from 192.168.1.121: icmp_seq=83 ttl=64 time=0.090 ms
64 bytes from 192.168.1.121: icmp_seq=84 ttl=64 time=0.153 ms
64 bytes from 192.168.1.121: icmp_seq=85 ttl=64 time=0.206 ms
64 bytes from 192.168.1.121: icmp_seq=86 ttl=64 time=0.211 ms
64 bytes from 192.168.1.121: icmp_seq=87 ttl=64 time=0.207 ms
64 bytes from 192.168.1.121: icmp_seq=88 ttl=64 time=0.150 ms
64 bytes from 192.168.1.121: icmp_seq=89 ttl=64 time=0.199 ms
64 bytes from 192.168.1.121: icmp_seq=90 ttl=64 time=0.198 ms
64 bytes from 192.168.1.121: icmp_seq=91 ttl=64 time=0.202 ms
64 bytes from 192.168.1.121: icmp_seq=92 ttl=64 time=0.164 ms
64 bytes from 192.168.1.121: icmp_seq=93 ttl=64 time=0.201 ms
64 bytes from 192.168.1.121: icmp_seq=94 ttl=64 time=0.229 ms
64 bytes from 192.168.1.121: icmp_seq=95 ttl=64 time=0.203 ms
64 bytes from 192.168.1.121: icmp_seq=96 ttl=64 time=0.205 ms
64 bytes from 192.168.1.121: icmp_seq=97 ttl=64 time=0.198 ms
64 bytes from 192.168.1.121: icmp_seq=98 ttl=64 time=0.191 ms
64 bytes from 192.168.1.121: icmp_seq=99 ttl=64 time=0.203 ms
64 bytes from 192.168.1.121: icmp_seq=100 ttl=64 time=0.093 ms
64 bytes from 192.168.1.121: icmp_seq=101 ttl=64 time=0.185 ms
64 bytes from 192.168.1.121: icmp_seq=102 ttl=64 time=0.163 ms
64 bytes from 192.168.1.121: icmp_seq=103 ttl=64 time=0.157 ms
64 bytes from 192.168.1.121: icmp_seq=104 ttl=64 time=0.152 ms
64 bytes from 192.168.1.121: icmp_seq=105 ttl=64 time=0.144 ms
64 bytes from 192.168.1.121: icmp_seq=106 ttl=64 time=0.144 ms
64 bytes from 192.168.1.121: icmp_seq=107 ttl=64 time=0.097 ms
64 bytes from 192.168.1.121: icmp_seq=108 ttl=64 time=0.195 ms
64 bytes from 192.168.1.121: icmp_seq=109 ttl=64 time=0.194 ms
64 bytes from 192.168.1.121: icmp_seq=110 ttl=64 time=0.155 ms
64 bytes from 192.168.1.121: icmp_seq=111 ttl=64 time=0.214 ms
64 bytes from 192.168.1.121: icmp_seq=112 ttl=64 time=0.196 ms
64 bytes from 192.168.1.121: icmp_seq=113 ttl=64 time=0.179 ms
64 bytes from 192.168.1.121: icmp_seq=114 ttl=64 time=0.145 ms
64 bytes from 192.168.1.121: icmp_seq=115 ttl=64 time=0.199 ms
64 bytes from 192.168.1.121: icmp_seq=116 ttl=64 time=0.111 ms
64 bytes from 192.168.1.121: icmp_seq=117 ttl=64 time=0.152 ms
64 bytes from 192.168.1.121: icmp_seq=118 ttl=64 time=0.129 ms
64 bytes from 192.168.1.121: icmp_seq=119 ttl=64 time=0.165 ms
64 bytes from 192.168.1.121: icmp_seq=120 ttl=64 time=0.111 ms
64 bytes from 192.168.1.121: icmp_seq=121 ttl=64 time=0.201 ms
64 bytes from 192.168.1.121: icmp_seq=122 ttl=64 time=0.214 ms
64 bytes from 192.168.1.121: icmp_seq=123 ttl=64 time=0.193 ms
64 bytes from 192.168.1.121: icmp_seq=124 ttl=64 time=0.150 ms
64 bytes from 192.168.1.121: icmp_seq=125 ttl=64 time=0.199 ms
64 bytes from 192.168.1.121: icmp_seq=126 ttl=64 time=0.183 ms
64 bytes from 192.168.1.121: icmp_seq=127 ttl=64 time=0.201 ms
64 bytes from 192.168.1.121: icmp_seq=128 ttl=64 time=0.199 ms
64 bytes from 192.168.1.121: icmp_seq=129 ttl=64 time=0.223 ms
64 bytes from 192.168.1.121: icmp_seq=130 ttl=64 time=0.187 ms
64 bytes from 192.168.1.121: icmp_seq=131 ttl=64 time=0.205 ms
64 bytes from 192.168.1.121: icmp_seq=132 ttl=64 time=0.194 ms
64 bytes from 192.168.1.121: icmp_seq=133 ttl=64 time=0.195 ms
64 bytes from 192.168.1.121: icmp_seq=134 ttl=64 time=0.188 ms
64 bytes from 192.168.1.121: icmp_seq=135 ttl=64 time=0.196 ms
64 bytes from 192.168.1.121: icmp_seq=136 ttl=64 time=0.197 ms
64 bytes from 192.168.1.121: icmp_seq=137 ttl=64 time=0.197 ms
64 bytes from 192.168.1.121: icmp_seq=138 ttl=64 time=0.200 ms
64 bytes from 192.168.1.121: icmp_seq=139 ttl=64 time=0.201 ms
64 bytes from 192.168.1.121: icmp_seq=140 ttl=64 time=0.193 ms
64 bytes from 192.168.1.121: icmp_seq=141 ttl=64 time=0.195 ms
64 bytes from 192.168.1.121: icmp_seq=142 ttl=64 time=0.196 ms
64 bytes from 192.168.1.121: icmp_seq=143 ttl=64 time=0.121 ms
64 bytes from 192.168.1.121: icmp_seq=144 ttl=64 time=0.096 ms
64 bytes from 192.168.1.121: icmp_seq=145 ttl=64 time=0.195 ms
64 bytes from 192.168.1.121: icmp_seq=146 ttl=64 time=0.226 ms
64 bytes from 192.168.1.121: icmp_seq=147 ttl=64 time=0.206 ms
64 bytes from 192.168.1.121: icmp_seq=148 ttl=64 time=0.248 ms
64 bytes from 192.168.1.121: icmp_seq=149 ttl=64 time=0.192 ms
64 bytes from 192.168.1.121: icmp_seq=150 ttl=64 time=0.211 ms
64 bytes from 192.168.1.121: icmp_seq=151 ttl=64 time=0.148 ms
64 bytes from 192.168.1.121: icmp_seq=152 ttl=64 time=0.185 ms
64 bytes from 192.168.1.121: icmp_seq=153 ttl=64 time=0.156 ms
64 bytes from 192.168.1.121: icmp_seq=154 ttl=64 time=0.206 ms
64 bytes from 192.168.1.121: icmp_seq=155 ttl=64 time=0.203 ms
64 bytes from 192.168.1.121: icmp_seq=156 ttl=64 time=0.201 ms
64 bytes from 192.168.1.121: icmp_seq=157 ttl=64 time=0.194 ms
64 bytes from 192.168.1.121: icmp_seq=158 ttl=64 time=0.180 ms
64 bytes from 192.168.1.121: icmp_seq=159 ttl=64 time=0.206 ms
64 bytes from 192.168.1.121: icmp_seq=160 ttl=64 time=0.198 ms
64 bytes from 192.168.1.121: icmp_seq=161 ttl=64 time=0.288 ms
64 bytes from 192.168.1.121: icmp_seq=162 ttl=64 time=0.147 ms
64 bytes from 192.168.1.121: icmp_seq=163 ttl=64 time=0.207 ms
64 bytes from 192.168.1.121: icmp_seq=164 ttl=64 time=0.195 ms
64 bytes from 192.168.1.121: icmp_seq=165 ttl=64 time=0.206 ms
64 bytes from 192.168.1.121: icmp_seq=166 ttl=64 time=0.207 ms
64 bytes from 192.168.1.121: icmp_seq=167 ttl=64 time=0.206 ms
64 bytes from 192.168.1.121: icmp_seq=168 ttl=64 time=0.202 ms
64 bytes from 192.168.1.121: icmp_seq=169 ttl=64 time=0.134 ms
64 bytes from 192.168.1.121: icmp_seq=170 ttl=64 time=0.219 ms
64 bytes from 192.168.1.121: icmp_seq=171 ttl=64 time=0.177 ms
64 bytes from 192.168.1.121: icmp_seq=172 ttl=64 time=0.210 ms
64 bytes from 192.168.1.121: icmp_seq=173 ttl=64 time=0.200 ms
64 bytes from 192.168.1.121: icmp_seq=174 ttl=64 time=0.183 ms
64 bytes from 192.168.1.121: icmp_seq=175 ttl=64 time=0.203 ms
64 bytes from 192.168.1.121: icmp_seq=176 ttl=64 time=0.191 ms
64 bytes from 192.168.1.121: icmp_seq=177 ttl=64 time=0.211 ms
64 bytes from 192.168.1.121: icmp_seq=178 ttl=64 time=0.191 ms
64 bytes from 192.168.1.121: icmp_seq=179 ttl=64 time=0.207 ms
64 bytes from 192.168.1.121: icmp_seq=180 ttl=64 time=0.192 ms
64 bytes from 192.168.1.121: icmp_seq=181 ttl=64 time=0.130 ms
64 bytes from 192.168.1.121: icmp_seq=182 ttl=64 time=0.164 ms
64 bytes from 192.168.1.121: icmp_seq=183 ttl=64 time=0.194 ms
64 bytes from 192.168.1.121: icmp_seq=184 ttl=64 time=0.172 ms
^C
--- 192.168.1.121 ping statistics ---
184 packets transmitted, 184 received, 0% packet loss, time 187359ms
rtt min/avg/max/mdev = 0.090/0.188/0.288/0.031 ms
cnc@debian:~$
$ sudo ping -f 192.168.1.121
~3min
cnc@debian:~$ sudo ping -f 192.168.1.121
[sudo] Passwort für cnc:
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.
.^
--- 192.168.1.121 ping statistics ---
6098672 packets transmitted, 6098672 received, 0% packet loss, time 419243ms
rtt min/avg/max/mdev = 0.048/0.055/3.612/0.008 ms, ipg/ewma 0.068/0.061 ms
cnc@debian:~$
Last edit: 14 Nov 2023 20:56 by Muecke.
Please Log in or Create an account to join the conversation.
14 Nov 2023 20:56 #285421
by Muecke
Replied by Muecke on topic Unexpected realtime delay on task 0 with period 1000000
The forum software is driving me crazy.
Please Log in or Create an account to join the conversation.
14 Nov 2023 20:59 #285422
by Mecanix
Replied by Mecanix on topic Unexpected realtime delay on task 0 with period 1000000
That looks beyond perfection. Can't see what else could prevent you from running Lcnc.
Side note. In my case, and to resolve the start-up and occasional random "Unexpected realtime delay on task 0 with period 1000000", and other follow errors (!), I had to upgrade my decade old ghetto 10/100 hub to a fast switch and also upgraded old cat5 to double-shielded Cat6 grade ethernet cabling.
That, along with the GRUB_CMDLINE_LINUX_DEFAULT="quiet, isolcpus=2,3" tweak solved the random low latency and packet losses. Never had a realtime delay after that.
Side note. In my case, and to resolve the start-up and occasional random "Unexpected realtime delay on task 0 with period 1000000", and other follow errors (!), I had to upgrade my decade old ghetto 10/100 hub to a fast switch and also upgraded old cat5 to double-shielded Cat6 grade ethernet cabling.
That, along with the GRUB_CMDLINE_LINUX_DEFAULT="quiet, isolcpus=2,3" tweak solved the random low latency and packet losses. Never had a realtime delay after that.
Please Log in or Create an account to join the conversation.
14 Nov 2023 21:05 #285424
by Muecke
Replied by Muecke on topic Unexpected realtime delay on task 0 with period 1000000
That's a good tip about the cable. I'll have to see what I use there. I think it's all shielded.
I didn't understand that, do I need to raise or lower it?
""... Unexpected realtime delay on task 0 with period 1000000 ...""""
"" This and the change of ""
I have LinuxCNC open right now and I don't get any errors for several minutes, I'm happy.
Hope it stays that way.
DANKE
I didn't understand that, do I need to raise or lower it?
""... Unexpected realtime delay on task 0 with period 1000000 ...""""
"" This and the change of ""
I have LinuxCNC open right now and I don't get any errors for several minutes, I'm happy.
Hope it stays that way.
DANKE
Please Log in or Create an account to join the conversation.
14 Nov 2023 21:07 #285425
by Muecke
Replied by Muecke on topic Unexpected realtime delay on task 0 with period 1000000
Attachments:
Please Log in or Create an account to join the conversation.
14 Nov 2023 21:11 - 14 Nov 2023 21:35 #285426
by Mecanix
Replied by Mecanix on topic Unexpected realtime delay on task 0 with period 1000000
Another useful one to keep track of thread(s) performance and/or debug. Run cmd below while Linuxcnc is running to peek into various delays.
$ halcmd show param *.tmax
All the best to you and Have Fun!
$ halcmd show param *.tmax
All the best to you and Have Fun!
Last edit: 14 Nov 2023 21:35 by Mecanix.
Please Log in or Create an account to join the conversation.
Time to create page: 0.115 seconds