Latency of parallel port system on decent hardware.
18 Nov 2024 17:33 - 18 Nov 2024 17:34 #314776
by langdons
Latency of parallel port system on decent hardware. was created by langdons
I have LinuxCNC 2.9.3 running on Debian Bookworm installed on a decent old PC.
The latency test returned a max jitter of about 15ns for the top number and 24ns for the bottom number.
I have now removed all unnecessary hardware and peripherals.
I will also blacklist as many kernel modules as possible.
The CPU scaling governor is set to performance.
The PC communicates with the microstep drivers directly through a PCI-e parallel port card, a parallel port cable, and a PMDX-122 buffer board.
Is this latency acceptable?
Would LinuxCNC 2.714 Wheezy work better for my setup?
I will post latency test result after disabling all unnecessary hardware.
Is it worthwhile to disable the Ethernet port (blacklist e1000e) to reduce latency?
The latency test returned a max jitter of about 15ns for the top number and 24ns for the bottom number.
I have now removed all unnecessary hardware and peripherals.
I will also blacklist as many kernel modules as possible.
The CPU scaling governor is set to performance.
The PC communicates with the microstep drivers directly through a PCI-e parallel port card, a parallel port cable, and a PMDX-122 buffer board.
Is this latency acceptable?
Would LinuxCNC 2.714 Wheezy work better for my setup?
I will post latency test result after disabling all unnecessary hardware.
Is it worthwhile to disable the Ethernet port (blacklist e1000e) to reduce latency?
Last edit: 18 Nov 2024 17:34 by langdons. Reason: Fixed typo.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19300
- Thank you received: 6462
19 Nov 2024 11:56 #314835
by tommylight
Replied by tommylight on topic Latency of parallel port system on decent hardware.
Do you get latency warnings when running LinuxCNC?
If not, do not change anything.
If yes, download the Wheezy ISO and boot from USB, start your config by right clicking on the .ini file, open with, type linuxcnc and press enter.
If not, do not change anything.
If yes, download the Wheezy ISO and boot from USB, start your config by right clicking on the .ini file, open with, type linuxcnc and press enter.
Please Log in or Create an account to join the conversation.
19 Nov 2024 17:19 #314861
by NTULINUX
Replied by NTULINUX on topic Latency of parallel port system on decent hardware.
For the lowest latency, you might have better luck with RTAI than PREEMPT_RT, assuming the BIOS isn't buggy:
forum.linuxcnc.org/9-installing-linuxcnc...ng-rtai-debs-for-2-9
If you need help, let us know!
forum.linuxcnc.org/9-installing-linuxcnc...ng-rtai-debs-for-2-9
If you need help, let us know!
Please Log in or Create an account to join the conversation.
20 Nov 2024 13:57 #314911
by langdons
Replied by langdons on topic Latency of parallel port system on decent hardware.
I managed to lower the latency to about 14000ns max jitter by disabling hardware.
I also set the CPU governor to performance.
I will try to disable more hardware to further reduce latency.
Unfortunately, I am unable to modify and BIOS settings because this is an old scrap computer from my high school.
I tried to get the IT person to change the password, but the BIOS login window is broken
I also set the CPU governor to performance.
I will try to disable more hardware to further reduce latency.
Unfortunately, I am unable to modify and BIOS settings because this is an old scrap computer from my high school.
I tried to get the IT person to change the password, but the BIOS login window is broken
Please Log in or Create an account to join the conversation.
20 Nov 2024 13:59 - 20 Nov 2024 14:01 #314913
by langdons
Replied by langdons on topic Latency of parallel port system on decent hardware.
I also unplugged the front audio and USB ports that I do not use.
(The back of the PC has a plethora of ports)
However, now the BIOS complains every boot
Whatever, I'll just press f1 every time I boot up to clear the error.
(The back of the PC has a plethora of ports)
However, now the BIOS complains every boot
Whatever, I'll just press f1 every time I boot up to clear the error.
Last edit: 20 Nov 2024 14:01 by langdons. Reason: Fixed typos
Please Log in or Create an account to join the conversation.
20 Nov 2024 14:04 #314914
by langdons
Replied by langdons on topic Latency of parallel port system on decent hardware.
Running "sudo apt update && sudo apt install linuxcnc" gives an error.
I blacklisted the Ethernet port.
Debian has no internet connection.
BTW, the system is a dual boot of Ubuntu 24.04 (my preferred OS) and Debian (for LinuxCNC)
I blacklisted the Ethernet port.
Debian has no internet connection.
BTW, the system is a dual boot of Ubuntu 24.04 (my preferred OS) and Debian (for LinuxCNC)
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds