Another realtime delay question - Mesa card

More
2 years 10 months ago #289488 by tommylight

auto eth1
iface eth1 inet static
   address 10.10.10.10
   hardware-irq-coalesce-rx-usecs 0
Address wrong, anything BUT 10 at the end, from 1 to 254, pick anything, just not 10.

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

More
2 years 10 months ago - 2 years 10 months ago #289504 by chienMouille
Ok, I did that.
I get now (after reboot) 126211 and 86039 jitter on latency test.
Still not great no?

EDIT: I still don't understand how much it matters (like now the servo jitter would be in the range of the timing I set in the ini, which is much higher than the default). Is that OK? When does it become critical? How much the timing of the PC plays in relation to the one of the Mesa card?
Last edit: 2 years 10 months ago by chienMouille.

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

More
2 years 10 months ago #289510 by PCW
The timing servo thread  does not matter much, as long as
jitter plus communication delays do not cause loss of
communications from timeouts or real time delays.

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

More
2 years 9 months ago #289540 by rodw
Looks like this pc only has 2 cores. typing 
echo $(nproc)
will confirm

in the bios, check that cstates is set to the minimum (cstates=1)
Assuming you are using the 2.9.2 ISO on the downloads page, set isolcpus=1
sudo grub-customizer
on the second tab where it says quiet, change it to quiet isolcpus=1
if you can't find cstates in you bios, make it
quiet processor.max_cstate=1 isolcpus=1
Save and reboot

See if latency has improved
 

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

More
2 years 9 months ago - 2 years 9 months ago #289555 by chienMouille
Yes it has only two cores.
I don't seem to find cstate in the bios. Herewith some pictures of all the options. Could you look at it? Maybe I'm doing something stupid in there.

I have linuxcnc 2.9.1 should I updgrade? the grub-customizer command doesnt exist for me.thanks!  


Last edit: 2 years 9 months ago by chienMouille.

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

More
2 years 9 months ago #289556 by Mecanix
Neither have grub-customizer (bone-stock ootb install). In that case just manually edit it. 
Code:
$ sudo nano /etc/default/grub     #GRUB_CMDLINE_LINUX_DEFAULT="quiet"     GRUB_CMDLINE_LINUX_DEFAULT="quiet processor.max_cstate=1 isolcpus=1" $ sudo update-grub $ sudo reboot

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

Time to create page: 0.079 seconds
Powered by Kunena Forum