[SOLVED]linuxcnc Latency test ambiguous results

More
02 May 2025 10:50 #327491 by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
 while true; do cat /proc/interrupts | grep enp3s0; sleep 1; done
 26:          0          0        123       5373  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5416  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5464  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5512  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5560  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5608  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5656  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5704  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5752  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5812  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5872  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5920  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       5968  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6016  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6064  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6112  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6173  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6221  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6269  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6317  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6365  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6413  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6461  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6509  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6569  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6641  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6689  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6737  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6785  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6833  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6912  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       6960  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       7008  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       7070  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       7118  IR-PCI-MSI 1572864-edge      enp3s0
 26:          0          0        123       7166  IR-PCI-MSI 1572864-edge      enp3s0
Is it working? I don't understand what cat /proc/interrupts does maybe there are old values ​​before the switch to core 3?

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

More
02 May 2025 14:38 #327506 by PCW
Replied by PCW on topic linuxcnc Latency test ambiguous results
That looks like its working since you are only getting interrupts on CPU 3
(CPU 2 interrupt count  is not changing)
The following user(s) said Thank You: DarkPhoinix

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

More
02 May 2025 22:32 #327568 by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
thank you very much! now all I have to do is run the stepper and I can gain some experience with linuxcnc.

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

More
03 May 2025 18:41 #327625 by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
Old card nvidia 
 
new amd gifted by my friend 


4 winodws firefox youtube 4k and rustdesk!
Attachments:

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

More
07 May 2025 10:48 - 07 May 2025 13:19 #327937 by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
Next i upload the DMA txt version for mi NVEMV5  RT1052 the problem is back and now need only 5 videos 4k without rustdek opened to see junction error!
I don't know what else to do. Except look for a motherboard that has video output.
Or maybe buy new hardware?



No activity 
 

5 youtube video 4k windows
 

5 youtube video 4k windows and rustdesk connection
 
 
Attachments:
Last edit: 07 May 2025 13:19 by DarkPhoinix.

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

More
08 May 2025 11:58 - 08 May 2025 12:00 #327986 by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
I've tried everything:
in the ini I put:
#SERVO_PERIOD = 1000000
SERVO_PERIOD = 2600000
#SERVO_PERIOD =  700000
#SERVO_PERIOD =  777777
#SERVO_PERIOD = 1000000
kernel parameters:
#GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=2,3 r8168.EEE=0 pcie_aspm=off nohz_full=2,3 acpi_irq_nobalance noirqbalance irqaffinity=0 processor.max_cstate=0 intel_idle.max_cstate=1"

#WORKS WELL#GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=2,3 r8168.EEE=0 pcie_aspm=off nohz_full=2,3"

#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=2,3 r8168.EEE=0 pcie_aspm=off nohz_full=2,3 acpi_irq_nobalance noirqbalance irqaffinity=0 processor.max_cstate=0 intel_idle.max_cstate=1 radeon.dpm=0 idle=poll"

#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=2,3 r8168.EEE=0 pcie_aspm=off nohz_full=2,3 acpi_irq_nobalance noirqbalance irqaffinity=0,1 processor.max_cstate=0 intel_idle.max_cstate=1 radeon.dpm=0 idle=poll"

#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=2,3 r8168.EEE=0 pcie_aspm=off nohz_full=2,3 acpi_irq_nobalance noirqbalance irqaffinity=0,1 processor.max_cstate=0 intel_idle.max_cstate=1 idle=in"

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=2,3 r8168.EEE=0 pcie_aspm=off nohz_full=2,3 irqaffinity=0,1 processor.max_cstate=0 intel_idle.max_cstate=1 idle=poll"

it doesn't work, I get improvements and delays in the error but while using YouTube sooner or later the job fails.
I'm understanding that LinuxCNC only works with specific hardware systems and it's not possible to use it everywhere. I have also tried 3 completely different hardware setups, and the other 2 have impressive latencies.
One of which is new hardware with integrated video card, Alder Lake N95 CPU, and 16GB of RAM.
So the question is: what hardware supports LinuxCNC? What hardware should a user buy who wants to use LinuxCNC?
Last edit: 08 May 2025 12:00 by DarkPhoinix.

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

More
08 May 2025 12:18 - 08 May 2025 12:21 #327987 by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
BIOS configuration:
 
Attachments:
Last edit: 08 May 2025 12:21 by DarkPhoinix.

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

More
08 May 2025 15:36 #328005 by langdons
Replied by langdons on topic linuxcnc Latency test ambiguous results
Stress uses 100% CPU time, but not 100% CPU power.

Use mprime for a real stress test (NOTE: it may melt your PC).

But because it runs at a lower priority than LinuxCNC does, neither will make a big difference (assuming unlimited cooling capability).

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

More
08 May 2025 15:38 #328006 by langdons
Replied by langdons on topic linuxcnc Latency test ambiguous results
Set fan profile to max in BIOS.

Don't boot from a USB key.

Use a real SATA or SCSI HDD/SSD.

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

More
08 May 2025 17:08 #328017 by DarkPhoinix
Replied by DarkPhoinix on topic linuxcnc Latency test ambiguous results
Thanks,
intel adaptive thermal monitor need set disable? i dont want burn CPU!

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

Time to create page: 0.365 seconds
Powered by Kunena Forum