Help me solve big latency (INTEL NUC7 / Pentium J5005 )
25 Oct 2024 00:14 #313170
by tar_san
Help me solve big latency (INTEL NUC7 / Pentium J5005 ) was created 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.
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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
25 Oct 2024 00:56 #313173
by tommylight
Replied by tommylight on topic Help me solve big latency (INTEL NUC7 / Pentium J5005 )
First, test withIf 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
latency-histogram --nobase --sbinsize 1000 --show
Then try disabling WLAN it can cause huge latency spikes on some of those NUC's
The following user(s) said Thank You: tar_san
Please Log in or Create an account to join the conversation.
25 Oct 2024 06:13 - 25 Oct 2024 06:18 #313185
by royka
Replied by royka on topic Help me solve big latency (INTEL NUC7 / Pentium J5005 )
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?
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?
Last edit: 25 Oct 2024 06:18 by royka.
The following user(s) said Thank You: tommylight, tar_san
Please Log in or Create an account to join the conversation.
26 Oct 2024 02:26 #313237
by tar_san
Replied by tar_san on topic Help me solve big latency (INTEL NUC7 / Pentium J5005 )
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) ?
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 or Create an account to join the conversation.
26 Oct 2024 02:29 #313238
by tar_san
Replied by tar_san on topic Help me solve big latency (INTEL NUC7 / Pentium J5005 )
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.
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 or Create an account to join the conversation.
26 Oct 2024 02:31 #313239
by tar_san
Replied by tar_san on topic Help me solve big latency (INTEL NUC7 / Pentium J5005 )
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.
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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
26 Oct 2024 13:35 #313254
by tommylight
Replied by tommylight on topic Help me solve big latency (INTEL NUC7 / Pentium J5005 )
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 or Create an account to join the conversation.
Time to create page: 0.081 seconds