LinuxCNC installation + 7I96S

More
16 Oct 2025 19:37 #336566 by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
I have installed: 8168 driver

When I enter this in the terminal:
cpufreq-info | grep "current policy"

I get this:
current policy: frequency should be within 800 MHz and 3.20 GHz.

I cannot change to a constant 3.20 GHz.

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

More
16 Oct 2025 20:03 #336567 by PCW
Replied by PCW on topic LinuxCNC installation + 7I96S
The only reason I asked about the CPU frequency is that the tmax values are in CPU clocks
(on X86 hardware). Knowing the CPU frequency allows the times to be calculated.

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

More
16 Oct 2025 21:06 #336569 by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
So what is it due to?

Should I change the network card?

For this: www.amazon.es/Euqvos-Gigabit-Desktop-PCI...ef=asc_df_B09SXXYV4R ?

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

More
16 Oct 2025 21:24 #336570 by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
I have executed this in a terminal:
sudo cyclictest -l 10000 -m -p 80 -i 1000 -q -v

He has given me this:

0: 9996: 2
0: 9997: 2
0: 9998: 2
0: 9999: 2
T: 0 ( 2995) P:80 I:1000 C: 10000 Min: 2 Act: 2 Avg: 2 Max: 7

It seems that by switching to r8168, I am no longer getting the error.

I currently have 3 axes, but I will be installing 5 simultaneous axes. Is it advisable to change the network card?

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

More
16 Oct 2025 21:30 #336571 by PCW
Replied by PCW on topic LinuxCNC installation + 7I96S
Normally the DKMS 8168 driver will fix the Ethernet latency issues

If it's not sufficient, one additional step to do is to  use isolcpus
to isolate the last processor and then pin the Ethernet IRQ to that
processor.
 

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

More
16 Oct 2025 22:56 #336576 by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
Can you explain how to do it?

Now I just need to configure the INI to mm and the speeds. I'm getting errors from

hm2/hm2_7i965.0: stepgen.00.maxvel is too big for current step timings & position-scale, clipping to max possible

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

More
16 Oct 2025 23:11 #336577 by PCW
Replied by PCW on topic LinuxCNC installation + 7I96S
For isolcpus:http://wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Isolcpus_Boot_Parameter_And_GRUB2

For pinning the IRQ there is a script for testing here: 

 

File Attachment:

File Name: pinirq_2025-10-16.txt
File Size:1 KB


to run, first download the script then:

chmod +x pinirq.txt

then

sudo ./pinirq.txt [ethernet_device_name]

 
Attachments:

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

Time to create page: 0.070 seconds
Powered by Kunena Forum