Latency testing and questions V2.93 Axis
- slowpoke
- Offline
- Elite Member
-
Less
More
- Posts: 190
- Thank you received: 26
26 Feb 2025 13:52 #322699
by slowpoke
Latency testing and questions V2.93 Axis was created by slowpoke
I'm using the following hardware for my lathe:
Lenovo Yoga with i5-5200 2 core
Mesa 7i96s - with 3 encoders, 2 MPG's , 2 servo drives and all I/O
With stock BIOS settings I was getting the pop up latency warning, with revised BIOS settings the warning appears to be gone.
BIOS setting changes that seemed to make a difference:
Pre BIOS changes: (all times in uS)
Max int Max Jitter
Servo thread: 1019 51
Base thread: 182 158
Post BIOS changes: (all times in uS)
Max int Max Jitter
Servo thread: 1009 51
Base thread: 45 24.7
A few questions:
Lenovo Yoga with i5-5200 2 core
Mesa 7i96s - with 3 encoders, 2 MPG's , 2 servo drives and all I/O
With stock BIOS settings I was getting the pop up latency warning, with revised BIOS settings the warning appears to be gone.
BIOS setting changes that seemed to make a difference:
- All power saving - disabled
- Hyper-threading - disabled
- Intel Network Frame Forwarder - disabled
Pre BIOS changes: (all times in uS)
Max int Max Jitter
Servo thread: 1019 51
Base thread: 182 158
Post BIOS changes: (all times in uS)
Max int Max Jitter
Servo thread: 1009 51
Base thread: 45 24.7
A few questions:
- It's not clear to me how critical these results are when using a 7i96s for encoder and step generation?
- Max jitter for the servo thread seems quite good, however base thread seems marginal, comments please?
- I did not mess with isolcpus, and I'm not sure how or if I should?
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18201
- Thank you received: 4932
26 Feb 2025 15:48 #322712
by PCW
Replied by PCW on topic Latency testing and questions V2.93 Axis
Latency is basically unimportant with Mesa hardware _if_ you never get timeouts
Also the latency test does not test network latency which is more important for
Ethernet connected cards.
To check network latency:
sudo chrt 99 ping -i .001 -c 60000 -q 10.10.10.10
(will run for ~ 1 minute and print stats)
Assuming the Ethernet card is set for 10.10.10.10
Things that improve network latency:
isolcpus to last CPU, and pinning the Ethernet IRQ to the last CPU
disabling power management, disabling Intel AMT
Also the latency test does not test network latency which is more important for
Ethernet connected cards.
To check network latency:
sudo chrt 99 ping -i .001 -c 60000 -q 10.10.10.10
(will run for ~ 1 minute and print stats)
Assuming the Ethernet card is set for 10.10.10.10
Things that improve network latency:
isolcpus to last CPU, and pinning the Ethernet IRQ to the last CPU
disabling power management, disabling Intel AMT
The following user(s) said Thank You: slowpoke
Please Log in or Create an account to join the conversation.
Time to create page: 0.443 seconds