Latency for 7i76E DOES IT REALLY MATTER?
- Tavares
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
09 Jan 2020 08:42 - 09 Jan 2020 08:56 #154418
by Tavares
Latency for 7i76E DOES IT REALLY MATTER? was created 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.
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.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10820
- Thank you received: 3565
09 Jan 2020 08:44 #154419
by rodw
Replied by rodw on topic Latency for 7i76E DOES IT REALLY MATTER?
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.
Your definition of high latency might still be OK.
Please Log in or Create an account to join the conversation.
- Tavares
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
09 Jan 2020 09:00 #154420
by Tavares
Replied by Tavares on topic Latency for 7i76E DOES IT REALLY MATTER?
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.
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.
- PCW
- Away
- Moderator
Less
More
- Posts: 17993
- Thank you received: 4838
09 Jan 2020 16:29 #154456
by PCW
Replied by PCW on topic Latency for 7i76E DOES IT REALLY MATTER?
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
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.
- Tavares
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
09 Jan 2020 16:49 #154458
by Tavares
Replied by Tavares on topic Latency for 7i76E DOES IT REALLY MATTER?
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.
- PCW
- Away
- Moderator
Less
More
- Posts: 17993
- Thank you received: 4838
09 Jan 2020 18:27 #154463
by PCW
Replied by PCW on topic Latency for 7i76E DOES IT REALLY MATTER?
Yow, thats more than 8 ms!
Do you have all power management options turned off in the BIOS?
Do you have all power management options turned off in the BIOS?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4862
09 Jan 2020 20:29 #154483
by andypugh
Replied by andypugh on topic Latency for 7i76E DOES IT REALLY MATTER?
Are you actually using a realtime kernel?
What does uname -a say?
What does uname -a say?
Please Log in or Create an account to join the conversation.
- Tavares
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
10 Jan 2020 07:36 #154530
by Tavares
Replied by Tavares on topic Latency for 7i76E DOES IT REALLY MATTER?
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?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17993
- Thank you received: 4838
10 Jan 2020 14:57 - 10 Jan 2020 14:58 #154552
by PCW
Replied by PCW on topic Latency for 7i76E DOES IT REALLY MATTER?
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
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19524
- Thank you received: 6552
10 Jan 2020 19:31 #154570
by tommylight
No overclocking unless you have a really good cooling on it.
That will activate thermal throttling, that in turn will cause huge latency spikes.
Replied by tommylight on topic Latency for 7i76E DOES IT REALLY MATTER?
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.073 seconds