Which kernel version is best for real time?

More
1 year 5 months ago #328303 by DarkPhoinix

Yes PCW, is the same Realtek with dkms driver for fix latency.
Maybe I'm asking the wrong question: is it really necessary to do the test with YouTube?

When you get an error, what does:

halcmd show param *.tmax

(typed in a terminal)

show?



 
 
next youtube video start i take junction error.

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

More
1 year 5 months ago #328304 by DarkPhoinix

Did ya set the governor to performance?

Try to remove unnecessary hardware.

blacklist kernel modules of unneeded devices.

Mask and disable unneeded services.

Ensure you have plenty of RAM; disk I/O should be avoided as much as possible.

Caching and buffering will reduce disk I/O and latency, but requires ample free RAM.
need more of 8Gb ?  i need desolder realtek from my motherboard? 

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

More
1 year 5 months ago #328319 by PCW
When you get an error, what does:

halcmd show param *.tmax

(typed in a terminal)

show?

This will help determine where the fault lies
The following user(s) said Thank You: DarkPhoinix

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

More
1 year 5 months ago #328377 by DarkPhoinix

Warning: Spoiler!
Code:
halcmd show param *.tmax Parameters: Owner   Type  Dir         Value  Name     41  s32   RW          14985  encoder.capture-position.tmax     41  s32   RW          19158  encoder.update-counters.tmax     29  s32   RW          54482  motion-command-handler.tmax     29  s32   RW         108007  motion-controller.tmax     38  s32   RW          48125  nvmpg.update.tmax     33  s32   RW       16640759  remora.read.tmax     33  s32   RW          23424  remora.update-freq.tmax     33  s32   RW       14829214  remora.write.tmax     30  s32   RW       19134687  servo-thread.tmax

Thanks for help

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

More
1 year 5 months ago - 1 year 5 months ago #328382 by PCW
  33  s32   RW       16640759  remora.read.tmax

I don't know the CPU clock frequency but if it's say 3 GHz, this is ~5 ms
so if you have a 1 ms servo thread, you are likely dropping packets

This indicates a network latency issue.

So possible the DKMS patch did not apply or there is still something
remaining wrong with the network setup.

I would run the ping test again, as it will show these issues clearly

sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10
Last edit: 1 year 5 months ago by PCW.
The following user(s) said Thank You: DarkPhoinix

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

More
1 year 5 months ago #328388 by DarkPhoinix

  33  s32   RW       16640759  remora.read.tmax

I don't know the CPU clock frequency but if it's say 3 GHz, this is ~5 ms
so if you have a 1 ms servo thread, you are likely dropping packets

This indicates a network latency issue.

So possible the DKMS patch did not apply or there is still something
remaining wrong with the network setup.

I would run the ping test again, as it will show these issues clearly

sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10
Code:
sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10 PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data. --- 10.10.10.10 ping statistics --- 60000 packets transmitted, 60000 received, 0% packet loss, time 60017ms rtt min/avg/max/mdev = 0.128/0.215/3.609/0.047 ms #################################################### sudo lsmod | grep r8 r8168                 581632  0 #################################################### sudo dmesg | grep r8 [    0.024413] percpu: Embedded 62 pages/cpu s217088 r8192 d28672 u524288 [    0.024419] pcpu-alloc: s217088 r8192 d28672 u524288 alloc=1*2097152 [    0.936673] r8168: loading out-of-tree module taints kernel. [    0.936799] r8168: module verification failed: signature and/or required key missing - tainting kernel [    0.949871] r8168 Gigabit Ethernet driver 8.051.02-NAPI loaded [    0.982399] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625. [    0.982420] r8168  Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com>  [    0.996908] r8168 0000:03:00.0 enp3s0: renamed from eth0 [    8.722135] r8168: enp3s0: link up

 

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

Time to create page: 0.067 seconds
Powered by Kunena Forum