Help me solve big latency (INTEL NUC7 / Pentium J5005 )

More
2 years 6 days ago #313170 by tar_san
Hi, I'm new here.

I downloaded recent LinuxCNC image
  LinuxCNC 2.9.3 Debian 12 Bookworm PREEMPT-RT ISO

and I'm trying to setup to INTEL NUC7 (Pentium J5005 4core /8GB MEM + SSD).

I've read many thread on this forum and  I've configured BIOS and GRUB.

I got this big latency as a result .  (latency.png)
What am I missing ?

Please help me solve this big latency.


What I did are
1) I added GRUB.
isolcpus=1,2,3 intel_idle.max_cstate=0 processor.max_cstate=0 idle=poll

2) I configured BIOS (screenshots)
(biosN.png)

Thank you.
 

Please Log in to join the conversation.

More
2 years 6 days ago #313173 by tommylight
First, test with
Code:
latency-histogram --nobase --sbinsize 1000 --show
If that is still bad, see if you can set the package power limit in BIOS to 0 for both sustained and burst mode,
Then try disabling WLAN it can cause huge latency spikes on some of those NUC's

Please Log in to join the conversation.

More
2 years 6 days ago #313185 by royka
What tommylight said indeed. HDMI CEC control off, HDD led off.
And these kernel parameters worked good for me:
isolcpus=3 intel_pstate=disable processor.max_cstate=0 idle=poll cpufreq.default_governor=performance i915.enable_dc=0 ahci.mobile_lpm_policy=1 irqaffinity=0 nomodeset quiet

Bad memory can also be a cause. You can check the following command to see if there are interrupts of other devices on the isolated cpus: cat /proc/interrupts
Did you check the temperature?

Please Log in to join the conversation.

More
2 years 5 days ago #313237 by tar_san
Thank you for your advice, everyone.

I got this result so far. (90 μsec jitter) really improved. 

My question is " Is 90 μsec jitter is good enough to run LinuxCNC with MESA(Ethernet FPGA Stepper) ?

 

Please Log in to join the conversation.

More
2 years 5 days ago #313238 by tar_san
Thank you.

I set the package power limit in BIOS to 0 for both sustained and burst mode,
But PC worked incredibly slow ..

Anyway, thank you so much. I posted new result, very improved.

Please Log in to join the conversation.

More
2 years 5 days ago #313239 by tar_san
Thank you so much.

I posted new result ( but I did not apply these options )
I will test later.
I should learn these options and tips.

Please Log in to join the conversation.

More
2 years 4 days ago #313254 by tommylight
Yes it is good for Mesa, so if you have the Mesa, wire it, pewer it, connect and do some tests, might need some network tweaks, but might be all good.

Please Log in to join the conversation.

Time to create page: 0.294 seconds
Powered by Kunena Forum