Latency for 7i76E DOES IT REALLY MATTER?

More
09 Jan 2020 08:42 - 09 Jan 2020 08:56 #154418 by Tavares
Hello guys! today i setup LINUX MINT 18 with linuxcnc 2.8 and iam getting too high latency

servo thread MAX JITTER 2218607
base thread MAX JITTER 1307531

i add isolcpus=1 acpi_irq_nobalance noirqbalance at grub but nothing change, but I tested it to see if it works....
the motor spins normally without apparently missing steps and very fast 1500rpm. The question is 7i76e really matter good latency?


iam using core 2 duo e5400 oveclocked 3.4ghz with 2gb ram and drivers hbs86h hybrid servo.
Last edit: 09 Jan 2020 08:56 by Tavares. Reason: press wrong button :) sorry

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

More
09 Jan 2020 08:44 #154419 by rodw
What does the latency test say when you start it from the command line without the base thread?
Your definition of high latency might still be OK.

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

More
09 Jan 2020 09:00 #154420 by Tavares
when i execute from terminal i get using posix realtime
unexpected realtime delay on task 0 with period 25000 this massage will only display once per session.

same message when i run linuxcnc.

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

More
09 Jan 2020 16:29 #154456 by PCW
Try running

latency-test 1ms 1ms

This will just run a servo thread test

if the PC cannot run the default 40 KHz base thread (which you dont need)
you will get very skewed results

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

More
09 Jan 2020 16:49 #154458 by Tavares
iam getting servo thread 8626766ns, 40khz is 25000, so my pc is not recommended?

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

More
09 Jan 2020 18:27 #154463 by PCW
Yow, thats more than 8 ms!

Do you have all power management options turned off in the BIOS?

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

More
09 Jan 2020 20:29 #154483 by andypugh
Are you actually using a realtime kernel?

What does uname -a say?

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

More
10 Jan 2020 07:36 #154530 by Tavares
its really preempt-rt and my bios has no power save settings, and this kernel its not working nvidia driver it says UNCLAIMED, when i use generic kernel nvidia works perfect there is rt driver or something?
Attachments:

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

More
10 Jan 2020 14:57 - 10 Jan 2020 14:58 #154552 by PCW
Not even any C state settings in the BIOS?

Another thing to try would be to boot from the Stretch test ISO image and
run the latency test just in case there is a kernel issue of some kind:

www.linuxcnc.org/testing-stretch-rtpreempt/

You can boot and run these images fro a USB stick without disturbing your
current installation
Last edit: 10 Jan 2020 14:58 by PCW.

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

More
10 Jan 2020 19:31 #154570 by tommylight

iam using core 2 duo e5400 oveclocked 3.4ghz with 2gb ram and drivers hbs86h hybrid servo.


No overclocking unless you have a really good cooling on it.
That will activate thermal throttling, that in turn will cause huge latency spikes.

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

Time to create page: 0.388 seconds
Powered by Kunena Forum