Reduce read-all timing 7i76e + 7i77

  • endian
  • endian's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
17 Jul 2025 09:37 #331934 by endian
Reduce read-all timing 7i76e + 7i77 was created by endian
Hello gentelmen,

How to reduce the read-all timig from 0,8ms to something below please? Ping I have beloe 0,3ms and latency at servothread below 800ns 

I am using 7i76e+7i77 at P1 with 3 axis setup..

I have tried everything what AI told me but without any success ... 

thanks

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

More
17 Jul 2025 10:15 #331938 by unknown
Replied by unknown on topic Reduce read-all timing 7i76e + 7i77
So you tried stuff AI has, what have you tried and what were the exact results ? To save repeating stuff.

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

  • endian
  • endian's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
17 Jul 2025 10:35 #331940 by endian
Replied by endian on topic Reduce read-all timing 7i76e + 7i77
I did the 
packet-read-timeout=500000
sserial_port_0=2000x to sserial_port_0=2000h

ping between mesa is less then 0,3ms and it is per to per connection

I did not try the custom firmware 
./mesa-configtool --new-fpga 7i76e --no-sserial --optimize-read

goal is -
SERVO_PERIOD = 500000

resualt is no change at all ... 

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

More
17 Jul 2025 15:26 #331944 by PCW
Replied by PCW on topic Reduce read-all timing 7i76e + 7i77
If those are AI suggestions, they are pure nonsense...

To reduce network latency:

1. Make sure basic host latency setup is done (disable power management etc)

2. If you have an intel MAC on the host PC, disable IRQ coalescing.

3. Use isolcpus to run LinuxCNC on the last CPU

4.  (in conjunction with #3) Pin the Ethernet IRQ to the last CPU
(and set irqbalance to one-shot mode so it doesn't mess with the IRQ pinning)

To check maximum network latency:

sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10

( Assuming 10.10.10.10 is the 7I76E IP address ) 

This will run for 1 minute and print statistics

 
The following user(s) said Thank You: tommylight

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

More
18 Jul 2025 01:00 #331962 by unknown
Replied by unknown on topic Reduce read-all timing 7i76e + 7i77
What the difference between AI and the crazy guy yelling at the sky on a street corner, the advice appears the same.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum