- Posts: 1872
- Thank you received: 358
Latency mesage SOLVED !
- pl7i92
- Offline
- Platinum Member
-
Less
More
7 years 1 week ago #148605
by pl7i92
Replied by pl7i92 on topic Latency mesage
ok
your base period shoudt be
BASE_PERIOD = 100000
your settings in HAL per STEPGEN /AXIS
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 45000
setp stepgen.0.dirsetup 45000
if you loadup your ini and hal file we can edit it
your base period shoudt be
BASE_PERIOD = 100000
your settings in HAL per STEPGEN /AXIS
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 45000
setp stepgen.0.dirsetup 45000
if you loadup your ini and hal file we can edit it
- macsddau@linuxcnc
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 29
7 years 1 week ago #148609
by macsddau@linuxcnc
I don't understand why I have to use these values. I make test, compute values with the provided tool and you give me something very different.
Replied by macsddau@linuxcnc on topic Latency mesage
pl7i92 wrote: ok
your base period shoudt be
BASE_PERIOD = 100000
your settings in HAL per STEPGEN /AXIS
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 45000
setp stepgen.0.dirsetup 45000
if you loadup your ini and hal file we can edit it
I don't understand why I have to use these values. I make test, compute values with the provided tool and you give me something very different.
- DomCa
- Offline
- Senior Member
-
Less
More
- Posts: 71
- Thank you received: 6
7 years 1 week ago #148725
by DomCa
Replied by DomCa on topic Latency mesage
Are you using rtpreemt or rtai?
With rtai you should get waayyy better latency values.
With some tuning I got all machines I tested at least under 20.000, some below 10.000 latency.
Regards
Domca
With rtai you should get waayyy better latency values.
With some tuning I got all machines I tested at least under 20.000, some below 10.000 latency.
Regards
Domca
The following user(s) said Thank You: macsddau@linuxcnc
- macsddau@linuxcnc
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 29
7 years 1 week ago #148774
by macsddau@linuxcnc
It is installation with LinuxCNC 2.7.14 live.
Replied by macsddau@linuxcnc on topic Latency mesage
DomCa wrote: Are you using rtpreemt or rtai?
Code:
$uname -a
Linux CNC 4.9.0-11-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64 GNU/Linux
If it is a good solution, I'm very interested but I'm not familiar with Linux. I can't do any things if I don't get a very good step by step installation guide.DomCa wrote: With rtai you should get waayyy better latency values.
Have you got ASRock J3355B mini-ITX mother board running LinuxCNC ? How did you setup the BIOS ?DomCa wrote: With some tuning I got all machines I tested at least under 20.000, some below 10.000 latency.
- taloot
- Offline
- Elite Member
-
Less
More
- Posts: 175
- Thank you received: 89
7 years 2 days ago - 7 years 2 days ago #149087
by taloot
Replied by taloot on topic Latency mesage
i have same problem,, but when i do some latency test im getting about 2.0us
which is consider very good,,,, and im getting this massege ,, mybe becouse the warning designed for rtai and we are using preemptive one...
mybe its appear in all preemptive system
im using debian 64 and linuxcnc 2.8 from master
which is consider very good,,,, and im getting this massege ,, mybe becouse the warning designed for rtai and we are using preemptive one...
mybe its appear in all preemptive system
im using debian 64 and linuxcnc 2.8 from master
Last edit: 7 years 2 days ago by taloot.
- macsddau@linuxcnc
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 29
6 years 2 months ago #178941
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Latency mesage
Hi.
Since a couple of day I have make some changes in the BIOS and in GRUB.
The BIOS :
I revert all changes and then turn off every things that can disturb CPU (power save...).
The GRUB :
it is set like this
Then I have run LatencyTest and LatencyHistogram with 1 YouTube video, 10 GLXGears, CATIA over Play on linux and I get this results :
This results are now pretty good for stepping.
I put the worst result in a temporary StepConf aud Copy the result into my Router Conf.
In the next days I will run LinuxCNC and see what happen with Latency Message.
Since a couple of day I have make some changes in the BIOS and in GRUB.
The BIOS :
I revert all changes and then turn off every things that can disturb CPU (power save...).
The GRUB :
it is set like this
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=1 idle=poll acpi_irq_nobalance noirqbalance"
Then I have run LatencyTest and LatencyHistogram with 1 YouTube video, 10 GLXGears, CATIA over Play on linux and I get this results :
This results are now pretty good for stepping.
I put the worst result in a temporary StepConf aud Copy the result into my Router Conf.
In the next days I will run LinuxCNC and see what happen with Latency Message.
Time to create page: 0.357 seconds